Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Slugify Bundle Laravel Package

eschmar/slugify-bundle

View on GitHub
Deep Wiki
Context7

SlugifyBundle

Provides static method to convert strings to slugs as well as a twig filter for symfony. If you only need the static class, you'll find it here.

Install

Composer (Packagist):

composer require eschmar/slugify-bundle ~v2.0 # Symfony Flex
composer require eschmar/slugify-bundle ~v1.0 # Symfony 2

app/Appkernel.php:

new Eschmar\SlugifyBundle\EschmarSlugifyBundle(),

Usage

use Eschmar\SlugifyBundle\Util\Slug;
$test = Slug::ify("String to be slugified");
// results in $test == "string-to-be-slugified"

Twig Extension

{{ "String to be slugified"|slugify }}

License

MIT License

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
snowsoft/faker
meditationsteps/blogetc
animalyoung/laravel-influxdb
onix-solutions/sms-telera
lonely-lights/prosetta
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen