You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.3 KiB

8 years ago
  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.4.*",
  10. "laravel/tinker": "~1.0"
  11. },
  12. "require-dev": {
  13. "fzaninotto/faker": "~1.4",
  14. "mockery/mockery": "0.9.*",
  15. "phpunit/phpunit": "~5.7"
  16. },
  17. "autoload": {
  18. "classmap": [
  19. "database"
  20. ],
  21. "psr-4": {
  22. "App\\": "app/"
  23. }
  24. },
  25. "autoload-dev": {
  26. "psr-4": {
  27. "Tests\\": "tests/"
  28. }
  29. },
  30. "scripts": {
  31. "post-root-package-install": [
  32. "php -r \"file_exists('.env') || copy('.env.example', '.env');\""
  33. ],
  34. "post-create-project-cmd": [
  35. "php artisan key:generate"
  36. ],
  37. "post-install-cmd": [
  38. "Illuminate\\Foundation\\ComposerScripts::postInstall",
  39. "php artisan optimize"
  40. ],
  41. "post-update-cmd": [
  42. "Illuminate\\Foundation\\ComposerScripts::postUpdate",
  43. "php artisan optimize"
  44. ]
  45. },
  46. "config": {
  47. "preferred-install": "dist",
  48. "sort-packages": true,
  49. "optimize-autoloader": true
  50. }
  51. }