jeslopcru/simply-slug

Simple implementation for convert a string into a slug

dev-master 2017-04-22 19:04 UTC

This package is not auto-updated.

Last update: 2024-11-13 10:35:39 UTC


README

Build Status Scrutinizer Code Quality

SimplySlug is a Simple implementation for creating slug based on keyvanakbary/slugifier.

Instalation

To install this package, run the command below and you will get the latest version

composer require jeslopcru/simply-slug

Usage

<?php

$simplySlug =  new \SimplySlug();

echo $simplySlug->drools('JúST å fëw wørds'); // just-a-few-words

echo $simplySlug->drools('Hello WikiPeDiA StYle', '_'); // hello_wikipedia_style