Funkcja pomocnika Laravel dla ciągu istnieje w innym ciągu

use Illuminate\Support\Str;

$contains = Str::contains('This is my name', 'my');
Mohamad