File: src/Helpers.php

Recommend this page to a friend!
  Classes of Moamen Eltouny  >  PHP Slugify  >  src/Helpers.php  >  Download  
File: src/Helpers.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Slugify
Create a slug text from a given text string
Author: By
Last change:
Date: 5 months ago
Size: 192 bytes
 

Contents

Class file image Download
<?php

use Pharaonic\Slugify\Slugify;

/**
 * Get Slug from String
 *
 * @param string $string
 * @return string
 */
function slug(string $string = null)
{
    return
Slugify::get($string);
}

For more information send a message to info at phpclasses dot org.