Download the PHP package oliverkuches/cilex7 without Composer
On this page you can find all versions of the php package oliverkuches/cilex7. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download oliverkuches/cilex7
More information about oliverkuches/cilex7
Files in oliverkuches/cilex7
Package cilex7
Short Description The a form of the PHP micro-framework for Command line tools based on the Symfony2 Components
License MIT
Homepage http://cilex.github.com
Informations about the package cilex7
Cilex, a simple Command Line Interface framework
This project is a fork of the existing Cilex project, and aims to add support for PHP 7 & later Symfony versions.
Cilex is a simple command line application framework to develop simple tools based on Symfony2 components:
Cilex works with PHP 7.3 or later and is heavily inspired by the Silex web micro-framework by Fabien Potencier.
Installation
git clone
this repository.- Download composer:
curl -s https://getcomposer.org/installer | php
- Install Cilex' dependencies:
php composer.phar install
Usage
- Create your new commands in
src/Cilex/Command/
- Add your new commands to
bin/run.php
- Run the commands as:
Creating a PHAR
-
Download and install box:
- Update the project phar config in box.json
-
Create the package:
-
Run the commands:
- enjoy a lot.
License
Cilex is licensed under the MIT license.
FAQ
Q: How do I pass configuration into the application?
A: You can do this by adding the following line, where $configPath is the path to the configuration file you want to use:
The formats currently supported are: YAML, XML and JSON
All versions of cilex7 with dependencies
pimple/pimple Version ^3.0
silex/api Version ^2.0
symfony/process Version >=4.2
symfony/console Version >=4.2
symfony/event-dispatcher Version >=4.2