diff --git a/README.md b/README.md index d9bcf2f..502888a 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ To get the latest version of Laravel Identify, simply add the following line to the require block of your `composer.json` file. ``` -"unicodeveloper/laravel-identify": "1.0.*" +"unicodeveloper/laravel-identify": "1.1.*" ``` You'll then need to run `composer install` or `composer update` to download it and have the autoloader updated. diff --git a/composer.json b/composer.json index 96fd86e..866d0ad 100644 --- a/composer.json +++ b/composer.json @@ -1,18 +1,31 @@ { - "name": "unicodeveloper/laravel-identify", - "description": "A Laravel 5 Package Provider to Identify/detect a user's browser, device, operating system and Language", - "keywords": ["github", "laravel","Open Source","Evangelist", "Detect", "Identify", "Browser", "Operating System", "Language"], - "license": "MIT", - "authors": [ + "name": "unicodeveloper/laravel-identify", + "description": "A Laravel 5 Package Provider to Identify/detect a user's browser, device, operating system and Language", + "keywords": ["github", "laravel","Open Source","Evangelist", "Detect", "Identify", "Browser", "Operating System", "Language"], + "license": "MIT", + "authors": [ { "name": "unicodeveloper", "email": "prosperotemuyiwa@gmail.com" } - ], - "minimum-stability": "dev", - "require": { + ], + "minimum-stability": "stable", + "require": { "php": ">=5.5.9", "illuminate/support": "5.2.*", "sinergi/browser-detector":"6.0.*" - } + }, + "autoload": { + "psr-4": { + "Unicodeveloper\\Identify\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "Unicodeveloper\\Identify\\Test\\": "tests" + } + }, + "scripts": { + "test": "vendor/bin/phpunit" + } }