composer.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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": "8.2 - 8.5"
  19. },
  20. "require-dev": {
  21. "nette/tester": "^2.5",
  22. "tracy/tracy": "^2.9",
  23. "phpstan/phpstan": "^2.1@stable",
  24. "phpstan/extension-installer": "^1.4@stable",
  25. "nette/phpstan-rules": "^1.0",
  26. "jetbrains/phpstorm-attributes": "^1.2"
  27. },
  28. "conflict": {
  29. "nette/finder": "<3",
  30. "nette/schema": "<1.2.2"
  31. },
  32. "suggest": {
  33. "ext-iconv": "to use Strings::webalize(), toAscii(), chr() and reverse()",
  34. "ext-json": "to use Nette\\Utils\\Json",
  35. "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()",
  36. "ext-mbstring": "to use Strings::lower() etc...",
  37. "ext-gd": "to use Image",
  38. "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()"
  39. },
  40. "autoload": {
  41. "classmap": ["src/"],
  42. "psr-4": {
  43. "Nette\\": "src"
  44. }
  45. },
  46. "minimum-stability": "dev",
  47. "scripts": {
  48. "phpstan": "phpstan analyse",
  49. "tester": "tester tests -s"
  50. },
  51. "extra": {
  52. "branch-alias": {
  53. "dev-master": "4.1-dev"
  54. }
  55. },
  56. "config": {
  57. "allow-plugins": {
  58. "phpstan/extension-installer": true
  59. }
  60. }
  61. }