PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of afshin akhgar   PHP Slug Generator   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP Slug Generator
Create a slug text for a URL from another text
Author: By
Last change: Update README.md
support added to introduction
Date: 7 years ago
Size: 556 bytes
 

Contents

Class file image Download

php-slugit

create url slug from a text and replace special character

Install

composer install
Direct install from composer
composer require afshinpersian/phpslugger

Include it via Composer Autoloader

require __DIR__ . '/vendor/autoload.php';
use PhpSlugger\PhpSlugger;

$phpSlugger = new PhpSlugger();
echo $phpSlugger->slugit('? ? $ Þ ?  I am A web Developer'); // delta-euro-dollor-l-i-am-a-web-developer

support