https://github.com/afshinakhgar/phpslugger
create url slug from a text and replace special character
https://github.com/afshinakhgar/phpslugger
php php7 replace-text slug slug-generator slugbuilder sluggable slugger slugification slugify slugs
Last synced: 9 days ago
JSON representation
create url slug from a text and replace special character
- Host: GitHub
- URL: https://github.com/afshinakhgar/phpslugger
- Owner: afshinakhgar
- License: mit
- Created: 2016-11-07T13:31:55.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-01T11:55:26.000Z (over 7 years ago)
- Last Synced: 2025-03-27T10:21:21.696Z (27 days ago)
- Topics: php, php7, replace-text, slug, slug-generator, slugbuilder, sluggable, slugger, slugification, slugify, slugs
- Language: PHP
- Size: 5.86 KB
- Stars: 5
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# php-slugit
create url slug from a text and replace special character### Install
```php
composer install
```
##### Direct install from composer
```php
composer require afshinpersian/phpslugger
```
### Include it via Composer Autoloader
```php
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
- [jquery Slug Plugin text2slug](https://github.com/afshinpersian/text-to-slug)