From 7aa60e226af4c39778c9fc308f55933786511cc2 Mon Sep 17 00:00:00 2001 From: Jamie Kohns Date: Fri, 17 May 2019 12:20:40 -0400 Subject: [PATCH 1/2] Fix service provider --- .gitignore | 1 + src/Provider/FeatureServiceProvider.php | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 073e37a..2cd4ab5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ build composer.lock vendor +.idea \ No newline at end of file diff --git a/src/Provider/FeatureServiceProvider.php b/src/Provider/FeatureServiceProvider.php index af3ff55..6c022a6 100644 --- a/src/Provider/FeatureServiceProvider.php +++ b/src/Provider/FeatureServiceProvider.php @@ -21,6 +21,9 @@ public function boot() $this->publishes([ __DIR__.'/../Config/features.php' => config_path('features.php'), ]); + + $this->registerBladeDirectives(); + $this->registerConsoleCommand(); } /** @@ -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() From 1bf3831f8b17be7b2a955800d2ed32176c038204 Mon Sep 17 00:00:00 2001 From: Jamie Kohns Date: Fri, 17 May 2019 12:57:04 -0400 Subject: [PATCH 2/2] Fix composer lib name; add TSS as author --- composer.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 517231b..5b7beca 100644 --- a/composer.json +++ b/composer.json @@ -1,9 +1,9 @@ { - "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": [ { @@ -11,6 +11,12 @@ "email": "hellofrancesco@gmail.com", "homepage": "https://github.com/francescomalatesta", "role": "Developer" + }, + { + "name": "Total Server Solutions", + "email": "dev@toatlserversolutions.com", + "homepage": "https://toatlserversolutions.com", + "role": "Developer" } ], "require": {