Download the PHP package pepperfm/api-responder-for-laravel without Composer
On this page you can find all versions of the php package pepperfm/api-responder-for-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pepperfm/api-responder-for-laravel
More information about pepperfm/api-responder-for-laravel
Files in pepperfm/api-responder-for-laravel
Package api-responder-for-laravel
Short Description Easy api responder template using via DI
License MIT
Homepage https://github.com/pepperfm/api-responder-for-lravel
Informations about the package api-responder-for-laravel
Api responder for Laravel
Easy api responder template using via DI
Installation
You can install the package via composer:
Usage
Simply using by laravel DI features.
In use section:
use Pepperfm\ApiBaseResponder\Contracts\ResponseContract;
Then any options you like:
for pagination
with some data mapping
or
or
Or would you prefer facades?
or
Paginated in response
The helper-function paginate
accepts one argument of LengthAwarePaginator
type in backend and returns object of format:
//: # ()
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
- Dmitry Gaponenko
- 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.
All versions of api-responder-for-laravel with dependencies
guzzlehttp/guzzle Version ^7.8
guzzlehttp/psr7 Version ^2.6
illuminate/database Version >=10.0
illuminate/http Version >=10.0
illuminate/support Version >=10.0