composer.json 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "$schema": "https://getcomposer.org/schema.json",
  3. "name": "laravel/laravel",
  4. "type": "project",
  5. "description": "The skeleton application for the Laravel framework.",
  6. "keywords": [
  7. "laravel",
  8. "framework"
  9. ],
  10. "license": "MIT",
  11. "require": {
  12. "php": "^8.2",
  13. "laravel/framework": "^12.0",
  14. "laravel/tinker": "^2.10.1"
  15. },
  16. "require-dev": {
  17. "fakerphp/faker": "^1.23",
  18. "laravel-lang/lang": "^15.29",
  19. "laravel/breeze": "^2.4",
  20. "laravel/pail": "^1.2.2",
  21. "laravel/pint": "^1.24",
  22. "laravel/sail": "^1.41",
  23. "mockery/mockery": "^1.6",
  24. "nunomaduro/collision": "^8.6",
  25. "phpunit/phpunit": "^11.5.3"
  26. },
  27. "autoload": {
  28. "psr-4": {
  29. "App\\": "app/",
  30. "Database\\Factories\\": "database/factories/",
  31. "Database\\Seeders\\": "database/seeders/"
  32. }
  33. },
  34. "autoload-dev": {
  35. "psr-4": {
  36. "Tests\\": "tests/"
  37. }
  38. },
  39. "scripts": {
  40. "setup": [
  41. "composer install",
  42. "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
  43. "@php artisan key:generate",
  44. "@php artisan migrate --force",
  45. "npm install",
  46. "npm run build"
  47. ],
  48. "dev": [
  49. "Composer\\Config::disableProcessTimeout",
  50. "npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1 --timeout=0\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite --kill-others"
  51. ],
  52. "test": [
  53. "@php artisan config:clear --ansi",
  54. "@php artisan test"
  55. ],
  56. "post-autoload-dump": [
  57. "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
  58. "@php artisan package:discover --ansi"
  59. ],
  60. "post-update-cmd": [
  61. "@php artisan vendor:publish --tag=laravel-assets --ansi --force"
  62. ],
  63. "post-root-package-install": [
  64. "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
  65. ],
  66. "post-create-project-cmd": [
  67. "@php artisan key:generate --ansi",
  68. "@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
  69. "@php artisan migrate --graceful --ansi"
  70. ],
  71. "pre-package-uninstall": [
  72. "Illuminate\\Foundation\\ComposerScripts::prePackageUninstall"
  73. ]
  74. },
  75. "extra": {
  76. "laravel": {
  77. "dont-discover": []
  78. }
  79. },
  80. "config": {
  81. "optimize-autoloader": true,
  82. "preferred-install": "dist",
  83. "sort-packages": true,
  84. "allow-plugins": {
  85. "pestphp/pest-plugin": true,
  86. "php-http/discovery": true
  87. }
  88. },
  89. "minimum-stability": "stable",
  90. "prefer-stable": true
  91. }