pika/api-query-builder-laravel

API QUERY Builer for laravel framework

Installs: 64

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/pika/api-query-builder-laravel

dev-master 2019-05-20 17:01 UTC

This package is auto-updated.

Last update: 2025-12-22 00:02:35 UTC


README

Firstly, edit your composer.json file:

"require": {
    "pika/api-query-builder-laravel": "~1.0"
}

Then, run this command on the terminal

composer update

Service Provider

For Laravel:

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

'Pika\Api\ApiQueryBuilderServiceProvider',

For Lumen: Add these lines into bootstrap/app.php

$app->withFacades();
$app->withEloquent();
$app->register(Pika\Api\LumenServiceProvider::class);

Configuration File

If you use Lumen please skip this step

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

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

Gallery copy from library https://github.com/selahattinunlu/laravel-api-query-builder.

Since the library does not update. Any questions mailed to longvan1296@gmail.com.om.