laravel / ideas

Issues board used for Laravel internals discussions.
939 stars 28 forks source link

@ character replacement as a function parameter in Illuminate\Str::slug #2462

Open glauberm opened 3 years ago

glauberm commented 3 years ago

The Illuminate\Str::slug function replaces the @ character with the word 'at' which hurts the internationalization of slugs a little bit. Would a PR that adds a parameter (e.g atSignReplacement = 'at') to allow customization of the replacement be accepted?