Skip to content

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

License

Notifications You must be signed in to change notification settings

darkotodoric/url-slug-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Slug Generator

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages