ypppa / model
Abstract Eloquent style Model.
v1.4.0
2019-05-22 06:59 UTC
Requires
- php: >=7.1
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-09-13 05:35:35 UTC
README
This model provides an eloquent-like base class that can be used to build custom models in Laravel or other frameworks.
Features
- Accessors and mutators
- Model to Array and JSON conversion
- Hidden attributes in Array/JSON conversion
- Appending accessors and mutators to Array/JSON conversion
- Guard/Unguard attributes from mass assign
- Attribute casting
- Control attributes case in Array/JSON representation
You can read more about these features and the original Eloquent model on http://laravel.com/docs/eloquent