Skip to content

PublishToolingCommand ​

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

Publishes Zairakai Dev Tools configuration into the project.

Default behavior (no options):

  • Copies Makefile to project root
  • Copies .editorconfig to project root
  • Copies config/dev-tools/baseline.neon (empty baseline, skipped if exists)

Publishing on demand: --publish → publish all groups (quality, style, testing, hooks) --publish=quality → publish quality group (phpstan, rector, insights, baseline) --publish=style → publish style group (pint, markdownlint) --publish=testing → publish testing group (phpunit) --publish=hooks → publish git hooks to .githooks/ --publish=pint → publish a single config file by key

Git hooks: --with-hooks → install git hooks into .githooks/ and configure git

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

Methods ​

handle() ​

php
public function handle(): int

Execute the console command.

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