定制 avelpress/avelpress-cli 二次开发

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

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

avelpress/avelpress-cli

最新稳定版本:v1.0.4

Composer 安装命令:

composer require avelpress/avelpress-cli

包简介

Cli for AvelPress

README 文档

README

Command Line Interface for projects based on the AvelPress framework.

Installation

Global Installation

You can install avelpress-cli globally using Composer:

composer global require avelpress/avelpress-cli

After that, the avel command will be available globally (make sure your Composer global bin directory is in your PATH).

Local (per-project) Installation

Add to your project:

composer require avelpress/avelpress-cli --dev

And run via vendor/bin:

php vendor/bin/avel <command>

Or, if using the project binary:

php bin/avel <command>

Available Commands

  • build — Builds a distribution package for your AvelPress project.
    • --ignore-platform-reqs — Ignore platform requirements when running composer install during build.
  • make:controller — Create a new controller.
  • make:model — Create a new model.
  • make:migration — Create a new migration.
  • migrate — Run pending migrations.
  • new — Create a new AvelPress project.

See all options with:

php bin/avel list

Example: Build Usage

php bin/avel build --ignore-platform-reqs

Requirements

  • PHP 7.4+
  • Composer

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-07-26