https://github.com/amirrh6/simpleslug
SimpleSlug is an easy-to-use PHP library that allows you to create random, entertaining, and occasionally meaningful slugs (combinations).
https://github.com/amirrh6/simpleslug
php php8 random-words slug slug-generator
Last synced: 2 months ago
JSON representation
SimpleSlug is an easy-to-use PHP library that allows you to create random, entertaining, and occasionally meaningful slugs (combinations).
- Host: GitHub
- URL: https://github.com/amirrh6/simpleslug
- Owner: amirrh6
- Created: 2024-10-31T19:50:07.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-02T22:17:28.000Z (7 months ago)
- Last Synced: 2025-04-01T12:24:28.223Z (2 months ago)
- Topics: php, php8, random-words, slug, slug-generator
- Language: PHP
- Homepage: https://packagist.org/packages/amirrh6/simpleslug
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SimpleSlug
SimpleSlug is an easy-to-use PHP library that allows you to create random, entertaining, and occasionally meaningful slugs (combinations).
Say goodbye to random strings like 'q8s46k0' and hello to catchy slugs like 'gigantic flat dog,' making them much easier to recognize.
SimpleSlug is still in early development stages so expect bugs and non-backward compatible changes.
Use Github Issues for comments, bug reports and questions.
## Installation:
`composer require amirrh6/simpleslug`## Usage:
```php
generate(words_count: 4) . "\n");
} else {
print_r($simpleSlug->generate() . "\n");
}
}/*
// May output something similar to:Cubic African rabbit
Flat yellow Italian fox
Curious blue lamp
Italian traveling cat
American leather cat
*/
```
## License:[GPL 2.0 only](https://spdx.org/licenses/GPL-2.0-only.html)