PHP code example of mahmoud-birdsol / api-responses
1. Go to this page and download the library: Download mahmoud-birdsol/api-responses library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mahmoud-birdsol / api-responses example snippets
$xslt
php artisan vendor:publish --provider="Alacrity\Responses\Providers\ResponseServiceProvider"
$xslt
/**
* Pagination config variables.
*/
'pagination_adapter' => \League\Fractal\Pagination\IlluminatePaginatorAdapter::class,
'pagination_request_key' => 'paginate',