-
Notifications
You must be signed in to change notification settings - Fork 10.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding commonly used slugifying support to illuminate/support. #307
Conversation
Signed-off-by: Ben Corlett <[email protected]>
+1 |
I really only miss the slug function... +1 :) |
+1 |
👍 ! |
I use this one. +1 |
Agreed. I keep writing my own in every app I use. |
@darrennolan - I had a feeling there was a few of us doing this! |
I think we need to consider introducing a |
I would be all for the |
I'm working on something to solve this. |
setup virtual emailing for mailgun
I've previously stated my objections to having a full-blown string class / package in Laravel 4 due to the fact that many applications do not require it and there are many, many different packages out there to cater for different needs.
However, I think
slugifying
strings is something many applications will use. Whether it be for your next simple blog post to have friendly URLs, or your next product management suite to give automatic SKUs to products (I could go on), most apps have a need to create a simple, URL friendly string.I've done exactly this, by adding a
Slugify
class (open to suggestions on the name), with astr_slug()
helper.This PR relates to issue #69.