composer.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. "ext-openssl": "*",
  18. "dcat/laravel-admin": "2.0.x-dev",
  19. "google/protobuf": "^3.25",
  20. "guzzlehttp/guzzle": "^7.9",
  21. "iidestiny/laravel-filesystem-oss": "^3.7",
  22. "inhere/php-validate": "^3.0",
  23. "intervention/image": "^3.11",
  24. "laravel/framework": "^11.31",
  25. "laravel/tinker": "^2.9",
  26. "league/oauth2-server": "^9.2",
  27. "lodash-php/lodash-php": "^0.1.0",
  28. "netresearch/jsonmapper": "^5.0",
  29. "overtrue/easy-sms": "*",
  30. "pragmarx/google2fa": "^8.0",
  31. "solution9th/laravel-file-cache-gc": "^0.0.2",
  32. "spatie/laravel-route-attributes": "^1.25",
  33. "symfony/cache": "^7.2"
  34. },
  35. "require-dev": {
  36. "fakerphp/faker": "^1.23",
  37. "laravel/pail": "^1.1",
  38. "laravel/pint": "^1.13",
  39. "laravel/sail": "^1.26",
  40. "mockery/mockery": "^1.6",
  41. "nunomaduro/collision": "^8.1",
  42. "phpunit/phpunit": "^11.0.1"
  43. },
  44. "autoload": {
  45. "psr-4": {
  46. "App\\": "app/",
  47. "Database\\Factories\\": "database/factories/",
  48. "Database\\Seeders\\": "database/seeders/",
  49. "GPBMetadata\\": "protophp/GPBMetadata/",
  50. "Uraus\\": "protophp/Uraus/",
  51. "UCore\\": "UCore/",
  52. "ThirdParty\\":"ThirdParty/"
  53. }
  54. },
  55. "autoload-dev": {
  56. "psr-4": {
  57. "Tests\\": "tests/"
  58. }
  59. },
  60. "scripts": {
  61. "post-autoload-dump": [
  62. "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
  63. "@php artisan package:discover --ansi"
  64. ],
  65. "post-update-cmd": [
  66. "@php artisan vendor:publish --tag=laravel-assets --ansi --force"
  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. "@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
  74. "@php artisan migrate --graceful --ansi"
  75. ],
  76. "dev": [
  77. "Composer\\Config::disableProcessTimeout",
  78. "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"
  79. ],
  80. "router_cache": [
  81. "php artisan route:cache"
  82. ],
  83. "updatecall": [
  84. "php artisan cache:clear",
  85. "php artisan route:cache"
  86. ],
  87. "demo1": [
  88. "php artisan transaction:status50to202"
  89. ],
  90. "dbgen": [
  91. "php artisan ucore:generate-model-annotation"
  92. ],
  93. "proto": [
  94. "rm -rf protophp/GPBMetadata/* protophp/Uraus/*",
  95. "protoc --php_out=protophp proto/game.proto",
  96. "php artisan proto:route --force"
  97. ],
  98. "jsonconfig": [
  99. "php artisan gameitems:generate-json",
  100. "php artisan gameitems:generate-chest-json"
  101. ]
  102. },
  103. "extra": {
  104. "laravel": {
  105. "dont-discover": [
  106. "laravel/framework/src/Illuminate/Database/MigrationServiceProvider"
  107. ]
  108. }
  109. },
  110. "config": {
  111. "optimize-autoloader": true,
  112. "preferred-install": "dist",
  113. "sort-packages": true,
  114. "allow-plugins": {
  115. "pestphp/pest-plugin": true,
  116. "php-http/discovery": true
  117. },
  118. "repos": {
  119. "packagist": {
  120. "type": "composer",
  121. "url": "https://repo.packagist.org"
  122. }
  123. }
  124. },
  125. "minimum-stability": "beta",
  126. "prefer-stable": true
  127. }