承接 tacman/castor-tools 相关项目开发

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

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

tacman/castor-tools

最新稳定版本:1.0.0

Composer 安装命令:

composer require tacman/castor-tools

包简介

Extend castor with some common tools

README 文档

README

This repository contains functions and tasks I use during developing Symfony applications and using Castor.

Auto-install castor

For a flex-like experience for castor, replace castor.php with this

<?php

use Castor\Attribute\AsTask;

use function Castor\{io,import,capture,run};

foreach (glob(__DIR__ . '/.castor/vendor/*/*/castor.php') as $castorFile) {
    import($castorFile);
}

Installation

To install the package, you can use the following command:

castor composer require tacman/castor-tools

In action

castor

   █████████                     █████
  ███░░░░░███                   ░░███
 ███     ░░░   ██████    █████  ███████    ██████  ████████
░███          ░░░░░███  ███░░  ░░░███░    ███░░███░░███░░███
░███           ███████ ░░█████   ░███    ░███ ░███ ░███ ░░░
░░███     ███ ███░░███  ░░░░███  ░███ ███░███ ░███ ░███
 ░░█████████ ░░████████ ██████   ░░█████ ░░██████  █████
  ░░░░░░░░░   ░░░░░░░░ ░░░░░░     ░░░░░   ░░░░░░  ░░░░░

castor v1.1.0

Usage:
  command [options] [arguments]

Options:
  -h, --help                       Display help for the given command. When no command is given display help for the list command
      --silent                     Do not output any message
  -q, --quiet                      Only errors are displayed. All other output is suppressed
  -V, --version                    Display this application version
      --ansi|--no-ansi             Force (or disable --no-ansi) ANSI output
  -n, --no-interaction             Do not ask any interactive question
      --no-remote                  Skip the import of all remote remote packages
      --update-remotes             Force the update of remote packages
      --castor-file[=CASTOR-FILE]  Specify an alternative castor file to use instead of the default "castor.php"
  -v|vv|vvv, --verbose             Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:
  completion       Dump the shell completion script
  hello            Welcome to Castor!
  help             Display help for a command
  list             List commands
  reset-database   Purge and re-create the database
  start-services   Start local docker services
 castor
  castor:composer  [composer] Interact with built-in Composer for castor
  castor:execute   [execute] Execute a remote task from a packagist directory
 tacman
  tacman:sqlite    Switch to sqlite
castor
castor tacman:sqlite
castor tacman:sqlite --remove

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-10-25