widdy/laravel-model

There is no license information available for the latest version (0.9.0) of this package.

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

Installs: 10

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/widdy/laravel-model

0.9.0 2018-12-29 06:32 UTC

This package is auto-updated.

Last update: 2025-10-12 06:53:12 UTC


README

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' => 'foo@bar.com'])->save();
model('users', ['email' => 'foo@bar.com'])->save();