composer.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. "laravel/framework": "5.3.*"
  10. },
  11. "require-dev": {
  12. "fzaninotto/faker": "~1.4",
  13. "mockery/mockery": "0.9.*",
  14. "phpunit/phpunit": "~5.0",
  15. "symfony/css-selector": "3.1.*",
  16. "symfony/dom-crawler": "3.1.*"
  17. },
  18. "autoload": {
  19. "classmap": [
  20. "database"
  21. ],
  22. "psr-4": {
  23. "App\\": "app/"
  24. }
  25. },
  26. "autoload-dev": {
  27. "classmap": [
  28. "tests/TestCase.php"
  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. }
  50. }