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.

Maintainers

Package info

github.com/widdy/laravel-model

pkg:composer/widdy/laravel-model

Statistics

Installs: 10

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

0.9.0 2018-12-29 06:32 UTC

This package is auto-updated.

Last update: 2026-03-12 07:43:59 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();