composer.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "name": "codeigniter4/appstarter",
  3. "description": "CodeIgniter4 starter app",
  4. "license": "MIT",
  5. "type": "project",
  6. "homepage": "https://codeigniter.com",
  7. "support": {
  8. "forum": "https://forum.codeigniter.com/",
  9. "source": "https://github.com/codeigniter4/CodeIgniter4",
  10. "slack": "https://codeigniterchat.slack.com"
  11. },
  12. "require": {
  13. "php": "^8.1",
  14. "codeigniter4/framework": "^4.0",
  15. "codeigniter4/translations": "^4.5"
  16. },
  17. "require-dev": {
  18. "codeigniter/coding-standard": "^1.8",
  19. "fakerphp/faker": "^1.9",
  20. "mikey179/vfsstream": "^1.6",
  21. "phpunit/phpunit": "^10.5.16"
  22. },
  23. "autoload": {
  24. "psr-4": {
  25. "App\\": "app/",
  26. "Config\\": "app/Config/"
  27. },
  28. "exclude-from-classmap": [
  29. "**/Database/Migrations/**"
  30. ]
  31. },
  32. "autoload-dev": {
  33. "psr-4": {
  34. "Tests\\Support\\": "tests/_support"
  35. }
  36. },
  37. "config": {
  38. "optimize-autoloader": true,
  39. "preferred-install": "dist",
  40. "sort-packages": true
  41. },
  42. "scripts": {
  43. "test": "phpunit",
  44. "linter": "./vendor/bin/php-cs-fixer fix --verbose --diff"
  45. },
  46. "scripts-descriptions": {
  47. "linter": "Format PHP code."
  48. }
  49. }