Shift with red gradient lettering

Adopt stringables

Premium
Laravel 8+
Experimental

Convert Str calls to fluent stringable chains. If you are running Laravel 9, you may configure this task to use the new str() helper instead of prefixing a call to Str::of().

Before

Str::before(Str::lower('FooBar'), 'bar');

After

Str::of('FooBar')->lower()->before('bar');

← Back to the Workbench Tasks

Sign in with any of the following services to connect Shift with your Laravel project.


Don't use one of these services?

Temporarily push your project to a free, private repository on one of these cloud-based services or upgrade your project locally with Shift for Docker.