PHP code example of probonolabs / laravel-api-generator

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

    

probonolabs / laravel-api-generator example snippets

bash
php artisan make:api Student
bash
php artisan make:api Student/Training
bash
php artisan make:api Student --routes