made with Laravel

Sushi

Eloquent's Missing "Array" Driver

Visit Site

Description

Eloquent's Missing "Array" Driver

"Sometimes you just want to use Laravel Eloquent without a database!

Add the Sushi trait and $rows property to the model to use this model anywhere you like. It will behave as if you created a table with the rows you provided."


Creator

Caleb Porzio
@calebporzio


Social Media Links

Laravel Config Checker Check for Invalid Configuration File References
icon-eye-dark Created with Sketch. 348
Laravel Excel Supercharged Excel Exports and Imports
icon-eye-dark Created with Sketch. 2.114
Sentry for Laravel Laravel Application Monitoring
❤️ Sponsored by Friends
We’re hosting on Digital Ocean! 💙 Try it today and get a free $100 credit.
Json 2 DTO Generate Data Transfer Objects from JSON objects
icon-eye-dark Created with Sketch. 5.017
Stethoscope Infrastructure Monitoring Package
icon-eye-dark Created with Sketch. 1.232