Download the PHP package cilex/cilex without Composer
On this page you can find all versions of the php package cilex/cilex. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package cilex
Short Description The PHP micro-framework for Command line tools based on the Symfony2 Components
License MIT
Homepage http://cilex.github.com
Informations about the package cilex
Cilex, a simple Command Line Interface framework
Cilex is a simple command line application framework to develop simple tools based on Symfony2 components:
Cilex works with PHP 5.5.9 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 cilex with dependencies
pimple/pimple Version ^3.0
silex/api Version ^2.0
symfony/process Version ^2.7 || ^3.0
symfony/console Version ^2.7 || ^3.0
symfony/event-dispatcher Version ^2.7 || ^3.0