PHP code example of red-freak / modular-monolith-laravel-env
1. Go to this page and download the library: Download red-freak/modular-monolith-laravel-env 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/ */
red-freak / modular-monolith-laravel-env example snippets
// replace
5: use Illuminate\Foundation\Http\Kernel as HttpKernel;
// with
5: use RedFreak\ModularEnv\Foundation\Http\Kernel as HttpKernel;
// replace
6: use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
// with
6: use RedFreak\ModularEnv\Foundation\Console\Kernel as ConsoleKernel;