Download the PHP package vipinbose/hashids-bundle without Composer
On this page you can find all versions of the php package vipinbose/hashids-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vipinbose/hashids-bundle
More information about vipinbose/hashids-bundle
Files in vipinbose/hashids-bundle
Package hashids-bundle
Short Description Integrates hashids/hashids in a Symfony project
License MIT
Informations about the package hashids-bundle
HashidsBundle
Integrates hashids/hashids in a Symfony project.
Installation using composer
These commands requires you to have Composer installed globally.
Open a command console, enter your project directory and execute the following
commands to download the latest stable version of this bundle:
Using Symfony Flex
Using Symfony Framework only
If this has not been done automatically, enable the bundle by adding the
following line in the config/bundles.php
file of your project:
Configuration
The configuration (config/packages/vipinbose_hashids.yaml
) looks as follows :
Usage
Next it's the same things of official documentation.
Hashids Converter
Converter Name: hashids.converter
The hashids converter attempts to convert any attribute set in the route into an integer parameter.
You should use hashid
:
Using auto_convert
auto_convert
tries to convert all arguments in controller.
Twig Extension
Usage
All versions of hashids-bundle with dependencies
doctrine/orm Version ^3.2
hashids/hashids Version ^4.1
symfony/doctrine-bridge Version ^6.4
symfony/http-foundation Version ^6.0
symfony/http-kernel Version ^6.0
symfony/framework-bundle Version ^6.0
symfony/twig-bundle Version ^6.0
symfony/yaml Version ^6.0