-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add PDFtk wrapper to /src/pdftk #39
Comments
/storage // Important: We will work with pdftk-php->getTmpFile (https://github.com/mikehaertl/php-pdftk?tab=readme-ov-file#temporary-file) // Case create document $fileUpload = $_FILES['pdf-upload'] $pdf = new Pdf($path); $file = $this->storage-write($content); // case create job $document = $this->storage->read(/documents/$folder_id / $document_id); $pdf->fill(..); $size === 1 only: $this->storage->write(/outputs/job_id/output_uid, $content); |
@edenst-TPH I have tested the same requests via Postman which worked fine. Consequently, we can stay with nyholm/psr7 and test the API with Postman or another more stable client. I hope that the authors of vscode-restclient will fix it soon. |
Added tests dae20cf |
@edenst-TPH pdftk & storage conceptWhere is pdftk required?
Action Summary
|
It could be useful to have a wrapper around php-pdftk that could be residing at
/src/Pdftk
analog to Filesystem.Only useful if we can save code duplication though.
The text was updated successfully, but these errors were encountered: