jeslopcru / simply-slug
Simple implementation for convert a string into a slug
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/jeslopcru/simply-slug
Requires
- php: >=5.5
- symfony/yaml: ^3.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.0
- phpunit/phpunit: ^4.0
This package is not auto-updated.
Last update: 2025-10-15 15:10:55 UTC
README
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