Download the PHP package forecho/laravel-repository without Composer
On this page you can find all versions of the php package forecho/laravel-repository. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download forecho/laravel-repository
More information about forecho/laravel-repository
Files in forecho/laravel-repository
Package laravel-repository
Short Description Base repository implementation for Laravel
License MIT
Homepage https://github.com/forecho/laravel-repository
Informations about the package laravel-repository
Laravel Repository
The Laravel Repository package is meant to be a generic repository implementation for Laravel.
Installation
You can install the package via composer:
Usage
Create a repository class:
Use the repository in your controller:
Criteria
Create a criteria class:
Request all data without filter by request:
http://127.0.0.1:8000/api/posts
http://127.0.0.1:8000/api/posts?title=for
http://127.0.0.1:8000/api/posts?status=0
http://127.0.0.1:8000/api/posts?title=for&status=0
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
- forecho
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.