Download the PHP package colasoft/colaphp without Composer
On this page you can find all versions of the php package colasoft/colaphp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download colasoft/colaphp
More information about colasoft/colaphp
Files in colasoft/colaphp
Download colasoft/colaphp
More information about colasoft/colaphp
Files in colasoft/colaphp
Vendor colasoft
Package colaphp
Short Description High performance HTTP Service Framework for PHP based on Workerman.
License Apache-2.0
Homepage https://www.colaphp.com/
Package colaphp
Short Description High performance HTTP Service Framework for PHP based on Workerman.
License Apache-2.0
Homepage https://www.colaphp.com/
Please rate this library. Is it a good library?
Informations about the package colaphp
ColaPHP 🏝️
一款基于 Workerman 的高性能 PHP HTTP 服务框架。
开发准备
- 运行环境要求 PHP8.2。
创建项目
在控制台执行如下命令:
ENV配置
数据库配置
编辑 .env 文件,修改数据库连接信息:
数据迁移
数据填充
开启调试模式
应用默认是部署模式,在开发阶段,可以修改环境变量APP_DEBUG开启调试模式,上线部署后切换到部署模式。
本地开发的时候可以在应用根目录下面定义.env文件。
测试运行
现在只需要做最后一步来验证是否正常运行。
进入命令行下面,执行下面指令
正式运行
daemon方式运行(用于正式环境)
php artisan serve start -d
预览
在浏览器中输入地址:
License
Apache-2.0
All versions of colaphp with dependencies
PHP Build Version
Package Version
The package colasoft/colaphp contains the following files
Loading the files please wait ....