Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Last active August 24, 2020 21:05
Embed
What would you like to do?
<?php
$valorAleatorio = uniqid();
$slug = Str::of($titulo)->slug("-")->limit(255 - mb_strlen($valorAleatorio) - 1, "")->trim("-")->append("-", $valorAleatorio);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment