1. Go to this page and download the library: Download cesargb/laravel-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/ */
cesargb / laravel-modules example snippets
use Cesargb\Modules\Modules;
Modules::all(); // all modules
Modules::installed(); // installed modules
Modules::uninstalled(); // uninstalled modules
Modules::get('my-module'); // specific module
Modules::isInstalled('my-module');
Modules::install('my-module');
Modules::uninstall('my-module');