diff --git a/Readme.md b/Readme.md index 4a7847b..9d980e9 100755 --- a/Readme.md +++ b/Readme.md @@ -14,13 +14,13 @@ **Laravel / Lumen register providers** - Kosmosx\Laravel\ResponseServiceProvider + Kosmosx\Response\Laravel\ResponseServiceProvider **Register handler Execptions (LaravelHandler or LumenHandler)** $this->app->singleton( \Illuminate\Contracts\Debug\ExceptionHandler::class, - \Kosmosx\Laravel\Exceptions\.....::class + \Kosmosx\Response\Laravel\Exceptions\.....::class ); **Use** diff --git a/composer.json b/composer.json index 685ccad..409f618 100755 --- a/composer.json +++ b/composer.json @@ -23,14 +23,9 @@ "symfony/http-kernel": "^4.2" }, - "replace": { - "Kosmosx/laravel": "self.version", - "Kosmosx/response": "self.version" - }, - "autoload": { "psr-4": { - "Kosmosx\\": "src/" + "Kosmosx\\Response\\": "src/" } }, diff --git a/src/Response/Exceptions/ErrorsException.php b/src/Exceptions/ErrorsException.php similarity index 100% rename from src/Response/Exceptions/ErrorsException.php rename to src/Exceptions/ErrorsException.php diff --git a/src/Response/Exceptions/Handler.php b/src/Exceptions/Handler.php similarity index 100% rename from src/Response/Exceptions/Handler.php rename to src/Exceptions/Handler.php diff --git a/src/Response/Factory/FactoryInterface.php b/src/Factory/FactoryInterface.php similarity index 100% rename from src/Response/Factory/FactoryInterface.php rename to src/Factory/FactoryInterface.php diff --git a/src/Response/Factory/FactoryResponse.php b/src/Factory/FactoryResponse.php similarity index 100% rename from src/Response/Factory/FactoryResponse.php rename to src/Factory/FactoryResponse.php diff --git a/src/Laravel/Exceptions/LaravelHandler.php b/src/Laravel/Exceptions/LaravelHandler.php index 5fbef67..e15af3a 100755 --- a/src/Laravel/Exceptions/LaravelHandler.php +++ b/src/Laravel/Exceptions/LaravelHandler.php @@ -1,6 +1,6 @@