composer.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "name": "irdb/ui",
  3. "description": "IRDB — PHP+Twig BFF frontend (Slim 4 on FrankenPHP)",
  4. "type": "project",
  5. "license": "Apache-2.0",
  6. "authors": [
  7. {
  8. "name": "Alessandro Chiapparini",
  9. "email": "irdb@chiapparini.org"
  10. }
  11. ],
  12. "require": {
  13. "php": "^8.3",
  14. "slim/slim": "^4.12",
  15. "slim/psr7": "^1.6",
  16. "slim/twig-view": "^3.4",
  17. "twig/twig": "^3.8",
  18. "guzzlehttp/guzzle": "^7.8",
  19. "jumbojett/openid-connect-php": "^1.0",
  20. "monolog/monolog": "^3.5",
  21. "php-di/php-di": "^7.0"
  22. },
  23. "require-dev": {
  24. "phpunit/phpunit": "^11.0",
  25. "phpstan/phpstan": "^1.10",
  26. "friendsofphp/php-cs-fixer": "^3.0",
  27. "vlucas/phpdotenv": "^5.6"
  28. },
  29. "autoload": {
  30. "psr-4": {
  31. "App\\": "src/"
  32. }
  33. },
  34. "autoload-dev": {
  35. "psr-4": {
  36. "App\\Tests\\": "tests/"
  37. }
  38. },
  39. "config": {
  40. "sort-packages": true,
  41. "platform": {
  42. "php": "8.3"
  43. },
  44. "allow-plugins": {
  45. "php-http/discovery": true
  46. }
  47. },
  48. "scripts": {
  49. "test": "phpunit",
  50. "stan": "phpstan analyse --memory-limit=512M",
  51. "cs": "php-cs-fixer fix --dry-run --diff",
  52. "cs-fix": "php-cs-fixer fix"
  53. }
  54. }