Download the PHP package in2pire/cli without Composer
On this page you can find all versions of the php package in2pire/cli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package cli
IN2PIRE CLI FRAMEWORK
A Simple PHP CLI Framework provides
Installation
Add to your composer.json and run
Structure
- Application
- Command
- Task
TBD
Constants
- : Your app name
- : Path to your cli application
- : Path to directory that stores config files for your application
How to build your cli application
- Create project with composer and prepare all the information (or add to your composer.json)
- Prepare config directory and config files. The directory must be inside the project.
- Create your cli application. Define needed constants
- Add command and task
For examples
How to compile your cli application
The compiler is distributed in installation directory of . It uses Phar to put entire application into a single file for easy distribution and installation
Arguments
- : The path to config directory of your cli application
- : The path to main executable of your cli application
- : Do not compress php files
- : Do not optimize class loaders
- : Do not add .phar extension
- : Create executable file
Requirements
- You need to run compiler in your git repository. It helps to detect application version
- You need Phar in order to compile your application
- or is required if you want to reduce size of your binary file
For example, in . The binary is compiled by running
Examples
Dependencies
- PHP >= 5.4
- Symfony YAML (symfony/yaml) >= 2.6
- Symfony Console (symfony/console) >= 2.6
- IN2PIRE Utilities (in2pire/utility) stable version}
Roadmap
- Better documentation
- Official website
- Generator that helps to create class and config files
- Improve compiler to detect config directory
All versions of cli with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4
symfony/yaml Version 2.7.x
symfony/console Version 2.7.x
in2pire/utility Version >=1.0.3
symfony/yaml Version 2.7.x
symfony/console Version 2.7.x
in2pire/utility Version >=1.0.3
The package in2pire/cli contains the following files
Loading the files please wait ....