composer.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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.1.*"
  10. },
  11. "require-dev": {
  12. "fzaninotto/faker": "~1.4",
  13. "mockery/mockery": "0.9.*",
  14. "phpunit/phpunit": "~4.0",
  15. "phpspec/phpspec": "~2.1"
  16. },
  17. "autoload": {
  18. "classmap": [
  19. "database"
  20. ],
  21. "psr-4": {
  22. "App\\": "app/"
  23. }
  24. },
  25. "autoload-dev": {
  26. "classmap": [
  27. "tests/TestCase.php"
  28. ]
  29. },
  30. "scripts": {
  31. "post-install-cmd": [
  32. "php artisan clear-compiled",
  33. "php artisan optimize"
  34. ],
  35. "pre-update-cmd": [
  36. "php artisan clear-compiled"
  37. ],
  38. "post-update-cmd": [
  39. "php artisan optimize"
  40. ],
  41. "post-root-package-install": [
  42. "php -r \"copy('.env.example', '.env');\""
  43. ],
  44. "post-create-project-cmd": [
  45. "php artisan key:generate"
  46. ]
  47. },
  48. "config": {
  49. "preferred-install": "dist"
  50. }
  51. }