PHP code example of webmonks / laravel-api-modules

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

    

webmonks / laravel-api-modules example snippets

bash
php artisan make:module Blog --resource
# for Laravel api resource  

app/
  Core/
    Interfaces/
    Providers/
    Services/
    Traits/
  Helpers/
    AutoloadFiles/
  Modules/
    Blog/
      Controllers/
      Models/
      Requests/
      Repositories/
      Services/
      routes.php
config/
  laravel-api-modules.php
database/
  migrations/