Package Data | |
---|---|
Maintainer Username: | Krenor |
Maintainer Contact: | stanislav.goldmann@gmail.com (Stanislav Goldmann) |
Package Create Date: | 2016-12-20 |
Package Last Update: | 2016-12-20 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-22 03:05:48 |
Package Statistics | |
---|---|
Total Downloads: | 0 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 1 |
You can install this package via composer using this command:
composer require krenor/skippy
// config/app.php
'providers' => [
...
Skippy\Providers\SkippyServiceProvider::class,
]
php artisan vendor:publish --provider="Skippy\Providers\SkippyServiceProvider"
// config/app.php
'aliases' => [
...
'Skippy' => Skippy\Facades\Skippy::class,
],
// bootstrap/app.php
$app->register(Skippy\Providers\SkippyServiceProvider::class);
You can copy the content of the base configuration file and adjust it to your needs.
// bootstrap/app.php
$app->configure('skippy');
// bootstrap/app.php
class_alias(Skippy\Skippy::class, 'Skippy');
$profile = $this->createMagicalProfile();
$message = [
'id' => Uuid::generate(4)->string,
'cids' => [
Uuid::generate(4)->string,
],
'type' => 'new-magical-profile',
'version' => '1.0.0',
'body' => $profile,
];
Skippy::send($message)->publish('magical-profile-created');
Document any changes - Make sure the README.md
and any other relevant documentation are kept up-to-date.
Create feature branches - Use git checkout -b my-new-feature
One pull request per feature - If you want to do more than one thing, send multiple pull requests.
Send coherent history - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please squash them before submitting.
skippy is distributed under the terms of the MIT license