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.

56 lines
1.4 KiB

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