Download the PHP package artisanbr/generic-model without Composer
On this page you can find all versions of the php package artisanbr/generic-model. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package generic-model
Laravel Generic Models
Este pacote provê a criação de Models Genéricas baseadas na estrutura do Eloquent do Laravel com melhorias e adaptações do pacote jenssegers/model.
Instalação
Versões
Tabela de Versões
Laravel Version | Package Version |
---|---|
9 & 10 | v1.0.0 |
11 | v2.0.0 |
Features e Adaptações
- Accessors e mutators
- Conversão de Model para Array e JSON
- Hidden attributes nas conversões para Array/JSON
- Guarded e fillable attributes
- Appends accessors e mutators nas conversões para Array/JSON
- Casting de Attributes
Você pode saber mais sobre os recursos originais do Eloquent Model em https://laravel.com/docs/eloquent
Exemplo
Baseado e Adaptado de https://github.com/jenssegers/model
All versions of generic-model with dependencies
PHP Build Version
Package Version
Requires
illuminate/contracts Version
^5.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/database Version ^4.0|^5.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/support Version ^4.0|^5.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/database Version ^4.0|^5.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/support Version ^4.0|^5.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
The package artisanbr/generic-model contains the following files
Loading the files please wait ....