Setup:
$ git clone --depth=1 https://github.com/nikolaposa/php-package-skeleton my-library
$ cd my-library
$ rm -rf .git
- Replace
:author_name
:author_username
:author_email
:package_name
:package_description
with their correct values in README.md, CHANGELOG.md, CONTRIBUTING.md, LICENSE, composer.json and phpunit.xml.dist files either manually or by running$ php prefill.php
in the command line. $ composer install
- Delete this paragraph and prefill.php.
This is where your library description should be.
The preferred method of installation is via Composer. Run the following command to install the latest version of a package and add it to your project's composer.json
:
composer require arbor-education/:package_name
$example = new PackageSkeleton\Example();
echo $example->say('Hello');
Released under MIT License - see the License File for details.