{
"name": "not-empty/aws-bucket-php-lib",
"description": "PHP library to connect to and use AWS S3 Bucket",
"version": "7.0.0",
"type": "library",
"license": "GPL-3.0-only",
"require": {
"php": "^8.3",
"not-empty/ulid-php-lib": "^7.0",
"aws/aws-sdk-php": "^3.289"
},
"authors": [
{
"name": "Not Empty Foundation",
"email": "dev@not-empty.com"
}
],
"autoload": {
"psr-4": {
"AwsBucket\\": "src/"
}
},
"scripts": {
"post-install-cmd": [
"bash contrib/setup.sh"
],
"check": [
"@lint",
"@cs",
"@mess",
"@test",
"@ccu"
],
"mess" : [
"vendor/bin/phpmd ./src text phpmd.xml",
"vendor/bin/phpmd ./sample text phpmd.xml"
],
"lint": [
"find ./src -name '*.php' -print0 | xargs -0 -n1 -P8 php -l -d display_errors=0",
"find ./tests -name '*.php' -print0 | xargs -0 -n1 -P8 php -l -d display_errors=0",
"find ./sample -name '*.php' -print0 | xargs -0 -n1 -P8 php -l -d display_errors=0"
],
"cs": "vendor/bin/phpcs",
"test": "phpdbg -qrr vendor/bin/phpunit --configuration phpunit.xml -d memory_limit=1024M",
"ccu" : "php contrib/coverage-checker.php coverage/coverage.xml 100"
},
"require-dev": {
"phpunit/phpunit": "^9.6",
"mockery/mockery": "^1.6",
"squizlabs/php_codesniffer": "^3.7",
"phpmd/phpmd": "^2.14"
}
}
|