tastphp/tastphp

View on GitHub
README-CN.md

Summary

Maintainability
Test Coverage
<p align="center">
    <img height="70%" width="70%" src="https://raw.githubusercontent.com/tastphp-lab/assets/master/logo/tastphp-logo-big.png">
</p>

<p align="center">
<a href="https://travis-ci.org/tastphp/tastphp"><img src="https://api.travis-ci.org/tastphp/tastphp.svg?branch=master" alt="Build Status"></a>
<a href="https://codeclimate.com/github/tastphp/tastphp"><img src="https://codeclimate.com/github/tastphp/tastphp/badges/gpa.svg" alt="Code Climate"></a>
<a href="https://packagist.org/packages/tast-php/tast-php"><img src="https://poser.pugx.org/tast-php/tast-php/v/stable" alt="Latest Stable Version"></a>
<a href="https://img.shields.io/badge/support-psr7-brightgreen.svg"><img src="https://img.shields.io/badge/support-psr7-brightgreen.svg" alt="License"></a>
<a href="https://img.shields.io/badge/support-psr11-brightgreen.svg"><img src="https://img.shields.io/badge/support-psr11-brightgreen.svg" alt="License"></a>
<a href="https://packagist.org/packages/tast-php/tast-php"><img src="https://poser.pugx.org/tast-php/tast-php/license" alt="License"></a>
</p>

## 关于 Tastphp

Tastphp是一款现代化的PHP框架,具备灵活、组件化、可拔插、扩展性强、高性能的特点。

已经被一些项目采用(如 [www.clothesmake.com.cn](https://www.clothesmake.com.cn))

> Tastphp 核心地址:https://github.com/tastphp/framework 。当前这个仓库代码是基于Tastphp核心的骨架项目。




## 安装


使用 [tastphp-installer](https://github.com/tastphp/tastphp-installer)

或者使用composer的命令:

```
composer create-project  --prefer-dist tast-php/tast-php {your install directory} "1.3.7"
```


## 特性
* Symfony 风格
* 依赖注入.
* M(Service/Dao)VC 架构
* Router
* Twig
* 命令控制台
* Debug Bar
* DBAL
* Migrations
* EventDispatcher
* Mysql读写分离(主从)
* 消息队列
* Cache
* JWT
* Mail
* CsrfToken
* ...

## 性能测试

<img src="https://raw.githubusercontent.com/xujiajun/php-framework-benchmark/master/imgs/php-framework-vs.png">

* 详见 https://github.com/xujiajun/php-framework-benchmark

## 要求php版本

  * PHP 7+

## 项目文档

* 中文 ( [在线阅读](https://docs.tastphp.com/zh/) |  [源码阅读](https://github.com/tastphp/tastphp-docs/blob/master/zh/SUMMARY.md))
  
* English (编写中)

## 相关项目

* [tastphp-docs](https://github.com/tastphp/tastphp-docs): tastphp 官方文档源码
* [tastphp-swoole](https://github.com/tastphp/tastphp-swoole) : tastphp swoole 分支
* [tastphp-installer](https://github.com/tastphp/installer): tastphp 安装器

## 贡献
如果你想帮助这个项目。你可以提交Pull Request

## 许可证
The Tastphp 开源项目基于 [MIT Licensed](http://www.opensource.org/licenses/MIT)