Skip to content

RemovalRules ​

php
final class Zairakai\LaravelDevTools\Services\RemovalRules

What the uninstall does with a file of the setup: remove it, or keep it and say why.

A file that is still what the package publishes is ours and goes. A file that the project changed is its own: it stays, except the files of config/dev-tools/ when the project asks to remove them all, and the thin files of the root, which point at config/dev-tools/ and would point at nothing.

Source: src/Services/RemovalRules.php

Constants ​

NameValueDescription
CONFIG_FOLDER'config/dev-tools/'

Methods ​

decide() ​

php
public static function decide(string $vendorPath, string $basePath, array $result, bool $customized): string

Null when the file is not ours to decide on (missing, or handled apart), 'remove', or the reason why it is kept.

Documentation of 5.5.0 , built from 92a7387 on 5.5.0 by pipeline #3086393151 on 2026-11-18.