PHP code example of grabmy / laravel-api-builder

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

    

grabmy / laravel-api-builder example snippets

 shell
php artisan list
 shell
php artisan make:api ./api.json
 shell
php artisan migrate fresh