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 Populated Factory Generate populated factories for models
icon-eye-dark Created with Sketch. 767
Laravel Data Powerful Data Objects for Laravel
icon-eye-dark Created with Sketch. 1.330
Sentry for Laravel Laravel Application Monitoring
❤️ Sponsored by Friends
Discover UI Kits, Templates & Themes for Vue.js by Creative Tim!
Version Laravel App Versioning
icon-eye-dark Created with Sketch. 1.852
World List of Countries, States, Cities, Timezones & Currencies
icon-eye-dark Created with Sketch. 2.541