Download the PHP package owenoj/pdf-password-protect without Composer
On this page you can find all versions of the php package owenoj/pdf-password-protect. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download owenoj/pdf-password-protect
More information about owenoj/pdf-password-protect
Files in owenoj/pdf-password-protect
Package pdf-password-protect
Short Description Laravel package to password protect pdfs
License MIT
Homepage https://github.com/owen-oj/pdf-password-protect
Informations about the package pdf-password-protect
Laravel PDF Password Protect
Simple wrapper package around MPDF's setProtection
method that allows you to set password on PDF files.
Installation
You can install the package via composer:
Usage
You can use via Facade like so:
Encrypt method in detail
- $inputFile and $outputFile has to be a path like
storage_path("pdf/document.pdf")
The final file will be located in storage/pdf
as encrypted-document.pdf
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Owen Jubilant
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.
All versions of pdf-password-protect with dependencies
illuminate/support Version ^8.0|^9.0|^10.0|^11.0
mpdf/mpdf Version ^8.0