composer.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. "name": "nette/utils",
  3. "description": "🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.",
  4. "keywords": ["nette", "images", "json", "password", "validation", "utility", "string", "array", "core", "slugify", "utf-8", "unicode", "paginator", "datetime"],
  5. "homepage": "https://nette.org",
  6. "license": ["BSD-3-Clause", "GPL-2.0-only", "GPL-3.0-only"],
  7. "authors": [
  8. {
  9. "name": "David Grudl",
  10. "homepage": "https://davidgrudl.com"
  11. },
  12. {
  13. "name": "Nette Community",
  14. "homepage": "https://nette.org/contributors"
  15. }
  16. ],
  17. "require": {
  18. "php": ">=7.1"
  19. },
  20. "require-dev": {
  21. "nette/tester": "~2.0",
  22. "tracy/tracy": "^2.3",
  23. "phpstan/phpstan": "^0.12"
  24. },
  25. "suggest": {
  26. "ext-iconv": "to use Strings::webalize() and toAscii()",
  27. "ext-json": "to use Nette\\Utils\\Json",
  28. "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()",
  29. "ext-mbstring": "to use Strings::lower() etc...",
  30. "ext-xml": "to use Strings::length() etc. when mbstring is not available",
  31. "ext-gd": "to use Image",
  32. "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()"
  33. },
  34. "autoload": {
  35. "classmap": ["src/"]
  36. },
  37. "minimum-stability": "dev",
  38. "scripts": {
  39. "phpstan": "phpstan analyse --level 5 --configuration tests/phpstan.neon src",
  40. "tester": "tester tests -s"
  41. },
  42. "extra": {
  43. "branch-alias": {
  44. "dev-master": "3.1-dev"
  45. }
  46. }
  47. }