composer.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. "kalnoy/nestedset": "^6.0",
  13. "laravel/framework": "^12.0",
  14. "laravel/sanctum": "^4.0",
  15. "laravel/tinker": "^2.9"
  16. },
  17. "require-dev": {
  18. "barryvdh/laravel-ide-helper": "^3.6",
  19. "fakerphp/faker": "^1.23",
  20. "laravel/pint": "^1.13",
  21. "laravel/sail": "^1.26",
  22. "mockery/mockery": "^1.6",
  23. "nunomaduro/collision": "^8.0",
  24. "phpunit/phpunit": "^11.0.1"
  25. },
  26. "autoload": {
  27. "psr-4": {
  28. "App\\": "app/",
  29. "Database\\Factories\\": "database/factories/",
  30. "Database\\Seeders\\": "database/seeders/"
  31. }
  32. },
  33. "autoload-dev": {
  34. "psr-4": {
  35. "Tests\\": "tests/"
  36. }
  37. },
  38. "scripts": {
  39. "post-autoload-dump": [
  40. "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
  41. "@php artisan package:discover --ansi"
  42. ],
  43. "post-update-cmd": [
  44. "@php artisan vendor:publish --tag=laravel-assets --ansi --force",
  45. "Illuminate\\Foundation\\ComposerScripts::postUpdate",
  46. "@php artisan ide-helper:generate",
  47. "@php artisan ide-helper:meta"
  48. ],
  49. "post-root-package-install": [
  50. "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
  51. ],
  52. "post-create-project-cmd": [
  53. "@php artisan key:generate --ansi",
  54. "@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
  55. "@php artisan migrate --graceful --ansi"
  56. ]
  57. },
  58. "extra": {
  59. "laravel": {
  60. "dont-discover": []
  61. }
  62. },
  63. "config": {
  64. "optimize-autoloader": true,
  65. "preferred-install": "dist",
  66. "sort-packages": true,
  67. "allow-plugins": {
  68. "pestphp/pest-plugin": true,
  69. "php-http/discovery": true
  70. }
  71. },
  72. "minimum-stability": "stable",
  73. "prefer-stable": true
  74. }