GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • zairakai/laravel-dev-tools
  • Guide
  • Reference
  • GitLab
  • DevToolsPlugin
  • ClearActivationCommand
  • CleanAfterIdeHelperCommand
  • PublishToolingCommand
  • RemoveTrailingSlashesCommand
  • PublishOutput
  • LaravelDevToolsServiceProvider
  • RectorBaseConfig
  • BaseFilesPublisher
  • CodeSpreader

This view

  • Original page
  • New address

GeezerVison is showing laravel-dev-tools-8745c7.gitlab.io — SetupChecker | zairakai/laravel-dev-tools

SetupChecker ​

php
final class Zairakai\LaravelDevTools\Services\SetupChecker

Tells what the setup would publish that the project does not have, or has differently.

The files are generated in a temporary folder with the code of the setup itself (ConfigStubPublisher), then compared with the ones of the project. Nothing is written in the project. A file that differs can be a change of the project or a file late on the package: the check cannot tell, it shows the difference.

Source: src/Services/SetupChecker.php

Constants ​

NameValueDescription
DIFFERENT'different'
MISSING'missing'
SAME'same'

Methods ​

check() ​

php
public function check(string $vendorPath, string $basePath): array

Returns list<array{file: string, state: string, detail: string}>

inspect() ​

php
public function inspect(string $vendorPath, string $basePath, callable $then): mixed

Generates the files of the setup in a temporary folder, compares them with the project's, calls $then with the folder and the results, then removes the folder. The project is not written here.

Returns T

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.