composer.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. {
  2. "name": "laravel/laravel",
  3. "type": "project",
  4. "description": "The skeleton application for the Laravel framework.",
  5. "keywords": [
  6. "laravel",
  7. "framework"
  8. ],
  9. "license": "MIT",
  10. "require": {
  11. "php": "8.3.*",
  12. "ext-bcmath": "*",
  13. "ext-gmp": "*",
  14. "ext-mbstring": "*",
  15. "ext-pdo": "*",
  16. "ext-redis": "*",
  17. "dcat/laravel-admin": "2.0.x-dev",
  18. "google/protobuf": "^3.25",
  19. "guzzlehttp/guzzle": "^7.9",
  20. "iidestiny/laravel-filesystem-oss": "^3.7",
  21. "inhere/php-validate": "^3.0",
  22. "intervention/image": "^3.11",
  23. "laravel/framework": "^11.31",
  24. "laravel/tinker": "^2.9",
  25. "league/oauth2-server": "^9.2",
  26. "lodash-php/lodash-php": "^0.1.0",
  27. "netresearch/jsonmapper": "^5.0",
  28. "overtrue/easy-sms": "*",
  29. "pragmarx/google2fa": "^8.0",
  30. "solution9th/laravel-file-cache-gc": "^0.0.2",
  31. "spatie/laravel-route-attributes": "^1.25",
  32. "symfony/cache": "^7.2"
  33. },
  34. "require-dev": {
  35. "fakerphp/faker": "^1.23",
  36. "laravel/pail": "^1.1",
  37. "laravel/pint": "^1.13",
  38. "laravel/sail": "^1.26",
  39. "mockery/mockery": "^1.6",
  40. "nunomaduro/collision": "^8.1",
  41. "phpunit/phpunit": "^11.0.1"
  42. },
  43. "autoload": {
  44. "psr-4": {
  45. "App\\": "app/",
  46. "Database\\Factories\\": "database/factories/",
  47. "Database\\Seeders\\": "database/seeders/",
  48. "GPBMetadata\\": "protophp/GPBMetadata/",
  49. "Uraus\\": "protophp/Uraus/",
  50. "UCore\\": "UCore/"
  51. }
  52. },
  53. "autoload-dev": {
  54. "psr-4": {
  55. "Tests\\": "tests/"
  56. }
  57. },
  58. "scripts": {
  59. "post-autoload-dump": [
  60. "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
  61. "@php artisan package:discover --ansi"
  62. ],
  63. "post-update-cmd": [
  64. "@php artisan vendor:publish --tag=laravel-assets --ansi --force"
  65. ],
  66. "post-root-package-install": [
  67. "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
  68. ],
  69. "post-create-project-cmd": [
  70. "@php artisan key:generate --ansi",
  71. "@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
  72. "@php artisan migrate --graceful --ansi"
  73. ],
  74. "dev": [
  75. "Composer\\Config::disableProcessTimeout",
  76. "npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite"
  77. ],
  78. "router_cache": [
  79. "php artisan route:cache"
  80. ],
  81. "demo1": [
  82. "php artisan transaction:status50to202"
  83. ],
  84. "dbgen": [
  85. "php artisan ucore:generate-model-annotation"
  86. ],
  87. "proto": [
  88. "rm -rf protophp/GPBMetadata/* protophp/Uraus/*",
  89. "protoc --php_out=protophp proto/game.proto",
  90. "php artisan proto:route --force",
  91. "@composer dump-autoload"
  92. ],
  93. "jsonconfig": [
  94. "php artisan gameitems:generate-json",
  95. "php artisan gameitems:generate-chest-json"
  96. ]
  97. },
  98. "extra": {
  99. "laravel": {
  100. "dont-discover": [
  101. "laravel/framework/src/Illuminate/Database/MigrationServiceProvider"
  102. ]
  103. }
  104. },
  105. "config": {
  106. "optimize-autoloader": true,
  107. "preferred-install": "dist",
  108. "sort-packages": true,
  109. "allow-plugins": {
  110. "pestphp/pest-plugin": true,
  111. "php-http/discovery": true
  112. },
  113. "repos": {
  114. "packagist": {
  115. "type": "composer",
  116. "url": "https://repo.packagist.org"
  117. }
  118. }
  119. },
  120. "minimum-stability": "beta",
  121. "prefer-stable": true
  122. }