Download the PHP package runchance/rcmaker without Composer

On this page you can find all versions of the php package runchance/rcmaker. 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 rcmaker

# rcmaker

用 PHP 快速开发,像 Go 应用一样交付。

https://rcmaker.runchance.com

LICENSE

Apache2.0

项目简介

GitHub:https://github.com/runchance/rcmaker,欢迎点个 Star。

rcmaker 是一个面向快速交付的 PHP 常驻内存应用框架。它保留了 PHP 与 Composer 生态成熟、开发高效的优势,同时提供多应用架构与应用级进程隔离能力:不同应用可以绑定不同的 APP 进程组,独立配置监听端口、进程数量、重启策略和资源配额。

在交付阶段,rcmaker 可以将 PHP 运行环境、项目代码及依赖封装为支持代码保护的独立可执行程序。目标服务器无需单独搭建 PHP 环境,即可像部署 Go 应用一样直接运行,适合需要快速开发、便捷部署和源码保护的项目。

核心能力 为项目带来的价值
PHP 与 Composer 生态 延续成熟的开发方式和组件生态,降低学习与迁移成本
CLI 常驻内存 减少框架重复初始化开销,适合高并发接口和长期运行服务
多应用与 APP 进程组 按业务拆分端口、进程和资源,支持独立启停与重启
独立可执行程序 将运行环境、代码和依赖一起交付,简化服务器部署
代码保护 支持源码加密以及明文、加密代码混合部署

快速入口

目标 文档
第一次使用,快速跑起项目 5 分钟开始
安装运行环境并启动项目 安装与启动
下载独立 PHP CLI 独立 PHP CLI 下载
构建、加密、注册服务和生成签名密钥(推荐) 交互式项目工具
了解项目目录和入口文件 目录结构
编写接口和页面控制器 控制器 / 路由
使用请求、响应、模板能力 请求对象 / 响应对象 / 视图与模板
配置应用独立进程组 应用进程组
传统参数脚本(兼容备选,随时可能删除) 备选脚本说明

在项目根目录运行交互式工具,无需记忆脚本参数:

interact 是当前推荐且持续维护的操作入口。scripts/*.php 仅用于兼容旧流程或暂未迁移的自动化任务,随时可能删除,新项目不应依赖这些传统脚本。

适合场景

核心优势

1. 快速交付与独立运行

2. 多应用与进程组隔离

3. CLI 常驻内存

4. 源码保护

5. 静态应用与资源

6. 常用能力与 Composer 生态

7. PHP 版本兼容

8. 安全与性能

一个静态绑定示例

这种方式适合把不同应用、不同域名和不同静态入口拆开管理,静态目录和默认首页都可以独立配置。

进一步了解

rcmaker能做什么

1、作为独立的高性能 web 容器

只要操作系统中装有 PHP 即可,不依赖 nginx、apache 等容器即可原生支持 HTTP|HTTPS 协议对外提供 web 服务。 使用 nginx、apache 等容器反向代理可以获得第三方容器的高兼容性、丰富的组件。 CLI 模式支持常驻进程、自定义进程、RPC 和任务调度。

2、作为 web 容器下的 PHP 独立框架

使用 nginx、apache 作为 web 容器为项目提供基础框架支持。

3、自定义进程

定时任务。

RPC 服务。

web 服务。

websocket 服务。

物联网、游戏、TCP 服务、UDP 服务、unix socket 服务。

其他定制协议服务。

压测

展开压测截图 虚拟机 VM 8 核 16G 操作系统 Ubuntu 20.04.3 LTS **CLI 模式无业务压测** **[workerman]** ![](http://rcmaker.runchance.com/benchmarks/workerman.png) ab ![](http://rcmaker.runchance.com/benchmarks/ab_cli_workerman.png) autocannon ![](http://rcmaker.runchance.com/benchmarks/cli_workerman.png) **CLI 模式无业务压测** **[swoole]** ![](http://rcmaker.runchance.com/benchmarks/swoole.png) ab ![](http://rcmaker.runchance.com/benchmarks/ab_cli_swoole.png) autocannon ![](http://rcmaker.runchance.com/benchmarks/cli_swoole.png)

All versions of rcmaker with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
runchance/rcmaker-framework Version ^3.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 runchance/rcmaker contains the following files

Loading the files please wait ...