Skip to content

Commit d841958

Browse files
authored
Merge pull request #2 from webkod3r/universal-service-provider
Universal service provider
2 parents d0018c7 + a91de3f commit d841958

4 files changed

Lines changed: 16 additions & 7 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ Via Composer
2727
$ composer require webkod3r/laravel-swivel
2828
```
2929

30+
Rgister the new service provider in your application:
31+
32+
```php
33+
$app->register(LaravelSwivel\SwivelServiceProvider::class);
34+
```
35+
3036
After installing the package you can copy the default configuration and replace
3137
it with your own. In order to do that copy the file inside
3238
`vendor/webkod3r/laravel-swivel/config/swivel.php` into your onw project.

composer.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@
44
"description": "Laravel wrapper for swivel component",
55
"keywords": [
66
"laravel",
7+
"lumen",
78
"swivel",
8-
"webkod3r",
9-
"features"
9+
"features",
10+
"feature-flags",
11+
"behavior",
12+
"component",
13+
"webkod3r"
1014
],
1115
"homepage": "https://github.com/webkod3r/laravel-swivel",
1216
"license": "MIT",
@@ -22,8 +26,7 @@
2226
"illuminate/container": "~5.4",
2327
"illuminate/http": "~5.4",
2428
"illuminate/support": "~5.4",
25-
"psr/log": "^1.0",
26-
"zumba/swivel": "^2.1"
29+
"zumba/swivel": "^2.1.5"
2730
},
2831
"require-dev": {
2932
"mockery/mockery": "^1.2",

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
use \Illuminate\Foundation\Application as LaravelApplication;
88
use \Laravel\Lumen\Application as LumenApplication;
99

10-
class LaravelSwivelServiceProvider extends ServiceProvider
10+
class SwivelServiceProvider extends ServiceProvider
1111
{
1212
/**
1313
* The package version.
1414
*
1515
* @var string
1616
*/
17-
const VERSION = '1.0.1';
17+
const VERSION = '1.1.0';
1818

1919
/**
2020
* Indicates if loading of the provider is deferred.

0 commit comments

Comments
 (0)