Skip to content

Instantly share code, notes, and snippets.

@jwhulette
Last active July 25, 2021 22:59
Show Gist options
  • Save jwhulette/6153959d0aa099ad216e586da8feb2fe to your computer and use it in GitHub Desktop.
Save jwhulette/6153959d0aa099ad216e586da8feb2fe to your computer and use it in GitHub Desktop.
[Laravel Zero Hide Commands] #laravel #php
'hidden' => Phar::running() ? [
NunoMaduro\Collision\Adapters\Laravel\Commands\TestCommand::class,
NunoMaduro\LaravelConsoleSummary\SummaryCommand::class,
Symfony\Component\Console\Command\HelpCommand::class,
LaravelZero\Framework\Commands\MakeCommand::class,
LaravelZero\Framework\Commands\BuildCommand::class,
LaravelZero\Framework\Commands\InstallCommand::class,
LaravelZero\Framework\Commands\RenameCommand::class,
LaravelZero\Framework\Commands\StubPublishCommand::class,
Illuminate\Console\Scheduling\ScheduleRunCommand::class,
Illuminate\Console\Scheduling\ScheduleFinishCommand::class,
Illuminate\Foundation\Console\VendorPublishCommand::class,
Illuminate\Foundation\Console\JobMakeCommand::class,
Illuminate\Foundation\Console\ModelMakeCommand::class,
Illuminate\Foundation\Console\ConsoleMakeCommand::class,
Illuminate\Database\Console\Migrations\FreshCommand::class,
Illuminate\Database\Console\Migrations\InstallCommand::class,
Illuminate\Database\Console\Migrations\MigrateCommand::class,
Illuminate\Database\Console\Migrations\MigrateMakeCommand::class,
Illuminate\Database\Console\Migrations\RefreshCommand::class,
Illuminate\Database\Console\Migrations\ResetCommand::class,
Illuminate\Database\Console\Migrations\RollbackCommand::class,
Illuminate\Database\Console\Migrations\StatusCommand::class,
Illuminate\Database\Console\Factories\FactoryMakeCommand::class,
Illuminate\Database\Console\WipeCommand::class,
Illuminate\Database\Console\Seeds\SeedCommand::class,
Illuminate\Database\Console\Seeds\SeederMakeCommand::class,
Illuminate\Queue\Console\FailedTableCommand::class,
Illuminate\Queue\Console\FlushFailedCommand::class,
Illuminate\Queue\Console\ForgetFailedCommand::class,
Illuminate\Queue\Console\ListFailedCommand::class,
Illuminate\Queue\Console\ListenCommand::class,
Illuminate\Queue\Console\RestartCommand::class,
Illuminate\Queue\Console\RetryCommand::class,
Illuminate\Queue\Console\TableCommand::class,
Illuminate\Queue\Console\WorkCommand::class,
] : [],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment