{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/14954","repository_url":"https://api.github.com/repos/laravel/framework","labels_url":"https://api.github.com/repos/laravel/framework/issues/14954/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/14954/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/14954/events","html_url":"https://github.com/laravel/framework/issues/14954","id":172657913,"number":14954,"title":"[5.2] Str::slug and Ampersand","user":{"login":"CupOfTea696","id":7327050,"avatar_url":"https://avatars.githubusercontent.com/u/7327050?v=3","gravatar_id":"","url":"https://api.github.com/users/CupOfTea696","html_url":"https://github.com/CupOfTea696","followers_url":"https://api.github.com/users/CupOfTea696/followers","following_url":"https://api.github.com/users/CupOfTea696/following{/other_user}","gists_url":"https://api.github.com/users/CupOfTea696/gists{/gist_id}","starred_url":"https://api.github.com/users/CupOfTea696/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CupOfTea696/subscriptions","organizations_url":"https://api.github.com/users/CupOfTea696/orgs","repos_url":"https://api.github.com/users/CupOfTea696/repos","events_url":"https://api.github.com/users/CupOfTea696/events{/privacy}","received_events_url":"https://api.github.com/users/CupOfTea696/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-08-23T09:56:17Z","updated_at":"2016-08-24T11:35:23Z","closed_at":null,"body":"Just a thought, when using `Str::slug` it strips all special characters from a string, but it might be neat for it to replace ampersands with the word `and` (or localised version of the word) rather than just stripping them. Willing to create a PR if you think this is a good idea.\r\n\r\nE.g.\r\n```php\r\n// Current behaviour:\r\n$slug = Str::slug('Training & Development'); // training-development\r\n\r\n// New behaviour\r\n$slug = Str::slug('Training & Development'); // training-and-development\r\n```"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/242033376","html_url":"https://github.com/laravel/framework/issues/14954#issuecomment-242033376","issue_url":"https://api.github.com/repos/laravel/framework/issues/14954","id":242033376,"user":{"login":"CupOfTea696","id":7327050,"avatar_url":"https://avatars.githubusercontent.com/u/7327050?v=3","gravatar_id":"","url":"https://api.github.com/users/CupOfTea696","html_url":"https://github.com/CupOfTea696","followers_url":"https://api.github.com/users/CupOfTea696/followers","following_url":"https://api.github.com/users/CupOfTea696/following{/other_user}","gists_url":"https://api.github.com/users/CupOfTea696/gists{/gist_id}","starred_url":"https://api.github.com/users/CupOfTea696/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CupOfTea696/subscriptions","organizations_url":"https://api.github.com/users/CupOfTea696/orgs","repos_url":"https://api.github.com/users/CupOfTea696/repos","events_url":"https://api.github.com/users/CupOfTea696/events{/privacy}","received_events_url":"https://api.github.com/users/CupOfTea696/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T11:35:23Z","updated_at":"2016-08-24T11:35:23Z","body":"@GrahamCampbell I don't think it necessarily needs to go to 5.4. We could add it but without the translation so that in 5.2 & 5.3 it keeps the default behaviour, unless some one explicitly adds the translation? Just a thought."}}
{"actor":{"display_login":"CupOfTea696"}}