Skip to content
This repository has been archived by the owner on Jul 5, 2021. It is now read-only.

Use official tcpdf package to avoid conflicts #15

Open
barryvdh opened this issue Apr 9, 2020 · 1 comment
Open

Use official tcpdf package to avoid conflicts #15

barryvdh opened this issue Apr 9, 2020 · 1 comment

Comments

@barryvdh
Copy link

barryvdh commented Apr 9, 2020

Is there a reason that tcpdf is included instead of required via https://github.com/tecnickcom/TCPDF ?

This could lead to autoload problems, because tcpdf is required in the global namespace. If this version is copied directly, I would suggest namespacing the tcpdf classes to avoid potential conflicts (eg. other libraries using tcpdf)

@tamala73
Copy link

Is there a way to fix this? I do have a conflict -- trying to use this with elibyy\tcpdf

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants