PHP code example of sachoo / phalcon-console
1. Go to this page and download the library: Download sachoo/phalcon-console 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/ */
sachoo / phalcon-console example snippets
'commandsToEnable' => [
\Phalcon\Commands\Builtin\Info::class,
\Phalcon\Commands\Builtin\Enumerate::class,
\Phalcon\Commands\Builtin\Migration::class,
\Phalcon\Commands\Builtin\ClearCache::class,
\Commands\MyCommand::class
],
bash
php composer.phar install
bash
./console.php