chiron/app-cli

Chiron Skeleton Console Application

Fund package maintenance!
ncou

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Type:project

1.0.3 2021-08-04 15:28 UTC

This package is auto-updated.

Last update: 2024-11-04 22:58:24 UTC


README

If you do not have Composer, you may install it by following the instructions at getcomposer.org.

You can then install this project template using the following command:

$ composer create-project chiron/app-cli [my-app-name]

Replace [my-app-name] with the desired directory name for your new application.

Cloning

This section applies only if you cloned this repo with git clone, not when installed with composer create-project ....

Make sure to properly install composer dependencies if you cloned the existing repository.

$ composer install                      # Install the projet composer dependencies

Command Line

To start application console execute:

$ php app.php quote

This will generate a random quote from Terry Pratchett books. Read more about the quotes here.

Testing

To test an application:

$ ./vendor/bin/phpunit

or

$ composer phpunit

License

This package is open-sourced software licensed under the MIT license.