Shift with red gradient lettering

Blade Directives

Premium
Laravel

Modernize outdated HTML and Blade directives with the latest equivalents.

Before

<input type="hidden" name="_method" value="DELETE">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
 
@if(Auth::check())
<!-- // --->
@endif

After

@method('DELETE')
@csrf
 
@auth
<!-- // --->
@endauth

← 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.