Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
build
composer.lock
vendor
.idea
10 changes: 8 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
{
"name": "francescomalatesta/laravel-feature",
"name": "TotalServerSolutions/laravel-feature",
"type": "library",
"description": "A simple package to manage feature flagging in a Laravel project.",
"keywords": ["laravel", "feature", "flag"],
"homepage": "https://github.com/francescomalatesta/laravel-feature",
"homepage": "https://github.com/totalserversolutions/laravel-feature",
"license": "MIT",
"authors": [
{
"name": "Francesco Malatesta",
"email": "[email protected]",
"homepage": "https://github.com/francescomalatesta",
"role": "Developer"
},
{
"name": "Total Server Solutions",
"email": "[email protected]",
"homepage": "https://toatlserversolutions.com",
"role": "Developer"
}
],
"require": {
Expand Down
6 changes: 3 additions & 3 deletions src/Provider/FeatureServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ public function boot()
$this->publishes([
__DIR__.'/../Config/features.php' => config_path('features.php'),
]);

$this->registerBladeDirectives();
$this->registerConsoleCommand();
}

/**
Expand All @@ -37,9 +40,6 @@ public function register()
$this->app->bind(FeatureRepositoryInterface::class, function () use ($config) {
return app()->make($config->get('features.repository'));
});

$this->registerBladeDirectives();
$this->registerConsoleCommand();
}

private function registerBladeDirectives()
Expand Down