text4u
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

composer.json 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "name": "statamic/statamic",
  3. "description": "Statamic",
  4. "keywords": [
  5. "statamic",
  6. "cms",
  7. "flat file",
  8. "laravel"
  9. ],
  10. "type": "project",
  11. "require": {
  12. "php": "^8.1",
  13. "guzzlehttp/guzzle": "^7.2",
  14. "laravel/framework": "^10.8",
  15. "laravel/sanctum": "^3.2",
  16. "laravel/tinker": "^2.8",
  17. "statamic/cms": "^4.0"
  18. },
  19. "require-dev": {
  20. "barryvdh/laravel-debugbar": "^3.8.1",
  21. "fakerphp/faker": "^1.9.1",
  22. "laravel/pint": "^1.0",
  23. "laravel/sail": "^1.18",
  24. "mockery/mockery": "^1.4.4",
  25. "nunomaduro/collision": "^7.0",
  26. "phpunit/phpunit": "^10.1",
  27. "spatie/laravel-ignition": "^2.0"
  28. },
  29. "config": {
  30. "optimize-autoloader": true,
  31. "preferred-install": "dist",
  32. "sort-packages": true,
  33. "allow-plugins": {
  34. "composer/package-versions-deprecated": true,
  35. "pestphp/pest-plugin": true,
  36. "php-http/discovery": true,
  37. "pixelfear/composer-dist-plugin": true
  38. }
  39. },
  40. "extra": {
  41. "laravel": {
  42. "dont-discover": []
  43. }
  44. },
  45. "autoload": {
  46. "psr-4": {
  47. "App\\": "app/",
  48. "Database\\Factories\\": "database/factories/",
  49. "Database\\Seeders\\": "database/seeders/"
  50. }
  51. },
  52. "autoload-dev": {
  53. "psr-4": {
  54. "Tests\\": "tests/"
  55. }
  56. },
  57. "minimum-stability": "dev",
  58. "prefer-stable": true,
  59. "scripts": {
  60. "pre-update-cmd": [
  61. "Statamic\\Console\\Composer\\Scripts::preUpdateCmd"
  62. ],
  63. "post-autoload-dump": [
  64. "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
  65. "@php artisan package:discover --ansi",
  66. "@php artisan statamic:install --ansi"
  67. ],
  68. "post-root-package-install": [
  69. "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
  70. ],
  71. "post-create-project-cmd": [
  72. "@php artisan key:generate --ansi"
  73. ],
  74. "post-update-cmd": [
  75. "@php artisan vendor:publish --tag=laravel-assets --ansi --force"
  76. ]
  77. }
  78. }