Laravel str :: acak
use Illuminate\Support\Str;
$random = Str::random(40);
Modern Marten
use Illuminate\Support\Str;
$random = Str::random(40);
use Illuminate\Support\Facades\Schema;
public function boot()
{
Schema::defaultStringLength(191);
}
use Illuminate\Support\Facades\Schema;
public function boot()
{
Schema::defaultStringLength(191);
}