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 Auditing Record the Changelog from Models
icon-eye-dark Created with Sketch. 1.233
Laravel DB Redirector Manage redirects using database rules
icon-eye-dark Created with Sketch. 511
Sentry for Laravel Laravel Application Monitoring
❤️ Sponsored by Friends
We’re hosting on Digital Ocean! 💙 Try it today and get a free $100 credit.
Laravel Orion REST API Builder
icon-eye-dark Created with Sketch. 3.752
Laravel Decorator Decorate your Method Calls
icon-eye-dark Created with Sketch. 3.189