Download the PHP package teariot/beautyslug without Composer
On this page you can find all versions of the php package teariot/beautyslug. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download teariot/beautyslug
More information about teariot/beautyslug
Files in teariot/beautyslug
Download teariot/beautyslug
More information about teariot/beautyslug
Files in teariot/beautyslug
Vendor teariot
Package beautyslug
Short Description Lightweight PHP library for generating random readable slugs.
License MIT
Package beautyslug
Short Description Lightweight PHP library for generating random readable slugs.
License MIT
Please rate this library. Is it a good library?
Informations about the package beautyslug
BeautySlug
BeautySlug is a lightweight, flexible PHP library for generating beautiful, readable slugs.
🚀 Installation
Install via Composer:
⚡ Quick Usage
⚙️ Options
Option | Type | Description | Default |
---|---|---|---|
separator |
string |
Separator between words | - |
appendDigits |
bool |
Append random digits at the end | false |
digitsCount |
int |
Number of digits to append if enabled | 4 |
You can override options by passing an array as the second parameter to slug()
.
🧩 Available Word Categories
BeautySlug uses predefined word lists:
adjective
noun
color
season
emoji
verb
animal
cosmos
You can directly access random words:
📂 Example Script
See the examples/usage.php
file for more examples.
To run:
📄 License
Released under the MIT License.
Built with ❤️ by Teariot
All versions of beautyslug with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
The package teariot/beautyslug contains the following files
Loading the files please wait ....