定制 assegaiphp/console 二次开发

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

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

assegaiphp/console

最新稳定版本:0.3.15

Composer 安装命令:

composer require assegaiphp/console

包简介

The Assegai CLI is a command-line interface tool that helps you to initialize, develop and maintain your Assegai applications.

README 文档

README

Assegai Logo

Assegai Console

Requirements

  • PHP 8.2 (minimum)
  • Composer 2.x.x

Description

The AssegaiPHP Console is a command-line interface tool that makes it easy to create, develop, and maintain Assegai applications. It provides various features, such as creating a new project, running the application in development mode, and building and packaging it for production deployment.

The AssegaiPHP Console includes built-in support for the collection of schematics available at @assegaiphp/schematics, allowing for easy initialization, development, and maintenance of AssegaiPHP applications through scaffolding, development mode serving, and production distribution building and bundling.

Installation

Linux

Install the Assegai Console globally using Composer:

$ composer global require assegaiphp/console

Create a symbolic link to the Assegai Console binary in a directory that is included in your system's PATH environment variable. For example, you can create a symbolic link in the /usr/local/bin directory:

$ sudo ln -s ~/.config/composer/vendor/bin/assegai /usr/local/bin/assegai

Alternatively, you can add the Composer bin directory to your $PATH to make assegai available globally. To do so, add the following line to your shell configuration file (e.g., ~/.bashrc, ~/.zshrc, etc.):

$ export PATH="$PATH:$HOME/.config/composer/vendor/bin"

Note: The path to the Composer bin directory may vary depending on your system configuration. Please refer to the official Composer documentation for more information.

Windows

Note: The following instructions are for Windows 10/11. If you are using an older version of Windows, please refer to the official Composer documentation for installation instructions.

For Windows, you can use WSL (Windows Subsystem for Linux) to install the Assegai Console. Follow the instructions for Linux above.

macOS

For macOS, you can use the same instructions as for Linux.

Usage

Get Started

To create a new Assegai project, run the following command:

$ assegai new my-app

This command will create a new Assegai project in the my-app directory.

Development

After creating a new project, you can start the development server to preview your application in the browser.

$ cd my-app

To start the development server, navigate to the project directory and run the following command:

$ assegai serve

Assegai Serve

Learn more in the official documentation.

Stay in touch

License

Assegai Console is MIT Licensed

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-06-04