PHP code example of manufacturing-industry / perseus
1. Go to this page and download the library: Download manufacturing-industry/perseus 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/ */
manufacturing-industry / perseus example snippets
//commands is an array of class names that are symfony console commands in the perseus namespace
$commands = array('TestCommand', 'TestCommand2', 'AnotherCommand');
new Perseus($commands);
php <myfile.php>
php console.php testcommand1:task1
php console.php testcommand2:update
php console.php another:run