norman-huth/find-command 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

norman-huth/find-command

最新稳定版本:v1.2.1

Composer 安装命令:

composer require norman-huth/find-command

包简介

README 文档

README

A 3rd party command for the Frameworks Symfony ^6.2|^7.0+ and Laravel ^10.0|^11.0+.
This command can be used to search for other commands in a Symfony or Laravel application.
It uses Laravel Prompts under the hoods.

preview

Install

composer require norman-huth/find-command

Usage

Laravel

Run the command.

php artisan find

Symfony

Register the \NormanHuth\FindCommand\SymfonyFindCommand in Your application and run the command.

php bin/console find
Except Commands

Add the method exceptFromFindCommand to the command:

class MyCommand extends Command
{
    /**
     * Except this command from the find command.
     */
    public function exceptFromFindCommand(): bool
    {
        return true;
    }
class MyCommand extends Command
{
    /**
     * Except this command from the find command.
     */
    public function exceptFromFindCommand(): bool
    {
        return config('app.env') != 'local';
    }
Search in the arguments and options descriptions too
php artisan find --deep
php bin/console find --deep

preview

统计信息

  • 总下载量: 432
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-04-12