Skip to content

Commit c6b16b3

Browse files
committed
update namespace to 'ToolkitPlus'
1 parent 8604e03 commit c6b16b3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+219
-813
lines changed

README.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
1-
# php library plus
1+
# php toolkit plus
22

3-
php的一些有用的工具库实现。
4-
5-
基础库:
6-
7-
- 数据收集器(in `inhere/library`)
8-
- 依赖注入容器(in `inhere/library`)
9-
- 基础文件系统工具(in `inhere/library`)
10-
- 各种帮助类库(in `inhere/library`)
11-
12-
扩展库:
3+
php的一些有用的扩展工具库实现。
134

145
- 静态资源加载
156
- 认证

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"name": "inhere/library-plus",
2+
"name": "toolkit/toolkit-plus",
33
"type": "library",
44
"description": "some useful library of the php",
55
"keywords": ["library","tool","php"],
6-
"homepage": "https://github.com/inhere/php-library-plus",
6+
"homepage": "https://github.com/php-toolkit/toolkit-plus",
77
"license": "MIT",
88
"authors": [
99
{
@@ -13,12 +13,12 @@
1313
}
1414
],
1515
"require": {
16-
"php": ">=7.0.0",
17-
"inhere/library": "dev-master"
16+
"php": ">7.0",
17+
"toolkit/toolkit": "dev-master"
1818
},
1919
"autoload": {
2020
"psr-4": {
21-
"Inhere\\LibraryPlus\\" : "libs/"
21+
"ToolkitPlus\\" : "libs/"
2222
}
2323
},
2424
"suggest": {

examples/telnet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
printf("Connect to the server {$host}:{$port}");
3434

35-
$tt = new \Inhere\LibraryPlus\Network\Telnet($host, $port);
35+
$tt = new \ToolkitPlus\Network\Telnet($host, $port);
3636

3737
// var_dump($tt);die;
3838

libs/Asset/AssetBag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Time: 上午11:11
77
*/
88

9-
namespace Inhere\LibraryPlus\Asset;
9+
namespace ToolkitPlus\Asset;
1010

1111
use Inhere\Library\StdObject;
1212

libs/Asset/AssetHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Time: 上午12:33
77
*/
88

9-
namespace Inhere\LibraryPlus\Asset;
9+
namespace ToolkitPlus\Asset;
1010

1111
/**
1212
* Class AssetHelper

libs/Asset/AssetLoad.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Time: 下午9:43
77
*/
88

9-
namespace Inhere\LibraryPlus\Asset;
9+
namespace ToolkitPlus\Asset;
1010

1111
use Inhere\Exceptions\FileNotFoundException;
1212
use Inhere\Exceptions\FileSystemException;
@@ -17,7 +17,7 @@
1717
use Inhere\Library\Files\File;
1818
use Inhere\Library\Helpers\UrlHelper;
1919
use Inhere\Library\StdObject;
20-
use Inhere\LibraryPlus\Html\Html;
20+
use ToolkitPlus\Html\Html;
2121
use MatthiasMullie\Minify;
2222

2323
/**

libs/Asset/AssetManager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
* Time: 下午9:44
77
*/
88

9-
namespace Inhere\LibraryPlus\Asset;
9+
namespace ToolkitPlus\Asset;
1010

1111
use Inhere\Exceptions\InvalidArgumentException;
1212
use Inhere\Library\Helpers\UrlHelper;
1313
use Inhere\Library\StdObject;
14-
use Inhere\LibraryPlus\Html\Html;
14+
use ToolkitPlus\Html\Html;
1515

1616
/**
1717
* 前端资源加载管理

libs/Asset/AssetPublisher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Time: 下午9:53
77
*/
88

9-
namespace Inhere\LibraryPlus\Asset;
9+
namespace ToolkitPlus\Asset;
1010

1111
use Inhere\Exceptions\FileSystemException;
1212
use Inhere\Exceptions\InvalidArgumentException;

libs/Auth/AccessChecker.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
* Time: 下午4:51
77
*/
88

9-
namespace Inhere\LibraryPlus\Auth;
9+
namespace ToolkitPlus\Auth;
1010

1111
/**
1212
* Class AccessChecker
13-
* @package Inhere\LibraryPlus\Auth
13+
* @package ToolkitPlus\Auth
1414
*/
1515
class AccessChecker implements CheckAccessInterface
1616
{

libs/Auth/CheckAccessInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
* Time: 下午4:53
77
*/
88

9-
namespace Inhere\LibraryPlus\Auth;
9+
namespace ToolkitPlus\Auth;
1010

1111
/**
1212
* Interface CheckAccessInterface
13-
* @package Inhere\LibraryPlus\Auth
13+
* @package ToolkitPlus\Auth
1414
*/
1515
interface CheckAccessInterface
1616
{

0 commit comments

Comments
 (0)