{"repo":"vinkla/laravel-hashids","free":true,"listed":false,"github":"https://github.com/vinkla/laravel-hashids","clone":"git clone https://github.com/vinkla/laravel-hashids.git","description":"A Hashids bridge for Laravel","language":"PHP","stars":2058,"topics":["php","hashids","laravel","composer"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Laravel Hashids A Hashids bridge for Laravel. [!NOTE] The creator of Hashids has released a new, upgraded version rebranded as Sqids . However, Hashids will continue to be maintained and available for future use. For more information, please visit the Sqids repository and learn how it compares to Hashids on the Sqids website. The API is so simple that you don't need a Laravel package at all. Installation Require this package, with Composer, in the root directory of your project. Configuration Laravel Hashids requires connection configuration. To get started, you'll need to publish all vendor assets: This will create a config/hashids.php file in your app that you can modify to set your configuration. Also, make sure you check for changes to the original config file in this package between releases. Default Connection Name This option default is where you may specify which of the connections below you wish to use as your default connection for all work. Of course, you may use many connections at once using the manager class. The default value for this setting is main . Hashids Connections This option connections is where each of the connections are setup for your application. Example configuration has been included, but you may add as many connections as you would like. Usage Here you can see an example of you may use this package. Out of the box, the default adapter is main . After you enter your authentication details in the config file, it will just work: The manager will be","default_branch":null,"files":null,"tree":[],"storefront":"/r/vinkla","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vinkla/laravel-hashids/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}