roy404/artisan 问题修复 & 功能扩展

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

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

roy404/artisan

最新稳定版本:1.3.5

Composer 安装命令:

composer require roy404/artisan

包简介

A custom Artisan-like command runner for web environments. Run your Artisan commands from the browser or other interfaces.

关键字:

README 文档

README

A custom Artisan-like command runner for web environments. Run your custom Artisan commands from the CLI session.

Installation

Install via Composer:

composer require roy404/artisan

Usage (CLI Mode)

To start a CLI session using Web-Artisan, add the following line to any PHP file:

App\Console\Terminal::capture($argv);

Then, run the file using PHP:

php filename.php

Loading Custom Commands

If you want to load additional commands (also known as directives), simply call the config() method before invoking capture().

  • The first parameter defines the directive group name (e.g., 'commands').
  • The second parameter is optional and allows you to specify a custom root path where the directive group is stored.
App\Console\Terminal::config('commands');
App\Console\Terminal::capture($argv);

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-04-18