get string length in laravel code example Example: find string lenght in php Use the PHP strlen() function