Download the PHP package biscofil/laravel-submodels without Composer
On this page you can find all versions of the php package biscofil/laravel-submodels. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download biscofil/laravel-submodels
More information about biscofil/laravel-submodels
Files in biscofil/laravel-submodels
Download biscofil/laravel-submodels
More information about biscofil/laravel-submodels
Files in biscofil/laravel-submodels
Vendor biscofil
Package laravel-submodels
Short Description Create Laravel submodels
License mit
Homepage https://github.com/biscofil/laravelsubmodels
Package laravel-submodels
Short Description Create Laravel submodels
License mit
Homepage https://github.com/biscofil/laravelsubmodels
Please rate this library. Is it a good library?
Informations about the package laravel-submodels
Laravel Submodels
Create submodels in Laravel
Installation
Via Composer
Usage
In order to accomplish this result, each Model that has to be extended must implement getSubModelClass
that returns the right class depending on conditions.
On the other side, each sub model can add the appendedFillable
PRIVATE property that contains the list of fillable parameters.
This list will be merged with the list of the parent class.
The same happens for the appendedCasts
array.
Credits
- Filippo Bisconcin
- All Contributors
License
license. Please see the license file for more information.
All versions of laravel-submodels with dependencies
PHP Build Version
Package Version
Requires
illuminate/database Version
~5.6.0|~5.7.0|~5.8.0|^6.0.0
The package biscofil/laravel-submodels contains the following files
Loading the files please wait ....