composer.json 1.2 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": ">=5.5.9",
  9. "laravel/framework": "5.2.*"
  10. },
  11. "require-dev": {
  12. "fzaninotto/faker": "~1.4",
  13. "mockery/mockery": "0.9.*",
  14. "phpunit/phpunit": "~4.0",
  15. "symfony/css-selector": "2.8.*|3.0.*",
  16. "symfony/dom-crawler": "2.8.*|3.0.*"
  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 \"copy('.env.example', '.env');\""
  34. ],
  35. "post-create-project-cmd": [
  36. "php artisan key:generate"
  37. ],
  38. "post-install-cmd": [
  39. "php artisan clear-compiled",
  40. "php artisan optimize"
  41. ],
  42. "pre-update-cmd": [
  43. "php artisan clear-compiled"
  44. ],
  45. "post-update-cmd": [
  46. "php artisan optimize"
  47. ]
  48. },
  49. "config": {
  50. "preferred-install": "dist"
  51. }
  52. }