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 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
| { "name": "vendor/project", "description": "项目描述", "type": "project", "keywords": ["keyword1", "keyword2"], "license": "MIT", "authors": [ { "name": "作者姓名", "email": "author@example.com", "homepage": "https://example.com", "role": "Developer" } ], "require": { "php": "^8.0", "ext-json": "*", "monolog/monolog": "^2.0", "symfony/console": "^5.0" }, "require-dev": { "phpunit/phpunit": "^9.0", "squizlabs/php_codesniffer": "^3.0" }, "autoload": { "psr-4": { "App\\": "src/", "Tests\\": "tests/" }, "classmap": [ "database/seeds", "database/factories" ], "files": [ "src/helpers.php" ] }, "autoload-dev": { "psr-4": { "Tests\\": "tests/" } }, "scripts": { "post-install-cmd": [ "@php artisan clear-compiled", "@php artisan optimize" ], "post-update-cmd": [ "@php artisan clear-compiled" ], "post-create-project-cmd": [ "@php artisan key:generate" ], "test": "phpunit", "cs-check": "php-cs-fixer fix --dry-run --diff", "cs-fix": "php-cs-fixer fix" }, "config": { "optimize-autoloader": true, "preferred-install": "dist", "sort-packages": true, "process-timeout": 600 }, "repositories": [ { "type": "composer", "url": "https://packages.example.com" } ], "minimum-stability": "stable", "prefer-stable": true }
|