keyvanakbary / Slugifier
Licence: mit
Just a simple, clean and pure functional implementation for creating slugs
Stars: ✭ 69
Labels
Projects that are alternatives of or similar to Slugifier
Laravel Hashslug
Package providing a trait to use Hashids on a model
Stars: ✭ 136 (+97.1%)
Mutual labels: slug
Friendly id
FriendlyId is the “Swiss Army bulldozer” of slugging and permalink plugins for ActiveRecord. It allows you to create pretty URL’s and work with human-friendly strings as if they were numeric ids for ActiveRecord models.
Stars: ✭ 5,767 (+8257.97%)
Mutual labels: slug
mongoose-slug-plugin
Slugs for Mongoose with history and i18n support (uses speakingurl by default, but you can use any slug library such as limax, slugify, mollusc, or slugme)
Stars: ✭ 21 (-69.57%)
Mutual labels: slug
Eloquent Sluggable
Easy creation of slugs for your Eloquent models in Laravel
Stars: ✭ 3,321 (+4713.04%)
Mutual labels: slug
Github Slug Action
GitHub Action to expose slug value of GitHub environment variables inside your GitHub workflow
Stars: ✭ 96 (+39.13%)
Mutual labels: slug
github-env-vars-action
🚀 GitHub Action for Environment Variables
Stars: ✭ 129 (+86.96%)
Mutual labels: slug
Urlify
A fast PHP slug generator and transliteration library that converts non-ascii characters for use in URLs.
Stars: ✭ 633 (+817.39%)
Mutual labels: slug
mongoose-slug-updater
Schema-based slug plugin for Mongoose - single/compound - unique over collection/group - nested docs/arrays - relative/abs paths - sync on change: create/save/update/updateOne/updateMany/findOneAndUpdate tracked - $set operator - counter/shortId
Stars: ✭ 37 (-46.38%)
Mutual labels: slug
Limax
Node.js module to generate URL slugs. Another one? This one cares about i18n and transliterates non-Latin scripts to conform to the RFC3986 standard. Mostly API-compatible with similar modules.
Stars: ✭ 423 (+513.04%)
Mutual labels: slug
Slug Generator
Slug Generator Library for PHP, based on Unicode’s CLDR data
Stars: ✭ 740 (+972.46%)
Mutual labels: slug
Speakingurl
Generate a slug – transliteration with a lot of options
Stars: ✭ 1,056 (+1430.43%)
Mutual labels: slug
Slug
URL-friendly slugify with multiple languages support.
Stars: ✭ 632 (+815.94%)
Mutual labels: slug
Slugifier
A full-featured, simple, clean and pure functional implementation for creating slugs. No third party libraries or extensions needed.
Installation
composer require keyvanakbary/slugifier
Usage
use slugifier as s;
s\slugify('JúST å fëw wørds'); // just-a-few-words
s\slugify('Αυτή είναι μια δοκιμή'); // ayti-einai-mia-dokimi
s\slugify('Wikipedia style', '_'); // wikipedia_style
Modifiers
Sometimes the default character map is not accurate enough. Slugifier supports custom modifiers
s\slugify('Pingüino', '-', ['ü' => 'u']); // pinguino
Some language iso code modifiers are supported
s\slugify('Estaĵo', '-', s\MOD['eo']); // estajxo
s\slugify('Örnektir', '-', s\MOD['tr']); // ornektir
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].