composer.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "name": "knplabs/knp-snappy",
  3. "type": "library",
  4. "description": "PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage.",
  5. "keywords": ["pdf", "thumbnail", "snapshot", "knplabs", "knp", "wkhtmltopdf"],
  6. "homepage": "http://github.com/KnpLabs/snappy",
  7. "license": "MIT",
  8. "authors": [
  9. {
  10. "name": "KNP Labs Team",
  11. "homepage": "http://knplabs.com"
  12. },
  13. {
  14. "name": "Symfony Community",
  15. "homepage": "http://github.com/KnpLabs/snappy/contributors"
  16. }
  17. ],
  18. "require": {
  19. "php": ">=7.1",
  20. "symfony/process": "~3.4||~4.3||~5.0||~6.0",
  21. "psr/log": "^1.0||^2.0||^3.0"
  22. },
  23. "require-dev": {
  24. "phpunit/phpunit": "~7.4||~8.5",
  25. "phpstan/phpstan": "^0.12.7",
  26. "phpstan/phpstan-phpunit": "^0.12.6",
  27. "friendsofphp/php-cs-fixer": "^2.16||^3.0",
  28. "pedrotroller/php-cs-custom-fixer": "^2.19"
  29. },
  30. "suggest": {
  31. "h4cc/wkhtmltopdf-amd64": "Provides wkhtmltopdf-amd64 binary for Linux-compatible machines, use version `~0.12` as dependency",
  32. "h4cc/wkhtmltopdf-i386": "Provides wkhtmltopdf-i386 binary for Linux-compatible machines, use version `~0.12` as dependency",
  33. "h4cc/wkhtmltoimage-amd64": "Provides wkhtmltoimage-amd64 binary for Linux-compatible machines, use version `~0.12` as dependency",
  34. "h4cc/wkhtmltoimage-i386": "Provides wkhtmltoimage-i386 binary for Linux-compatible machines, use version `~0.12` as dependency",
  35. "wemersonjanuario/wkhtmltopdf-windows": "Provides wkhtmltopdf executable for Windows, use version `~0.12` as dependency"
  36. },
  37. "autoload": {
  38. "psr-4": {
  39. "Knp\\Snappy\\": "src/Knp/Snappy"
  40. }
  41. },
  42. "autoload-dev": {
  43. "psr-4": {
  44. "Tests\\": "tests/"
  45. }
  46. },
  47. "scripts": {
  48. "unit-tests": "vendor/bin/phpunit",
  49. "static-analysis": "vendor/bin/phpstan analyse --ansi",
  50. "check-cs": "vendor/bin/php-cs-fixer fix --diff --dry-run --verbose",
  51. "fix-cs": "vendor/bin/php-cs-fixer fix --verbose"
  52. },
  53. "extra": {
  54. "branch-alias": {
  55. "dev-master": "1.x-dev"
  56. }
  57. }
  58. }