composer.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "name": "beberlei/assert",
  3. "description": "Thin assertion library for input validation in business models.",
  4. "authors": [
  5. {
  6. "name": "Benjamin Eberlei",
  7. "email": "kontakt@beberlei.de",
  8. "role": "Lead Developer"
  9. },
  10. {
  11. "name": "Richard Quadling",
  12. "email": "rquadling@gmail.com",
  13. "role": "Collaborator"
  14. }
  15. ],
  16. "license": "BSD-2-Clause",
  17. "keywords": [
  18. "assert",
  19. "assertion",
  20. "validation"
  21. ],
  22. "config": {
  23. "sort-packages": true
  24. },
  25. "require": {
  26. "php": ">=5.3",
  27. "ext-mbstring": "*"
  28. },
  29. "require-dev": {
  30. "friendsofphp/php-cs-fixer": "^2.1.1",
  31. "phpunit/phpunit": "^4.8.35|^5.7"
  32. },
  33. "autoload": {
  34. "psr-4": {
  35. "Assert\\": "lib/Assert"
  36. },
  37. "files": [
  38. "lib/Assert/functions.php"
  39. ]
  40. },
  41. "autoload-dev": {
  42. "psr-4": {
  43. "Assert\\Tests\\": "tests/Assert/Tests"
  44. },
  45. "files": [
  46. "tests/Assert/Tests/Fixtures/functions.php"
  47. ]
  48. },
  49. "scripts": {
  50. "assert:generate-docs": "php bin/generate_method_docs.php",
  51. "assert:cs-lint": "php-cs-fixer fix --diff -vvv --dry-run",
  52. "assert:cs-fix": "php-cs-fixer fix . -vvv || true"
  53. }
  54. }