Download the PHP package pgs-soft/hashid-bundle without Composer
On this page you can find all versions of the php package pgs-soft/hashid-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package hashid-bundle
/ HashId
Symfony bundle for encoding integer route parameters and decoding request parameters with http://www.hashids.org/
Please use this version with Symfony ≥5.0
Replace predictable integer url parameters in easy way:
/hash-id/demo/decode/216/30
=>/hash-id/demo/decode/X46dBNxd79/30
/order/315
=>/order/4w9aA11avM
Pros:
- no need to use extra filters - use
{{ url('route_name', {'id': 1}) }}
in twig template or$this->generateUrl('route_name', ['id' => 1]);
in controller or service - Doctrine Converter compatible
Instalation
Hashids configuration
Controller configuration
You can also check our DemoController.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/PGSSoft/HashId.
About
The project maintained by software development agency PGS Software. See our other open-source projects or contact us to develop your product.
Follow us
All versions of hashid-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2.5
symfony/dependency-injection Version ^4.1.12|^5.0
symfony/config Version ~4.4|~5.0
doctrine/annotations Version ^1.6
hashids/hashids Version >=2.0
symfony/routing Version ^5.0
symfony/dependency-injection Version ^4.1.12|^5.0
symfony/config Version ~4.4|~5.0
doctrine/annotations Version ^1.6
hashids/hashids Version >=2.0
symfony/routing Version ^5.0
The package pgs-soft/hashid-bundle contains the following files
Loading the files please wait ....