Skip to content

RemoveTrailingSlashesCommand ​

php
final class Zairakai\LaravelDevTools\Console\Commands\Dev\RemoveTrailingSlashesCommand extends Command

Command to remove trailing slashes from self-closing HTML tags in Blade files.

Supports dry-run mode and optional path argument.

Source: src/Console/Commands/Dev/RemoveTrailingSlashesCommand.php

Methods ​

__invoke() ​

php
public function __invoke(): void

Invoke the command. Acts as a callable alias for handle().

handle() ​

php
public function handle(): void

Execute the console command.

Documentation of 4.3.0 , built from 0bcdf31 on 4.3.0 by pipeline #2936310886 on 2026-10-11.