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 Location Sort countries, states and cities
icon-eye-dark Created with Sketch. 3.082
Laravel Config Checker Check for Invalid Configuration File References
icon-eye-dark Created with Sketch. 126
Sentry for Laravel Laravel Application Monitoring
❤️ Sponsored by Friends
Discover UI Kits, Templates & Themes for Vue.js by Creative Tim!
Duster Automatic Configuration of Tighten's Default Code Style
icon-eye-dark Created with Sketch. 565
Laradock Docker PHP Development Environment
icon-eye-dark Created with Sketch. 2.720