composer.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "name": "laravel/laravel",
  3. "description": "The Laravel Framework.",
  4. "keywords": ["framework", "laravel"],
  5. "license": "MIT",
  6. "type": "project",
  7. "require": {
  8. "php": ">=7.0",
  9. "laravel/framework": "5.4.*",
  10. "laravel/tinker": "~1.0"
  11. },
  12. "require-dev": {
  13. "fzaninotto/faker": "~1.4",
  14. "mockery/mockery": "0.9.*",
  15. "phpunit/phpunit": "~5.7"
  16. },
  17. "autoload": {
  18. "classmap": [
  19. "database/seeds",
  20. "database/factories"
  21. ],
  22. "psr-4": {
  23. "App\\": "app/"
  24. }
  25. },
  26. "autoload-dev": {
  27. "psr-4": {
  28. "Tests\\": "tests/"
  29. }
  30. },
  31. "scripts": {
  32. "post-root-package-install": [
  33. "php -r \"file_exists('.env') || copy('.env.example', '.env');\""
  34. ],
  35. "post-create-project-cmd": [
  36. "php artisan key:generate"
  37. ],
  38. "post-install-cmd": [
  39. "Illuminate\\Foundation\\ComposerScripts::postInstall",
  40. "php artisan optimize"
  41. ],
  42. "post-update-cmd": [
  43. "Illuminate\\Foundation\\ComposerScripts::postUpdate",
  44. "php artisan optimize"
  45. ]
  46. },
  47. "config": {
  48. "preferred-install": "dist",
  49. "sort-packages": true,
  50. "optimize-autoloader": true
  51. }
  52. }