a simple way to create a new Eloquent model with given table name.
widdy/laravel-model is a Laravel package for a simple way to create a new eloquent model with given table name..
It currently has 1 GitHub stars and 10 downloads on Packagist (latest version 0.9.0).
Install it with composer require widdy/laravel-model.
Discover more Laravel packages by widdy
or browse all Laravel packages to compare alternatives.
Last updated
a simple way to create a new Eloquent model with given table name.
$ composer require widdy/laravel-model
model('users')::find(1);
model('users')->fill(['email' => '[email protected]'])->save();
model('users', ['email' => '[email protected]'])->save();