composer.json
{
"name": "shimabox/screru",
"description": "It has a function to supplement php-webdriver",
"keywords": ["php-webdriver", "selenium", "screenshot", "phpunit"],
"type": "library",
"license": "MIT",
"homepage": "https://github.com/shimabox/screru",
"authors": [
{
"name": "shimabox",
"email": "shimabox@gmail.com"
}
],
"require": {
"php": "^5.6 || ~7.0",
"facebook/webdriver": "^1.7",
"vlucas/phpdotenv": "^2.4",
"shimabox/url-status": "^1.0",
"shimabox/selenium-downloader": "~0.3"
},
"require-dev": {
"phpunit/phpunit": "^4.8 || ~5.0",
"mobiledetect/mobiledetectlib": "^2.8",
"codeclimate/php-test-reporter": "dev-master"
},
"autoload": {
"psr-4": {
"SMB\\Screru\\": "src/"
},
"files": [
"bootstrap.php"
]
},
"autoload-dev": {
"psr-4": {
"SMB\\Screru\\Tests\\": "tests/unit",
"SMB\\Screru\\Tests\\Functional\\": "tests/functional"
}
},
"scripts": {
"init-env": "php -r \"file_exists('.env') || copy('.env.default', '.env');\"",
"post-install-cmd": [
"@init-env"
],
"post-update-cmd": [
"@init-env"
]
}
}