PHP code example of islamwalied / one-click-module

1. Go to this page and download the library: Download islamwalied/one-click-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/ */

    

islamwalied / one-click-module example snippets


   return [
       App\Providers\ModuleServiceProvider::class,
       Modules\{Module}\Providers\{Module}ServiceProvider::class,
       Modules\{Module}\Providers\RepositoryServiceProvider::class,
       Modules\{Module}\Providers\ServiceServiceProvider::class,
   ];
   

'daily_by_date' => [
    'driver' => 'custom',
    'via' => App\Logging\LogHandler::class,
    'level' => 'error',
],
bash
composer dump-autoload
php artisan cache:clear
php artisan config:clear
php artisan config:cache
php artisan route:clear
php artisan route:cache
php artisan optimize:clear
php artisan optimize
bash
php artisan make:module {module} {entity}
bash
php artisan make:module Utilities Country
bash
php artisan delete:module {module} {entity}
bash
php artisan make:publish-helpers
php artisan make:publish-logging
php artisan make:publish-middleware
php artisan make:publish-traits
bash
   php artisan migrate