PHP Classes

I need a PHP class for capturing a pdf signature: Capture user signature and insert into existing PDF document

Recommend this page to a friend!
  All requests RSS feed  >  I need a PHP class for capturing a pd...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

I need a PHP class for capturing a pdf signature

A request is featured when there is no good recommended package on the site when it is posted. Edit

Picture of Vez Moyo by Vez Moyo - 3 years ago (2020-12-29)

Capture user signature and insert into existing PDF document

This request is clear and relevant.
This request is not clear or is not relevant.

+1

I would like to use a Web form to capture data and a user's signature and insert all the fields on an existing PDF document.

  • 3 Clarification requests
  • 3. Picture of Jason Olson by Jason Olson - 3 years ago (2021-01-08) Reply

    I have implemented something like what you’re looking for and can make some code available. Do you still have this need? Also, just to clarify, are you looking to capture the image of a signature and insert that into a pdf document or are you talking about digital signatures?

    • 2. Picture of Dave Smith by Dave Smith - 3 years ago (2021-01-08) Reply

      Ultimately the problem you run into is that the intellectual property for Acrobat is owned by Odobe and you have to pay licensing fees to use it. This is why we use SAAS (software as a service) providers who pay those fees and we just wrap a class around their service.

      • 1. Picture of Stefan Kientzler by Stefan Kientzler - 3 years ago (2020-12-30) Reply

        I think you are dealing with several (partly) completely different problems - as long as 'signature' is not a digital signature but a handwritten signature - otherwise you would not ask for a form-based solution. If this is the case, the following steps are necessary: 1. The handwritten signature must be recorded by some device (smartphone, tablet, ...) and be available in digital form (as a graphic) - this can only be a client-side solution (... not PHP from the server). 2. This package recording the 'signature' in graphic form must be able to sent this to the server together with other data from the form 3. A package on the server must be able to fill in the received data in an existing PDF form (both text and graphics)

        .. I myself dont know any solution for the first problem (because in my opinion it is too device-dependent and above all only solvable on the client side - so not in PHP) nor for the second problem (edit an existing PDF form and, above all, where should which data be entered in which form? )

        You may get more or better help if you ask specifically about these two problems.

        If I have misunderstood the question regarding 'signature' and it is actually about a digital signature (... even if I don't know how to enter such one one in a form ..) then just ignore this post

        Ask clarification

        2 Recommendations

        everSign PHP Document Signing: Digital signature of PDF documents with everSign

        This recommendation solves the problem.
        This recommendation does not solve the problem.

        0

        Picture of Manuel Lemos by Manuel Lemos Reputation 23700 - 3 years ago (2020-12-30) Comment

        This package can do part of what you want, which is to sign a PDF document with a given signature. The Web based user interface needs to be implemented by some other class. Maybe somebody contributes a package that can do that part.

        • 4 Comments
        • 3. Picture of Francisco Núñez by Francisco Núñez - 3 years ago (2020-12-30) in reply to comment 2 by Manuel Lemos Reply

          Vez is looking for a class that does what he asks. If you developed a class to help adding content on PDF document, submit it here so you can recommend it.

        • 4. Picture of Manuel Lemos by Manuel Lemos - 3 years ago (2020-12-30) in reply to comment 3 by Francisco Núñez Reply

          Please be respectful about the work of others. The recommended package does part of what he ask. If you think otherwise prove it.

        • 5. Picture of Francisco Núñez by Francisco Núñez - 3 years ago (2020-12-30) in reply to comment 2 by Manuel Lemos Reply

          You cannot recommend something that does not exist in this network ... if you had read the post, you would see that I include the external resource that if it solves the problem, you are also suggesting adding digital signatures when the person wants to add / insert content to the pdf ...

        • 6. Picture of Manuel Lemos by Manuel Lemos - 3 years ago (2020-12-30) in reply to comment 5 by Francisco Núñez Reply

          Adding signatures to a PDF document is part of what Vez is asking. That is implemented by the EverSign service. The recommended package uses the EverSign service to insert signatures by calling its API.

          Try to study better what the recommended package does so you learn and may be use it some day, in case you ever need it.

          If you want to recommend a package that does the rest, contribute a package to this site that does it. Maybe you can even be nominated to the PHP Innovation Award and win prizes and recognition.


        BEH Basic PHP Error Handler Class: Handle PHP errors displaying them using templates

        This recommendation solves the problem.
        This recommendation does not solve the problem.

        -1

        Picture of Francisco Núñez by Francisco Núñez package author package author Reputation 20 - 3 years ago (2020-12-30) Comment

        you must request the php library to alter pdf files; inserting captured data from html form. the title of this request is ambiguous, I would even think that you need to use some OCR library to capture signatures that are already in the PDF files...

        www.setasign.com/products/fpdi/about

        stackoverflow.com/a/1700500/4717133

        • 1 Comment
        • 1. Picture of Manuel Lemos by Manuel Lemos - 3 years ago (2020-12-30) Reply

          Vez is looking for a class that does what he asks. If you developed a class to help capturing signatures to put on PDF document, submit it here so you can recommend it.


        Recommend package
        : 
        :