LaravelPackages.net
Acme Inc.
Toggle sidebar
widdy/laravel-model

a simple way to create a new Eloquent model with given table name.

10
1
0.9.0
About widdy/laravel-model

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

laravel-model

a simple way to create a new Eloquent model with given table name.

Requirements

  • laravel >=5.5

Installation

$ composer require widdy/laravel-model

Examples

model('users')::find(1);
model('users')->fill(['email' => '[email protected]'])->save();
model('users', ['email' => '[email protected]'])->save();

Star History Chart