Simple problems require simple solutions
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.

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