Template project for creating console base applications including .phar
builds.
License: MIT
Create your new project by using the template repository:
composer create-project sweikenb/console-framework-standard ./my-project-dir
If you want to use the process manager functionality for process forking, please also install the pcntl library when you are in your new projects root-directory:
cd ./my-project-dir
composer require sweikenb/pcntl
Please have a look at the framework documentation for more details.
Please note that you have to enable the phar-extension of PHP and also need to set this in your php.ini
:
phar.readonly = 0
If you are using the suhosin extension, please also whitelist the phar extension:
suhosin.executor.include.whitelist = "phar"
php bin/console core:compile "my-application.phar" --executable