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 Updater Update your Laravel Project with One Command
icon-eye-dark Created with Sketch. 1.658
Laravel Abuse IP Restrict Spam Requests
icon-eye-dark Created with Sketch. 1.360
Sentry for Laravel Laravel Application Monitoring
❤️ Sponsored by Friends
We’re hosting on Digital Ocean! 💙 Try it today and get a free $100 credit.
LaraPersonate Login as different users
icon-eye-dark Created with Sketch. 2.008
Laravel DB Redirector Manage redirects using database rules
icon-eye-dark Created with Sketch. 366