diff --git a/README.md b/README.md index 4f1e4b4..6f18bae 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ if (Browser::isAndroid()) { ### Standalone (without Laravel) ```php -use hisorange\BrowserDetect\Parser as Browser; +use Pataar\BrowserDetect\Parser as Browser; if (Browser::isLinux()) { // Works without Laravel! @@ -144,13 +144,13 @@ Results are cached in memory for the current request and optionally persisted vi In Laravel, publish the config file: ```sh -php artisan vendor:publish --provider="hisorange\BrowserDetect\ServiceProvider" +php artisan vendor:publish --provider="Pataar\BrowserDetect\ServiceProvider" ``` In standalone mode, pass a custom config array: ```php -use hisorange\BrowserDetect\Parser; +use Pataar\BrowserDetect\Parser; $browser = new Parser(null, null, [ 'cache' => [ diff --git a/composer.json b/composer.json index f6b8948..582a5e2 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "tablet", "user agent", "analyse", - "hisorange" + "pataar" ], "homepage": "https://github.com/pataar/browser-detect", "license": "MIT", @@ -37,22 +37,22 @@ }, "autoload": { "psr-4": { - "hisorange\\BrowserDetect\\": "src/" + "Pataar\\BrowserDetect\\": "src/" } }, "autoload-dev": { "psr-4": { - "hisorange\\BrowserDetect\\Test\\": "tests/" + "Pataar\\BrowserDetect\\Test\\": "tests/" } }, "minimum-stability": "stable", "extra": { "laravel": { "providers": [ - "hisorange\\BrowserDetect\\ServiceProvider" + "Pataar\\BrowserDetect\\ServiceProvider" ], "aliases": { - "Browser": "hisorange\\BrowserDetect\\Facade" + "Browser": "Pataar\\BrowserDetect\\Facade" } } }, diff --git a/src/Contracts/ParserInterface.php b/src/Contracts/ParserInterface.php index 5e4bbfb..ac7702e 100644 --- a/src/Contracts/ParserInterface.php +++ b/src/Contracts/ParserInterface.php @@ -1,6 +1,6 @@