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, markdownlintignore) --publish=testing → publish testing group (phpunit) --publish=hooks → activate the git hooks of laravel-dev-tools --publish=pint → publish a single config file by key

Git hooks: --with-hooks → activate the git hooks of laravel-dev-tools (core.hooksPath)

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

Methods ​

handle() ​

php
public function handle(): int

Execute the console command.

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