composer.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "name": "laravel/agent-detector",
  3. "description": "Detect if code is running in an AI agent or automated development environment",
  4. "keywords": [
  5. "php",
  6. "ai",
  7. "agent",
  8. "detection",
  9. "cursor",
  10. "claude",
  11. "devin",
  12. "automation"
  13. ],
  14. "homepage": "https://github.com/laravel/agent-detector",
  15. "license": "MIT",
  16. "support": {
  17. "issues": "https://github.com/laravel/agent-detector/issues",
  18. "source": "https://github.com/laravel/agent-detector"
  19. },
  20. "authors": [
  21. {
  22. "name": "Taylor Otwell",
  23. "email": "taylor@laravel.com"
  24. }
  25. ],
  26. "require": {
  27. "php": "^8.2.0"
  28. },
  29. "require-dev": {
  30. "laravel/pint": "^1.24.0",
  31. "pestphp/pest": "^3.8.5|^4.1.0",
  32. "pestphp/pest-plugin-type-coverage": "^3.0|^4.0.2",
  33. "phpstan/phpstan": "^2.1.26",
  34. "rector/rector": "^2.1.7",
  35. "symfony/var-dumper": "^7.3.3"
  36. },
  37. "autoload": {
  38. "psr-4": {
  39. "Laravel\\AgentDetector\\": "src/"
  40. },
  41. "files": [
  42. "src/functions.php"
  43. ]
  44. },
  45. "autoload-dev": {
  46. "psr-4": {
  47. "Tests\\": "tests/"
  48. },
  49. "files": [
  50. "tests/Overrides.php"
  51. ]
  52. },
  53. "minimum-stability": "dev",
  54. "prefer-stable": true,
  55. "config": {
  56. "sort-packages": true,
  57. "preferred-install": "dist",
  58. "allow-plugins": {
  59. "pestphp/pest-plugin": true
  60. }
  61. },
  62. "scripts": {
  63. "lint": "pint",
  64. "refactor": "rector",
  65. "test:type-coverage": "pest --type-coverage --exactly=100",
  66. "test:lint": "pint --test",
  67. "test:unit": "pest",
  68. "test:types": "phpstan",
  69. "test:refactor": "rector --dry-run",
  70. "test": [
  71. "@test:lint",
  72. "@test:type-coverage",
  73. "@test:unit",
  74. "@test:types",
  75. "@test:refactor"
  76. ]
  77. }
  78. }