46 lines
1.3 KiB
PHP
46 lines
1.3 KiB
PHP
<?php
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Default Connection Name
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here 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.
|
|
|
|
|
*/
|
|
|
|
'default' => 'main',
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Hashids Connections
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here are each of the connections setup for your application. Example
|
|
| configuration has been included, but you may add as many connections as
|
|
| you would like.
|
|
|
|
|
*/
|
|
|
|
'connections' => [
|
|
|
|
'main' => [
|
|
'salt' => 'Nqy+T6emZLbhzW08gaZqWEtgEv/habWV4zWYWREv2wM=',
|
|
'length' => 8,
|
|
// 'alphabet' => 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890'
|
|
],
|
|
|
|
'alternative' => [
|
|
'salt' => 'your-salt-string',
|
|
'length' => 'your-length-integer',
|
|
// 'alphabet' => 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890'
|
|
],
|
|
|
|
],
|
|
|
|
];
|