@deprecated Str::slug() should be used directly instead. Will be removed in Laravel 6.0. code example Example: Call to undefined function App\Models\str_slug() composer require laravel/helpers