hashids.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. /**
  3. * Copyright (c) Vincent Klaiber.
  4. *
  5. * For the full copyright and license information, please view the LICENSE
  6. * file that was distributed with this source code.
  7. *
  8. * @see https://github.com/vinkla/laravel-hashids
  9. */
  10. return [
  11. /*
  12. |--------------------------------------------------------------------------
  13. | Default Connection Name
  14. |--------------------------------------------------------------------------
  15. |
  16. | Here you may specify which of the connections below you wish to use as
  17. | your default connection for all work. Of course, you may use many
  18. | connections at once using the manager class.
  19. |
  20. */
  21. 'default' => 'main',
  22. /*
  23. |--------------------------------------------------------------------------
  24. | Hashids Connections
  25. |--------------------------------------------------------------------------
  26. |
  27. | Here are each of the connections setup for your application. Example
  28. | configuration has been included, but you may add as many connections as
  29. | you would like.
  30. |
  31. */
  32. 'connections' => [
  33. 'main' => [
  34. 'salt' => env('APP_KEY'),
  35. 'length' => '32',
  36. // 'alphabet' => 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890'
  37. ],
  38. 'alternative' => [
  39. 'salt' => env('APP_KEY'),
  40. 'length' => '32',
  41. // 'alphabet' => 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890'
  42. ],
  43. ],
  44. ];