53 line
941B

  1. {
  2. "name": "mpdf/mpdf",
  3. "type": "library",
  4. "description": "A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support",
  5. "keywords": ["php", "pdf", "utf-8"],
  6. "homepage": "http://mpdf.github.io",
  7. "license": ["GPL-2.0"],
  8. "authors": [
  9. {
  10. "name": "Ian Back",
  11. "role": "Developer"
  12. }
  13. ],
  14. "support": {
  15. "issues": "https://github.com/mpdf/mpdf/issues",
  16. "source": "https://github.com/mpdf/mpdf",
  17. "docs": "http://mpdf.github.io"
  18. },
  19. "require": {
  20. "php": ">=5.4.0",
  21. "ext-mbstring": "*",
  22. "setasign/fpdi": "1.6.*"
  23. },
  24. "require-dev": {
  25. "phpunit/phpunit": "^4.7"
  26. },
  27. "suggest": {
  28. "ext-zlib": "Needed for compression of embedded resources, such as fonts"
  29. },
  30. "autoload": {
  31. "classmap": ["mpdf.php", "classes"]
  32. },
  33. "scripts": {
  34. "post-install-cmd": [
  35. "php -r \"chmod('./ttfontdata', 0777);\"",
  36. "php -r \"chmod('./tmp', 0777);\"",
  37. "php -r \"chmod('./graph_cache', 0777);\""
  38. ]
  39. }
  40. }