Download the PHP package crodas/cli without Composer
On this page you can find all versions of the php package crodas/cli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor crodas
Package cli
Short Description Simple and silly abstraction on top of symfony/console
License BSD-4-Clause
Package cli
Short Description Simple and silly abstraction on top of symfony/console
License BSD-4-Clause
Please rate this library. Is it a good library?
Informations about the package cli
cli
Simple and silly abstraction on top of symfony/console
How does it work?
The main goal is to give a generic and extensible way of registering console applications.
The application itself should like like this (cli.php
).
Then inside apps/
we could have apps/cli/foobar.php
and it should look like this:
Now we can easily do php cli.php foobar
, foobar_main
function would be called.
Benefits
- Console applications are discovered
- No autoloader needed
- No conventions to follow
- It can use some cache function to avoid scanning lots of directories and files everytime.
- Annotations :-)
- Plugins support
@One
or@Crontab
make sure your command runs just once
All versions of cli with dependencies
PHP Build Version
Package Version
Requires
symfony/console Version
>=2.7
crodas/notoj Version >=1.6.0
crodas/class-info Version >=0.2.3
crodas/file-util Version >=0.1
crodas/remember Version >=0.4.2
crodas/notoj Version >=1.6.0
crodas/class-info Version >=0.2.3
crodas/file-util Version >=0.1
crodas/remember Version >=0.4.2
The package crodas/cli contains the following files
Loading the files please wait ....