Skip to content

Commit

Permalink
psr 4
Browse files Browse the repository at this point in the history
  • Loading branch information
larvacent committed Sep 14, 2021
1 parent bfd6a2f commit 1476254
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class Wechat extends Controller
#### 获得 SDK 实例 使用 Facade

```php
use larva\wechat\Wechat;
use Larva\Wechat\Wechat;

$officialAccount = Wechat::officialAccount(); // 公众号
$work = Wechat::work(); // 企业微信
Expand Down
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "larva/think-wechat",
"description": "The ThinkPHP EasyWechat package.",
"license": "MIT",
"homepage": "https://www.larva.com.cn",
"support": {
"issues": "https://github.com/larvatecn/think-wechat/issues",
"source": "https://github.com/larvatecn/think-wechat"
Expand All @@ -21,7 +20,7 @@
},
"autoload": {
"psr-4": {
"larva\\wechat\\": "src"
"Larva\\Wechat\\": "src"
}
},
"extra": {
Expand All @@ -30,7 +29,7 @@
},
"think": {
"services": [
"larva\\wechat\\WechatService"
"Larva\\Wechat\\WechatService"
],
"config":{
"wechat": "config/wechat.php"
Expand Down
2 changes: 1 addition & 1 deletion src/CacheBridge.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare (strict_types=1);

namespace larva\wechat;
namespace Larva\Wechat;

use Psr\SimpleCache\CacheInterface;
use think\Cache;
Expand Down
2 changes: 1 addition & 1 deletion src/WeChatUserAuthorized.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare (strict_types=1);

namespace larva\wechat;
namespace Larva\Wechat;

use Overtrue\Socialite\User;

Expand Down
2 changes: 1 addition & 1 deletion src/Wechat.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare (strict_types=1);

namespace larva\wechat;
namespace Larva\Wechat;

use EasyWeChat\OfficialAccount\Application;
use think\Facade;
Expand Down
2 changes: 1 addition & 1 deletion src/WechatMiddleware.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare (strict_types=1);

namespace larva\wechat;
namespace Larva\Wechat;

use Closure;
use EasyWeChat\OfficialAccount\Application;
Expand Down
2 changes: 1 addition & 1 deletion src/WechatService.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare (strict_types=1);

namespace larva\wechat;
namespace Larva\Wechat;

use think\Service;

Expand Down

0 comments on commit 1476254

Please sign in to comment.