Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

## A Light Tool for PHP Command Line Interface

This tool or is example and bootstrap for CLI part of your project. You can fork and send pull request. I want to keep simple.

Usage

You can use following line to run a parameter:

> php -c service/php.ini service/bootstrap.php parameter1 index
Running from CLI
parameter1 file index method is runned! Args : a:0:{}
> php -c service/php.ini service/bootstrap.php parameter1 index param1 param2
Running from CLI
parameter1 file index method is runned! Args : a:2:{i:0;s:6:"param1";i:1;s:6:"param2";}
>

To run script with while loop, use the following script.

php -c service/php.ini service/bootstrap.php as_a_service parameter1 index

About

PHP light CLI Application Example

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.