@@ -14,7 +14,7 @@ composer require mikefrancis/laravel-unleash
1414Export package config:
1515
1616``` bash
17- php artisan vendor:publish --provider=" MikeFrancis\ LaravelUnleash\ServiceProvider"
17+ php artisan vendor:publish --provider=" LaravelUnleash\ServiceProvider"
1818```
1919
2020## Configuration
@@ -24,7 +24,7 @@ Documentation for configuration can be found in [config/unleash.php](https://git
2424## Usage
2525
2626``` php
27- use \MikeFrancis\ LaravelUnleash\Unleash;
27+ use LaravelUnleash\Unleash;
2828
2929$unleash = app(Unleash::class);
3030
@@ -84,7 +84,7 @@ $allFeatures = Feature::all();
8484If your strategy relies on dynamic data at runtime, you can pass additional arguments to the feature check functions:
8585
8686``` php
87- use \MikeFrancis\ LaravelUnleash\Unleash;
87+ use LaravelUnleash\Unleash;
8888use Config;
8989
9090$unleash = app(Unleash::class);
@@ -129,8 +129,8 @@ To use the middle, add the following to your `app/Http/Kernel.php`:
129129``` php
130130protected $routeMiddleware = [
131131 // other middleware
132- 'feature.enabled' => \MikeFrancis\ LaravelUnleash\Middleware\FeatureEnabled::class,
133- 'feature.disabled' => \MikeFrancis\ LaravelUnleash\Middleware\FeatureDisabled::class,
132+ 'feature.enabled' => \LaravelUnleash\Middleware\FeatureEnabled::class,
133+ 'feature.disabled' => \LaravelUnleash\Middleware\FeatureDisabled::class,
134134];
135135```
136136
@@ -160,4 +160,4 @@ class ExampleController extends Controller
160160}
161161```
162162
163- You cannot currently use dynamic strategy arguments with Middleware.
163+ You cannot currently use dynamic strategy arguments with Middleware.
0 commit comments