Skip to content

Commit c1f7e77

Browse files
committed
init
0 parents  commit c1f7e77

16 files changed

+5445
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/tests export-ignore

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.buildpath
2+
.settings/
3+
.project
4+
*.patch
5+
.idea/
6+
.git/
7+
runtime/
8+
vendor/
9+
.phpintel/
10+
.env
11+
.DS_Store
12+
.phpunit*

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) Hyperf
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

composer.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"name": "assert6/hyperf-encrypt",
3+
"description": "A encrypt component for hyperf.",
4+
"license": "MIT",
5+
"keywords": [
6+
"php",
7+
"swoole",
8+
"hyperf",
9+
"encrypt"
10+
],
11+
"require": {
12+
"php": ">=7.2",
13+
"ext-openssl": "*",
14+
"hyperf/di": "~2.1.0",
15+
"hyperf/utils": "~2.1.0",
16+
"phpseclib/phpseclib": "^3.0"
17+
},
18+
"require-dev": {
19+
"malukenho/docheader": "^0.1.6",
20+
"mockery/mockery": "^1.0",
21+
"phpunit/phpunit": "^7.0.0",
22+
"friendsofphp/php-cs-fixer": "^2.9"
23+
},
24+
"autoload": {
25+
"psr-4": {
26+
"Hyperf\\Encrypt\\": "src/"
27+
}
28+
},
29+
"autoload-dev": {
30+
"psr-4": {
31+
"HyperfTest\\Encrypt\\": "tests/"
32+
}
33+
},
34+
"config": {
35+
"sort-packages": true
36+
},
37+
"extra": {
38+
"hyperf": {
39+
"config": "Hyperf\\Encrypt\\ConfigProvider"
40+
}
41+
},
42+
"bin": [
43+
],
44+
"scripts": {
45+
"cs-fix": "php-cs-fixer fix $1",
46+
"test": "phpunit --colors=always"
47+
}
48+
}

0 commit comments

Comments
 (0)