You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
2.0 KiB

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