PHP code example of dotswan / modules-auto-discover

1. Go to this page and download the library: Download dotswan/modules-auto-discover 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/ */

    

dotswan / modules-auto-discover example snippets


// Accessing a configuration value from your module
$value = config('permission.key');`