composer.json 2.0 KB

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