darkotodoric/url-slug-generator

URL Slug Generator simplifies the process of creating clean and SEO-friendly URLs

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/darkotodoric/url-slug-generator

v1.0 2024-01-08 11:04 UTC

This package is auto-updated.

Last update: 2025-12-17 22:50:57 UTC


README

Packagist License Packagist Version

URL Slug Generator simplifies the process of creating clean and SEO-friendly URLs

Installation

Install the latest version with:

$ composer require darkotodoric/url-slug-generator

Usage

<?php

require_once 'vendor/autoload.php';

$slugGenerator = new SlugGenerator();

$slug = $slugGenerator->make('Golden Globes 2024: Oppenheimer and Succession sweep up');
// golden-globes-2024-oppenheimer-and-succession-sweep-up

$slug = $slugGenerator->make('I’ve looked through LG’s new transparent OLED TV, and seen something special!');
// i-ve-looked-through-lg-s-new-transparent-oled-tv-and-seen-something-special

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to improve this project.