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. },
  16. "autoload": {
  17. "classmap": [
  18. "database"
  19. ],
  20. "psr-4": {
  21. "App\\": "app/"
  22. }
  23. },
  24. "autoload-dev": {
  25. "classmap": [
  26. "tests/TestCase.php"
  27. ]
  28. },
  29. "scripts": {
  30. "post-install-cmd": [
  31. "php artisan clear-compiled",
  32. "php artisan optimize"
  33. ],
  34. "pre-update-cmd": [
  35. "php artisan clear-compiled"
  36. ],
  37. "post-update-cmd": [
  38. "php artisan optimize"
  39. ],
  40. "post-root-package-install": [
  41. "php -r \"copy('.env.example', '.env');\""
  42. ],
  43. "post-create-project-cmd": [
  44. "php artisan key:generate"
  45. ]
  46. },
  47. "config": {
  48. "preferred-install": "dist"
  49. },
  50. "minimum-stability": "dev",
  51. "prefer-stable": true
  52. }