Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is pdftk a requirement for fpdm to work? #33

Open
kvijaykiran opened this issue Jul 24, 2020 · 5 comments
Open

Is pdftk a requirement for fpdm to work? #33

kvijaykiran opened this issue Jul 24, 2020 · 5 comments

Comments

@kvijaykiran
Copy link

Is fpdm a standalone php tool that can be used for filling PDF forms? Or does it require pdftk under the hood?

Thanks!

@imclean557
Copy link

pdftk is used for some features. Search for "pdftk" in the source to see where it is required. https://github.com/codeshell/fpdm/blob/master/src/fpdm.php

For example, currently fpdm requires pdftk to flatten a pdf.

See also: #23

@reddingwebpro
Copy link

@kvijaykiran - No it is not required if your PDF is already flat to begin with. However, if you receive an error, you might need to run pdftk server which is free.

@kvijaykiran
Copy link
Author

Thank you, @reddingwebpro and @imclean557.

@imclean557
Copy link

For a pure PHP solution if you can't or don't want to use pdftk, please review the pull request to add a "read only" option to prevent editing: #31

@samsong
Copy link

samsong commented Jul 12, 2021

@kvijaykiran - No it is not required if your PDF is already flat to begin with. However, if you receive an error, you might need to run pdftk server which is free.

wait what? How can you fill the form if it's already flat?

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

No branches or pull requests

4 participants