承接 pigeonboys/pigeon-cli 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

pigeonboys/pigeon-cli

Composer 安装命令:

composer require pigeonboys/pigeon-cli

包简介

This repository contains a collection of custom commands to simplify development workflows, including Docker management, Git operations, and Laravel Sail interactions.

README 文档

README

Introduction

This repository contains a collection of custom commands to simplify development workflows, including Docker management, Git operations, and Laravel Sail interactions. It streamlines common tasks, helping developers automate and speed up their processes.

Requirements

  • Composer 2.0 or later

To easily run Composer-installed executables from your terminal, add the Composer vendor bin directory to your shell's PATH. This avoids having to specify the full path each time.

  1. Open your shell configuration file in a text editor (e.g. nano ~/.bashrc).

  2. Add the following line to the file:

    export PATH="$PATH:$HOME/.config/composer/vendor/bin"
  3. Save the file.

  4. Apply the changes to your current shell session by sourcing the configuration file:

    source ~/.bashrc

Installation

composer global require pigeonboys/pigeon-cli

Commands

Command Arguments Description
antiglare state, ticks Antiglare adjusts the angle of the blinds based on a given state (up, down, stop, or a percentage) and the number of ticks determines the angle change.
d Checks for the existence of a .env file and loads the PROJECT_NAME environment variable from it. It then runs a command inside a Docker container matching the $PROJECT_NAME variable and starting with "web." If the first argument ($1) is not one of bash, composer, npm, pest, or pint, it defaults to running a Laravel Artisan command (php artisan). If the argument matches one of those excluded commands, it simply runs the specified command inside the container. If the .env file is missing, it prints an error message.
dock Loads environment variables from a .env file in the current directory, then starts an interactive Bash session inside a running Docker container whose name matches the $PROJECT_NAME variable and begins with "web".
dup Alias for docker compose up -d.
fucking-docker -f Forcefully stops all running Docker containers and then performs system cleanup. If the -f flag is passed as an argument, it removes all unused images, containers, and networks. Regardless, it prunes unused volumes and deletes the Docker configuration file.
git-amnesia Creates an initial commit in the Git repository by resetting the current HEAD to the tree of the first commit. It uses the git commit-tree command to create a new commit with the message "Initial commit." and resets the working directory to that commit. This effectively resets the repository to an initial state while keeping the commit history intact.
s Checks if the first argument ($1) is not one of bash, composer, npm, pest, or pint. If it's a different command, it forwards the arguments to vendor/bin/sail artisan to run a Laravel Artisan command inside the Sail environment. If the argument is one of the excluded commands, it directly forwards the arguments to vendor/bin/sail to execute the corresponding Sail command.
sail Forwards all arguments ($@) to the vendor/bin/sail command, which is part of Laravel Sail (a command-line interface for interacting with Docker containers in Laravel projects). It allows users to run any Sail command specified as an argument to the script.
up2date This script updates system packages, removes unnecessary ones, and globally updates Composer dependencies with a single command.

Environment Variables

Add the necessary environment variables to your shell configuration file (e.g. nano ~/.bashrc) and reload your configuration afterwards with source ~/.bashrc.

antiglare

export ANTIGLARE_URL="<url>"
export ANTIGLARE_TOKEN="<token>"

pigeonboys/pigeon-cli 适用场景与选型建议

pigeonboys/pigeon-cli 是一款 基于 Shell 开发的 Composer 扩展包,目前已累计 24 次下载、GitHub Stars 达 1, 最近一次更新时间为 2025 年 02 月 13 日, 在 PHP 生态内属于活跃度较高的组件。

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

围绕 pigeonboys/pigeon-cli 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-13