Download the PHP package kianhugh/mtphp without Composer

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

mtphp

CI Packagist Docs

版权所有 (c) 武汉麦麦心选网络科技有限公司

高性能、高并发的现代 PHP 框架。路由、数据库连接、事务、视图模板、中间件一应俱全,并内置轻量模型、文件缓存、文件日志,零配置即可用、配有详尽中文注释,原生支持 Swoole 常驻内存 + 协程 + 连接池。

完整设计见 http://mtphp.msiyu.com/docs。

为什么选 MTPHP

目录速览

环境要求

Windows 开发机请自行安装 PHP ≥ 8.0(建议 8.3,需含 php.ini + OPcache/JIT),并确保 php 已进入系统 PATH;随后即可用 php -S 或 php bin/server.php 运行演示。

安装

通过 Composer 安装(推荐):

📦 Packagist 包页:https://packagist.org/packages/kianhugh/mtphp | 📚 中文文档:http://mtphp.msiyu.com/docs

也可直接克隆本仓库源码使用——框架零依赖,即使不装 Composer 也能运行演示与测试。

快速开始

Swoole 常驻服务器(高并发,需 Linux / WSL)

设计原则

文档站点

📚 在线中文文档(已部署,无需本地启动即可浏览):http://mtphp.msiyu.com/docs —— 共 28 章,涵盖安装、路由、数据库、模型、模板、中间件、Swoole 常驻、测试与压测等全部主题。

框架同时自带一个用自身搭建的文档站,演示“调用简单、功能主流”:左侧目录菜单,右侧正文,当前首页内容直接作为文档序言(本地开发时用)。

文档源就是根目录的 使用手册.md,按二级标题(##)自动切分为章节并生成左菜单,手册与网站同源、永不失同步。


All versions of mtphp with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
ext-pdo Version *
ext-json Version *
ext-mbstring Version *
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 kianhugh/mtphp contains the following files

Loading the files please wait ...