composer.json 1.3 KB

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