Laravel sprawdź, czy ciąg jest adresem URL
if (filter_var($string, FILTER_VALIDATE_URL)) {
// you're good
}
Lokesh003Coding
if (filter_var($string, FILTER_VALIDATE_URL)) {
// you're good
}
Check if URL has certain string with PHP - Stack Overflow