定制 indracollective/laravel-artisan-find 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

indracollective/laravel-artisan-find

Composer 安装命令:

composer require --dev indracollective/laravel-artisan-find

包简介

Quickly discover and build Laravel artisan commands through guided questioning and intelligent exploration

README 文档

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Quickly discover and build Laravel artisan commands through guided questioning and intelligent exploration.

Laravel Find transforms the way you work with artisan commands by providing an interactive, guided interface that helps you discover, understand, and build commands with confidence. Inspired by the Socratic tradition of learning through inquiry, this package uses thoughtful questioning to lead you to the exact command you need.

Demo

Philosophy

Traditional command-line interfaces require you to know exactly what you're looking for. Laravel Find flips this approach by:

  • Discovering through exploration - Browse commands by type, vendor, or search interactively
  • Learning through guidance - See command descriptions, arguments, and options before committing
  • Building with confidence - Preview your complete command before execution
  • Accelerating learning - Speeds up discovery and usage of artisan commands while building your own knowledge of them

Features

  • 🔍 Smart Command Discovery - Interactive search with real-time filtering
  • 📝 Interactive Command Building - Guided prompts for arguments and options
  • 📋 Clipboard Integration - Copy completed commands directly to your clipboard
  • 🎯 Search Prefilling - Start with a specific search term: php artisan find make:model
  • 👀 Preview Before Copy - See exactly what will be copied before committing
  • 🏷️ Vendor Detection - Automatically categorizes commands by their source (Laravel, Livewire, Filament, etc.)
  • Zero Configuration - Works out of the box with any Laravel application

Installation

You can install the package via composer:

composer require --dev indracollective/laravel-artisan-find

The package will automatically register itself via Laravel's package discovery.

Usage

Basic Usage

Simply run the find command to start the interactive interface:

php artisan find

Or prefill with a search term to jump straight to relevant commands:

php artisan find controller

How It Works

  1. Interactive Discovery: Search through all available commands with real-time filtering
  2. Guided Selection: Choose your command from intelligently filtered suggestions
  3. Build Your Command: Follow guided prompts for required arguments and optional parameters
  4. Preview & Copy: Review your complete command, then copy it to clipboard for immediate use

Usage Examples

Quick Discovery

Start typing and watch the list filter in real-time:

php artisan find
# Type "migr" to see: migrate, migrate:fresh, migrate:rollback, etc.

Targeted Search

Jump directly to commands you know you need:

php artisan find controller    # Shows all controller-related commands
php artisan find queue         # Shows all queue-related commands
php artisan find test          # Shows testing commands

Vendor-Specific Commands

Discover commands from your installed packages:

php artisan find filament      # Shows Filament commands
php artisan find livewire      # Shows Livewire commands
php artisan find pest          # Shows Pest testing commands

Requirements

  • PHP 8.2 or higher
  • Laravel 11.0 or 12.0
  • Terminal that supports Laravel Prompts

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

indracollective/laravel-artisan-find 适用场景与选型建议

indracollective/laravel-artisan-find 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3 次下载、GitHub Stars 达 1, 最近一次更新时间为 2025 年 09 月 12 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「cli」 「commands」 「terminal」 「laravel」 「interactive」 「artisan」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 indracollective/laravel-artisan-find 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 indracollective/laravel-artisan-find 我们能提供哪些服务?
定制开发 / 二次开发

基于 indracollective/laravel-artisan-find 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-12