PHP code example of gfcd / laravel-query-builder-api

1. Go to this page and download the library: Download gfcd/laravel-query-builder-api 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/ */

    

gfcd / laravel-query-builder-api example snippets


/api/users?filter={name=se*,age!=18}&order_by=age,asc&limit=2&columns=name,age,city_id&

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