Skip to content

Commit

Permalink
modify namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
wpjscc committed Aug 10, 2024
1 parent 8ebf911 commit 91687c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# reactphp-framework-redis-cache
# reactphp-x-redis-cache

## install

```
composer require reactphp-framework/redis-cache -vvv
composer require reactphp-x/redis-cache -vvv
```


## Usage

```php
use Clue\React\Redis\RedisClient;
use Reactphp\Framework\RedisCache\RedisCache;
use ReactphpX\RedisCache\RedisCache;
$redis = new RedisClient('redis://:h%40llo@localhost');
// $redis = new RedisClient('redis://ignored:h%40llo@localhost');
// $redis = new RedisClient('redis://localhost?password=h%40llo');
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "reactphp-framework/redis-cache",
"name": "reactphp-x/redis-cache",
"license": "MIT",
"autoload": {
"psr-4": {
"Reactphp\\Framework\\RedisCache\\": "src/"
"ReactphpX\\RedisCache\\": "src/"
}
},
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion src/RedisCache.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Reactphp\Framework\RedisCache;
namespace ReactphpX\RedisCache;

use React\Cache\CacheInterface;

Expand Down

0 comments on commit 91687c1

Please sign in to comment.