PHP code example of dd01-hotel / l5-swagger

1. Go to this page and download the library: Download dd01-hotel/l5-swagger 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/ */

    

dd01-hotel / l5-swagger example snippets


php artisan l5-swagger:generate Http/Api app.json
 
http://xx.com/api/docs?file=app.json