composer.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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. }
  53. },
  54. "autoload-dev": {
  55. "psr-4": {
  56. "Tests\\": "tests/"
  57. }
  58. },
  59. "scripts": {
  60. "post-autoload-dump": [
  61. "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
  62. "@php artisan package:discover --ansi"
  63. ],
  64. "post-update-cmd": [
  65. "@php artisan vendor:publish --tag=laravel-assets --ansi --force"
  66. ],
  67. "post-root-package-install": [
  68. "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
  69. ],
  70. "post-create-project-cmd": [
  71. "@php artisan key:generate --ansi",
  72. "@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
  73. "@php artisan migrate --graceful --ansi"
  74. ],
  75. "dev": [
  76. "Composer\\Config::disableProcessTimeout",
  77. "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"
  78. ],
  79. "router_cache": [
  80. "php artisan route:cache"
  81. ],
  82. "update_cache": [
  83. "php artisan cache:clear",
  84. "php artisan route:cache"
  85. ],
  86. "demo1": [
  87. "php artisan transaction:status50to202"
  88. ],
  89. "dbgen": [
  90. "php artisan ucore:generate-model-annotation"
  91. ],
  92. "proto": [
  93. "rm -rf protophp/GPBMetadata/* protophp/Uraus/*",
  94. "protoc --php_out=protophp proto/game.proto",
  95. "php artisan proto:route --force"
  96. ],
  97. "jsonconfig": [
  98. "php artisan gameitems:generate-json",
  99. "php artisan gameitems:generate-chest-json"
  100. ]
  101. },
  102. "extra": {
  103. "laravel": {
  104. "dont-discover": [
  105. "laravel/framework/src/Illuminate/Database/MigrationServiceProvider"
  106. ]
  107. }
  108. },
  109. "config": {
  110. "optimize-autoloader": true,
  111. "preferred-install": "dist",
  112. "sort-packages": true,
  113. "allow-plugins": {
  114. "pestphp/pest-plugin": true,
  115. "php-http/discovery": true
  116. },
  117. "repos": {
  118. "packagist": {
  119. "type": "composer",
  120. "url": "https://repo.packagist.org"
  121. }
  122. }
  123. },
  124. "minimum-stability": "beta",
  125. "prefer-stable": true
  126. }