PHP code example of flipbox / lumen-generator
1. Go to this page and download the library: Download flipbox/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/ */
flipbox / lumen-generator example snippets
$app->register(Flipbox\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>");