I\'m doing the following in the
public function boot(DispatcherContract $events) { parent::boot($events); // set Tag slug Tag::saving(function(
Edit: As samiles pointed out, str_slug($text) has been removed in Laravel 6.0.
str_slug($text)
In Laravel 5 you can use str_slug($text) directly. You no longer have to use the Facade.
http://laravel.com/docs/5.1/helpers#method-str-slug