Download the PHP package martinbean/eloquent-singular-table-names without Composer
On this page you can find all versions of the php package martinbean/eloquent-singular-table-names. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download martinbean/eloquent-singular-table-names
More information about martinbean/eloquent-singular-table-names
Files in martinbean/eloquent-singular-table-names
Download martinbean/eloquent-singular-table-names
More information about martinbean/eloquent-singular-table-names
Files in martinbean/eloquent-singular-table-names
Vendor martinbean
Package eloquent-singular-table-names
Short Description Makes Eloquent models use singular (rather than plural) table names by default.
License MIT
Package eloquent-singular-table-names
Short Description Makes Eloquent models use singular (rather than plural) table names by default.
License MIT
Please rate this library. Is it a good library?
Informations about the package eloquent-singular-table-names
Eloquent singular table names
Makes Eloquent models use singular (rather than plural) table names by default.
Usage
Simple apply the trait to your Eloquent model:
The default table name will be user
now, rather than users
.
If you wish to use singular table names for all of your models, then you can create an abstract class that implements the trait, and have all of your models extend that class:
All versions of eloquent-singular-table-names with dependencies
PHP Build Version
Package Version
The package martinbean/eloquent-singular-table-names contains the following files
Loading the files please wait ....