alnutile / example_cli
Foo
Requires
- php: ~5.6|~7.0
- larapack/dd: 1.*
- mnapoli/silly: ^1.5
- mnapoli/silly-pimple: ^1.0
- symfony/console: ~3.2
- symfony/process: ~3.2
- symfony/yaml: ^3.2
- vlucas/phpdotenv: ^2.4
Requires (Dev)
- mockery/mockery: 0.9.*
- phpunit/phpunit: ~4.0||~5.0||~6.0
- squizlabs/php_codesniffer: ^2.3
This package is auto-updated.
Last update: 2024-11-06 09:40:18 UTC
README
Note: Replace Al Nutile
alnutile
https://github.com/alnutile
alfrednutile@gmail.com
alnutile
example
Foo
with their correct values in README.md, CHANGELOG.md, CONTRIBUTING.md, LICENSE.md and composer.json files, then delete this line. You can run $ php prefill.php
in the command line to make all replacements at once. Delete the file prefill.php as well.
This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.
This will create a CLI foundation using Silly
It is based off the thephpleague/skeleton library
THIS IS 99% BASED ON https://github.com/thephpleague/skeleton TOTALLY APPRECIATE THEIR WORK
Structure
If any of the following are applicable to your project, then the directory structure should follow industry best practises by being named the following.
bin/
config/
src/
tests/
vendor/
Install
Via Composer
$ composer require alnutile/example
Global Install Notes
This is how a user can install this for a reliable global install:
Usage
$skeleton = new Alnutile\Example(); echo $skeleton->echoPhrase('League!', 'Hello');
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
if you get an error change the extend of
src/SkeletonClass.php
to\PHPUnit\Framework\TestCase
your install might have setup PHPUnit 6
$ composer test
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Security
If you discover any security related issues, please email alfrednutile@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.