Skip to content
Selahattin edited this page Oct 5, 2015 · 9 revisions

Firstly, edit your composer.json file:

"require": {
  "unlu/laravel-api-query-builder": "1.0.0-beta"
}

Then, run this command on the terminal

composer update

Service Provider

Add this line into config/app.php file's providers

'Unlu\Laravel\Api\ApiQueryBuilderServiceProvider',

Configuration File

If you want to change default limit and orderBy parameters, run this command on the terminal:

php artisan vendor:publish --provider="Unlu\Laravel\Api\ApiQueryBuilderServiceProvider"

Clone this wiki locally