定制 neutomic/skeleton 二次开发

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

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

neutomic/skeleton

Composer 安装命令:

composer create-project neutomic/skeleton

包简介

A minimal Neutomic project recommended to create simple web applications

README 文档

README

This is a skeleton project for Neutomic. It is a simple project that demonstrates how to use Neutomic to build a simple web application.

Getting Started

To get started, clone this repository and run the following command:

compser install

This will install all the dependencies required to run the project.

Running the Project

To run the project, run the following command:

php src/main.php http:server:start

This will start the server on port 8080. You can access the server by visiting http://localhost:8080 in your browser.

Server Clustering

To utilize server clustering, which dispatches multiple workers each running a server:

php src/main.php http:server:cluster

The command will dispatch n workers, where n is the number of CPU cores on your machine.

Alternatively, specify the number of workers:

php src/main.php http:server:cluster --workers=4

This will start the server cluster with 4 workers, each handling incoming requests concurrently.

More Information

For more information on how to use Neutomic, please visit the Neutomic Documentation.

License

This project is licensed under the MIT License - see the LICENSE file for details.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-05-25