diff --git a/README.md b/README.md index 5d9ed9c..0413984 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,13 @@ This performance package (currently) contains two configurable performance relat ## Include the package -For dev-only use: +For dev-only (be sure to read the note below) use: `composer require --dev wedesignit/laravel-performance` +!! Note that if you use the `ContainsUnEagerLoadableRelations` trait in your code, this will cause errors in +production. You might want to require the package (without `--dev`) !! + For using it on other environments too: `composer require wedesignit/laravel-performance` diff --git a/composer.json b/composer.json index 4a33132..9f198d1 100644 --- a/composer.json +++ b/composer.json @@ -36,7 +36,7 @@ "extra": { "laravel": { "providers": [ - "WeDesignIt\\LaravelPerformance\\LaravelPerformanceServiceProvider" + "WeDesignIt\\LaravelPerformance\\Providers\\LaravelPerformanceServiceProvider" ] } },