-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
45 lines (35 loc) · 1.13 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
declare(strict_types=1);
return [
/*
|--------------------------------------------------------------------------
| Default Hashid Configuration
|--------------------------------------------------------------------------
|
| This option controls the default configuration that gets used while
| using this hashids plugin. This configuration is used when another is
| not explicitly specified.
|
*/
'default' => 'main',
/*
|--------------------------------------------------------------------------
| Hashid Configurations
|--------------------------------------------------------------------------
|
| Here you may define all of the hashid "configurations" for
| your application.
|
*/
'configurations' => [
'main' => [
'salt' => 'insert-salt-string-here',
'length' => 10,
],
'different-configuration' => [
'salt' => 'insert-different-salt-string-here',
'length' => 100,
'alphabet' => 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890',
],
],
];