composer.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "laravel/laravel",
  3. "type": "project",
  4. "description": "The skeleton application for the Laravel framework.",
  5. "keywords": ["laravel", "framework"],
  6. "license": "MIT",
  7. "require": {
  8. "php": "^8.2",
  9. "laravel/framework": "^11.9",
  10. "laravel/tinker": "^2.9"
  11. },
  12. "require-dev": {
  13. "fakerphp/faker": "^1.23",
  14. "laravel/pint": "^1.13",
  15. "laravel/sail": "^1.26",
  16. "mockery/mockery": "^1.6",
  17. "nunomaduro/collision": "^8.0",
  18. "phpunit/phpunit": "^11.0.1"
  19. },
  20. "autoload": {
  21. "psr-4": {
  22. "App\\": "app/",
  23. "Database\\Factories\\": "database/factories/",
  24. "Database\\Seeders\\": "database/seeders/"
  25. }
  26. },
  27. "autoload-dev": {
  28. "psr-4": {
  29. "Tests\\": "tests/"
  30. }
  31. },
  32. "scripts": {
  33. "post-autoload-dump": [
  34. "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
  35. "@php artisan package:discover --ansi"
  36. ],
  37. "post-update-cmd": [
  38. "@php artisan vendor:publish --tag=laravel-assets --ansi --force"
  39. ],
  40. "post-root-package-install": [
  41. "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
  42. ],
  43. "post-create-project-cmd": [
  44. "@php artisan key:generate --ansi",
  45. "@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
  46. "@php artisan migrate --graceful --ansi"
  47. ]
  48. },
  49. "extra": {
  50. "laravel": {
  51. "dont-discover": []
  52. }
  53. },
  54. "config": {
  55. "optimize-autoloader": true,
  56. "preferred-install": "dist",
  57. "sort-packages": true,
  58. "allow-plugins": {
  59. "pestphp/pest-plugin": true,
  60. "php-http/discovery": true
  61. }
  62. },
  63. "minimum-stability": "stable",
  64. "prefer-stable": true
  65. }