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

Blueprint Code Generation Tool
icon-eye-dark Created with Sketch. 4.653
Footprints 🐾 UTM and Referrer Tracking
icon-eye-dark Created with Sketch. 2.020
Sentry for Laravel Laravel Application Monitoring
❤️ Sponsored by Friends
Laravel Sent Emails Record & view sent Emails
icon-eye-dark Created with Sketch. 2.183
Laravel Kafka Kafka Driver for Laravel
icon-eye-dark Created with Sketch. 1.278
LdapRecord Laravel Multi-domain LDAP Authentication & Management
icon-eye-dark Created with Sketch. 3.276