Skip to content

Commit 95b99a6

Browse files
authored
Merge pull request #1 from TotalServerSolutions/service-provider-fix
Fix service provider
2 parents b495a44 + 1bf3831 commit 95b99a6

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
build
22
composer.lock
33
vendor
4+
.idea

composer.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
{
2-
"name": "francescomalatesta/laravel-feature",
2+
"name": "TotalServerSolutions/laravel-feature",
33
"type": "library",
44
"description": "A simple package to manage feature flagging in a Laravel project.",
55
"keywords": ["laravel", "feature", "flag"],
6-
"homepage": "https://github.com/francescomalatesta/laravel-feature",
6+
"homepage": "https://github.com/totalserversolutions/laravel-feature",
77
"license": "MIT",
88
"authors": [
99
{
1010
"name": "Francesco Malatesta",
1111
"email": "[email protected]",
1212
"homepage": "https://github.com/francescomalatesta",
1313
"role": "Developer"
14+
},
15+
{
16+
"name": "Total Server Solutions",
17+
"email": "[email protected]",
18+
"homepage": "https://toatlserversolutions.com",
19+
"role": "Developer"
1420
}
1521
],
1622
"require": {

src/Provider/FeatureServiceProvider.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ public function boot()
2121
$this->publishes([
2222
__DIR__.'/../Config/features.php' => config_path('features.php'),
2323
]);
24+
25+
$this->registerBladeDirectives();
26+
$this->registerConsoleCommand();
2427
}
2528

2629
/**
@@ -37,9 +40,6 @@ public function register()
3740
$this->app->bind(FeatureRepositoryInterface::class, function () use ($config) {
3841
return app()->make($config->get('features.repository'));
3942
});
40-
41-
$this->registerBladeDirectives();
42-
$this->registerConsoleCommand();
4343
}
4444

4545
private function registerBladeDirectives()

0 commit comments

Comments
 (0)