PHP code example of kukuhkkh / lumen-generator
1. Go to this page and download the library: Download kukuhkkh/lumen-generator 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/ */
kukuhkkh / lumen-generator example snippets
$app->register(Kukuhkkh\LumenGenerator\LumenGeneratorServiceProvider::class);
$environment = app()->environment();
$output = new Symfony\Component\Console\Output\ConsoleOutput();
$output->writeln("<info>Hello the app environment is `{$environment}`</info>");
$output->writeln("<comment>Did something</comment>");
$output->writeln("<error>Did something bad</error>");