$ mkdir directory && cd directory
$ git clone [email protected]:travoltron/skeleton.git .
$ php prefill.php
$ rm -rf .git*
$ git init
$ git add --all
$ git commit -m "first commit"
$ git remote add origin [email protected]::vendor/:package_name.git
$ git push -u origin master
This assumes you have created an empty repository at Github. Change to suit your own needs. -travoltron
For people hosting private packages on Github: you can add your token to Composer and include the packages like normal. You just need to tag the release and include this in your composer.json
:
"require": {
"php": ">=5.6.4",
":vendor/:package_name": "0.0.1"
},
"repositories": [
{
"type": "vcs",
"url": "[email protected]::vendor/:package_name.git"
}
],
In the file config/app.php
, find the 'providers'
array and insert
:Vendor\SkeletonClass\SkeletonServiceProvider::class
.
Now the commands are registered, as well as the routes.
If you plan on making a static class, you can add the :Skeleton class to the aliases
array in the same file.
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.
Via Composer
$ composer require :vendor/:package_name
$skeleton = new League\Skeleton();
echo $skeleton->echoPhrase('Hello, League!');
Please see CHANGELOG for more information on what has changed recently.
$ composer test
Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please email :author_email instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.