PHP code example of froeschke / modular-laravel

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

    

froeschke / modular-laravel example snippets

bash
php artisan modules:install
bash
php artisan vendor:publish --provider="Froeschke\ModularLaravel\ModularLaravelServiceProvider"
bash
php artisan modules:create ModuleName
bash
php artisan modules:fix
xml
<testsuites>
    <testsuite name="Unit">
        <directory suffix="Test.php">./modules/**/Tests/Unit</directory>
    </testsuite>
    <testsuite name="Feature">
        <directory suffix="Test.php">./modules/**/Tests/Feature</directory>
    </testsuite>
</testsuites>