-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
49 lines (49 loc) · 1.5 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"name": "davidecaruso/crypt",
"description": "PHP library to securely encrypt/decrypt strings.",
"keywords": ["encrypt", "decrypt", "php", "hash"],
"homepage": "https://github.com/davidecaruso/crypt",
"type": "library",
"require": {
"php": "^7.3",
"ext-openssl": "*",
"ext-mbstring": "*"
},
"require-dev": {
"phpunit/phpunit": "^9.1"
},
"license": "MIT",
"authors": [
{
"name": "Davide Caruso",
"email": "davide.caruso93@gmail.com",
"homepage": "https://about.me/davidecaruso"
}
],
"autoload": {
"psr-4": {
"Crypt\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Crypt\\Test\\": "tests/"
}
},
"scripts": {
"secret:generate": "php scripts/secret.php",
"encrypt:idempotent": "php scripts/encrypt.php idempotent",
"decrypt:idempotent": "php scripts/decrypt.php idempotent",
"encrypt:non-idempotent": "php scripts/encrypt.php non-idempotent",
"decrypt:non-idempotent": "php scripts/decrypt.php non-idempotent",
"phpcs": "phpcs src tests --standard=psr2 -sp --colors",
"phpunit": "vendor/bin/phpunit --verbose --colors=always",
"coverage:html": "@phpunit --coverage-html build/coverage",
"coverage:clover": "@phpunit --coverage-clover coverage.xml",
"test": [
"@phpcs",
"@phpunit"
]
},
"minimum-stability": "stable"
}