Download the PHP package egeatech/laravel-models without Composer
On this page you can find all versions of the php package egeatech/laravel-models. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download egeatech/laravel-models
More information about egeatech/laravel-models
Files in egeatech/laravel-models
Package laravel-models
Short Description A package to better handle database operations via Eloquent Models.
License MIT
Homepage https://github.com/EgeatechSRL/laravel-models
Informations about the package laravel-models
Laravel Exceptions
A package to help handling Model CRUD operations.
Installation
This package now supports only Laravel 9, therefore requiring at least PHP 8.0. Support for PHP 7.4 is valid up to package version 2.3.3.
Via Composer
Usage
This package exposes an interface to manipulate database data, by using an implementation of the repository data pattern.
We provide both an interface and an abstract implementation to be extended.
To develop APIs, the abstract class references Spatie Query Builder library
for the find
and index
methods (for more details take a look at the source code).
To identify primary keys of eloquent Model classes, we also developed an IdentifierInterface
(with an abstract class
to be extended for specific needs) which is used by the BaseRepository
when dealing with specific entity operations,
such as update, delete or find.
At the moment we only support int
or string
PKs, composite keys support is not in the plan.
Change log
Please see the CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email author email instead of using the issue tracker.
Credits
- Egea Tecnologie Informatiche
- Marco Guidolin
License
The software is licensed under MIT. Please see the LICENSE file for more information.
All versions of laravel-models with dependencies
illuminate/support Version ^6|^7|^8|^9|^10
egeatech/laravel-requests Version ^3.0
spatie/laravel-query-builder Version ^5.0
spatie/laravel-json-api-paginate Version ^1.10