Laravel génère des limaces
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use Illuminate\Support\Str;
class SlugController extends Controller
{
public function show()
{
$slug = [
Str::slug('Laravel 5 Framework', '-'),
Str::slug('артел модеб 65 маркаси', '-'),
Str::slug('Namangan viloyati ', '-'),
];
return $slug;
}
}
Shadow