PHP code example of kascat / easy-module

1. Go to this page and download the library: Download kascat/easy-module 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/ */

    

kascat / easy-module example snippets


Kascat\EasyModule\Core\ModularServiceProvider::class

'providers' => [
    // ...Outros providers existentes

    Kascat\EasyModule\Core\ModularServiceProvider::class
]

Kascat\EasyModule\Core\ModularCommandServiceProvider::class

'providers' => [
    // ...Outros providers existentes

    Kascat\EasyModule\Core\ModularCommandServiceProvider::class
]
shell
php artisan easy:module sample -O
text
> modules
  > Samples
      api.php
      Sample.php
      SampleController.php
      SampleRepository.php
      SampleRequest.php
      SampleResponse.php
      SampleService.php