diff --git a/README.md b/README.md index 2a40bbc..a36c8e8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # RedisClient + Simple class easy to use that wraps Redis extension without dependencies. ![Packagist Version](https://img.shields.io/packagist/v/mp3000mp/redis-client?color=%230273b3) @@ -18,7 +19,7 @@ Installation ------------ ```sh -composer require mp3000mp/RedisClient +composer require mp3000mp/redis-client ``` @@ -55,7 +56,7 @@ Use with Symfony Add this to services.yml ```yml - mp3000mp\RedisClient\RedisClient: + Mp3000mp\RedisClient\RedisClient: arguments: ['%env(REDIS_HOST)%', '%env(REDIS_PORT)%', '%env(REDIS_AUTH)%'] ``` diff --git a/composer.json b/composer.json index 7bc50f0..5dbf540 100644 --- a/composer.json +++ b/composer.json @@ -1,11 +1,9 @@ { "name": "mp3000mp/redis-client", "type": "library", - "license": "Apache 2.0", + "license": "Apache-2.0", "description": "Simple class easy to use that wraps Redis extension without dependencies.", - "keywords": [ - "redis" - ], + "keywords": ["redis"], "homepage": "https://github.com/mp3000mp/RedisClient", "authors": [ { @@ -15,12 +13,12 @@ ], "autoload": { "psr-4": { - "mp3000mp\\RedisClient\\": "src/" + "Mp3000mp\\RedisClient\\": "src/" } }, "autoload-dev": { "psr-4": { - "mp3000mp\\RedisClient\\Tests\\": "tests/" + "Mp3000mp\\RedisClient\\Tests\\": "tests/" } }, "require": { diff --git a/src/RedisClient.php b/src/RedisClient.php index 71c62e5..3db1ef8 100644 --- a/src/RedisClient.php +++ b/src/RedisClient.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace mp3000mp\RedisClient; +namespace Mp3000mp\RedisClient; use Redis; diff --git a/src/RedisClientException.php b/src/RedisClientException.php index 5f067a6..1e0bb11 100644 --- a/src/RedisClientException.php +++ b/src/RedisClientException.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace mp3000mp\RedisClient; +namespace Mp3000mp\RedisClient; class RedisClientException extends \Exception { diff --git a/tests/RedisClientTest.php b/tests/RedisClientTest.php index fbe8e95..d0c1026 100644 --- a/tests/RedisClientTest.php +++ b/tests/RedisClientTest.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace mp3000mp\RedisClient\Tests; +namespace Mp3000mp\RedisClient\Tests; -use mp3000mp\RedisClient\RedisClient; -use mp3000mp\RedisClient\RedisClientException; +use Mp3000mp\RedisClient\RedisClient; +use Mp3000mp\RedisClient\RedisClientException; use PHPUnit\Framework\TestCase; /**