sweikenb/console-framework-standard

Sample console application build with sweikenb/console-framework.

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 0

Type:project

pkg:composer/sweikenb/console-framework-standard

v0.4.0 2022-08-04 16:52 UTC

This package is auto-updated.

Last update: 2025-10-05 00:24:27 UTC


README

Template project for creating console base applications including .phar builds.

License: MIT

Using this template for project creation

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

Getting started

Please have a look at the framework documentation for more details.

Bundle your application into a single file

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"

Create the executable

php bin/console core:compile "my-application.phar" --executable