diff --git a/README.md b/README.md index 831ed4e..cf2692c 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ This is an example Laravel package. ```` 'providers' => [ ... - entwurfhaus\owlet\ExampleServiceProvider::class, + Entwurfhaus\Owlet\ExampleServiceProvider::class, ... ], ```` diff --git a/composer.json b/composer.json index 901b590..8aa062f 100644 --- a/composer.json +++ b/composer.json @@ -16,16 +16,16 @@ } ], "require": { - "php": "^7.4", - "illuminate/database": "^7.0", - "illuminate/events": "^7.0" + "php": "^7.4" }, "require-dev": { - "phpunit/phpunit": "^9.2" + "phpunit/phpunit": "^9.2", + "illuminate/database": "^7.0", + "illuminate/events": "^7.0" }, "autoload": { "psr-4": { - "entwurfhaus\\owlet\\": "src/" + "Entwurfhaus\\Owlet\\": "src/" } }, "autoload-dev": { @@ -48,7 +48,7 @@ "extra": { "laravel": { "providers": [ - "entwurfhaus\\owlet\\ExampleServiceProvider" + "Entwurfhaus\\Owlet\\ExampleServiceProvider" ] } } diff --git a/src/Http/Controllers/ExampleController.php b/src/Http/Controllers/ExampleController.php index e034542..6c1739d 100644 --- a/src/Http/Controllers/ExampleController.php +++ b/src/Http/Controllers/ExampleController.php @@ -1,9 +1,9 @@ 'entwurfhaus\owlet\Http\Controllers', 'middleware' => ['web']], function () { +Route::group(['namespace' => 'Entwurfhaus\Owlet\Http\Controllers', 'middleware' => ['web']], function () { Route::get('owlet', 'ExampleController@index'); }); diff --git a/tests/Unit/ExampleUnitTest.php b/tests/Unit/ExampleUnitTest.php index 167ab90..1efd1b9 100644 --- a/tests/Unit/ExampleUnitTest.php +++ b/tests/Unit/ExampleUnitTest.php @@ -2,7 +2,7 @@ namespace Tests\Unit; -use entwurfhaus\owlet\Models\Example; +use Entwurfhaus\Owlet\Models\Example; use PHPUnit\Framework\TestCase; class ExampleUnitTest extends TestCase {