mPDF Manual – mPDF Variables

exposeVersion

mPDF ≥ 8.0.4

By default, mPDF saves its version (version tag and short commit number when available) in /Producer tag in generated PDF file and returns it in X-Generator HTTP header when returning PDF via HTTP.

Default set as a configuration variable

Default value: true 

Set to false to return only mPDF in places mentioned above.

Fork me on GitHub