定制 noctalys/cli 二次开发

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

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

noctalys/cli

最新稳定版本:0.0.2

Composer 安装命令:

composer require noctalys/cli

包简介

CLI to setup a new Noctalys based project

README 文档

README

Note

This installer and framework are in early development and may be unstable and subject to change.

A command-line installer and scaffolding tool for Noctalys-based projects.

Installation

Global (recommended)

Install globally so you can run noctalys from anywhere:

composer global require noctalys/cli

Local (per project)

Add the CLI as a dev dependency in a project:

composer require --dev noctalys/cli

Run via the project's vendor bin:

vendor/bin/noctalys --help

Usage

Warning

Template engine syntax converter (Latten, Twig, Smarty) is still WIP, you may need to adjust templates manually after generation.

Common commands:

# Initialize a new Noctalys project in current directory
noctalys init

# Generate a page
noctalys make:page Home

# Generate a layout
noctalys make:layout Main

If installed locally:

vendor/bin/noctalys init
vendor/bin/noctalys make:page Home
vendor/bin/noctalys make:layout Main

Requirements

  • PHP 8.1+ (recommended)
  • Composer 2.x

License

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-12-09