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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package colaphp

ColaPHP 🏝️

一款基于 Workerman 的高性能 PHP HTTP 服务框架。

开发准备

创建项目

在控制台执行如下命令:

ENV配置

数据库配置

编辑 .env 文件,修改数据库连接信息:

数据迁移

数据填充

开启调试模式

应用默认是部署模式,在开发阶段,可以修改环境变量APP_DEBUG开启调试模式,上线部署后切换到部署模式。

本地开发的时候可以在应用根目录下面定义.env文件。

测试运行

现在只需要做最后一步来验证是否正常运行。

进入命令行下面,执行下面指令

正式运行

daemon方式运行(用于正式环境)

php artisan serve start -d

预览

在浏览器中输入地址:

http://localhost:8000/

License

Apache-2.0


All versions of colaphp with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
colasoft/framework Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package colasoft/colaphp contains the following files

Loading the files please wait ....