Laravel Deploy Operations 7.x Help

Customize Stub

You may publish the stub used by the make:operation command and/or Laravel Idea plugin for JetBrains PhpStorm if you want to modify it.

php artisan vendor:publish --tag deploy-operations

This will create the file stubs/deploy-operation.stub, which you can modify to suit you.

<?php declare(strict_types=1); use DragonCode\LaravelDeployOperations\Operation; return new class extends Operation { public function __invoke(): void { // } };
02 April 2025