PHP Classes

File: config/laravel-unique-slug.php

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   Laravel Unique Slug Generator   config/laravel-unique-slug.php   Download  
File: config/laravel-unique-slug.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Laravel Unique Slug Generator
Laravel service to generate URL slug text
Author: By
Last change:
Date: 11 months ago
Size: 667 bytes
 

Contents

Class file image Download
<?php

return [
   
/*
    |--------------------------------------------------------------------------
    | Slug default separator.
    |--------------------------------------------------------------------------
    |
    | If no separator is passed, then this default separator will be used as slug.
    |
    */
   
'separator' => '-',

   
/*
    |--------------------------------------------------------------------------
    | Slug max count limit
    |--------------------------------------------------------------------------
    |
    | Default 100, slug will generated like
    | test-1, test-2, test-3 .... test-100
    |
    */
   
'max_count' => 100,
];