ucarsolutions / laminas-uri-signer
A Laminas/Mezzio module for using ucarsolutions/uri-signer, a minimal package for securely signing PSR-15 URIs in PHP applications.
0.0.3
2025-09-24 06:06 UTC
Requires
Requires (Dev)
- phpstan/phpstan: ^1.12
- phpunit/phpunit: ^11.3
README
A URL signer implementation for Laminas and Mezzio that generates secure, signed URLs with an expiration date. This package allows you to sign full URLs or just query parameters, adding a layer of security for accessing resources or sharing sensitive information.
Features
- Sign a given URI
- Include an expiration date as part of the signature
- Ensure URL integrity and prevent unauthorized modifications
- Easy integration with Laminas/Mezzio or other PHP-based frameworks
Installation
Install the package via Composer:
composer require ucarsolutions/laminas-uri-signer
Tests
Run the tests with PHPUnit:
vendor/bin/phpunit
Contributing
Contributions are welcome! Please submit a pull request or open an issue for any suggestions or bug reports.
Contribution Guidelines:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Write tests for your changes.
- Make sure all tests pass.
- Submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.