Download the PHP package sfneal/models without Composer
On this page you can find all versions of the php package sfneal/models. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sfneal/models
More information about sfneal/models
Files in sfneal/models
Package models
Short Description Eloquent Model wrapper with extended functionality
License MIT
Homepage https://github.com/sfneal/models
Informations about the package models
Eloquent Models - extended
Eloquent Model wrapper with extended functionality.
Installation
You can install the package via composer:
Usage
Models
AbstractModel
, AbstractPivot
, & AbstractAuthenticatable
can be used as parent classes the same way Eloquent's Model
, Pivot
& Authenticatable
can be used. AbstractModel
uses Sfneal\Builders\QueryBuilder
as the default Eloquent Query Builder (see sfneal/builders.
Models that extend the AbstractModel
class will have access to a variety of public access to a variety of methods that extends many of Models
existing functionality's.
- 'Newness' - methods to detetmine if a Model is new (useful for apps with CMS) or how new a model is
- 'Changed' - methods to check if a Model was recently created, updated, deleted or unchanged
Builders
Add the custom QueryBuilder to any Eloquent model by overwriting the built-in newEloquentBuilder() & query() methods.
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Stephen Neal
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
PHP Package Boilerplate
This package was generated using the PHP Package Boilerplate.
All versions of models with dependencies
laravel/framework Version ^9.0|^10.0|^11.0
sfneal/actions Version ^2.0
sfneal/laravel-helpers Version ^2.0
sfneal/redis-helpers Version ^1.2|^2.0|^3.0
sfneal/string-helpers Version >=1.1.4