└── README.md /README.md: -------------------------------------------------------------------------------- 1 | # awesome-php 2 | 3 | 收集整理一些常用的PHP类库, 资源以及技巧. 以便在工作中迅速的查找所需... 4 | 5 | --- 6 | 7 | - 这个列表中的内容有来自 [awesome-php](https://github.com/ziadoz/awesome-php) 的翻译, 有来自开发者周刊以及个人的积累等. 8 | - 一个前端组件的列表 [awesome-frontend](https://github.com/JingwenTian/awesome-frontend) 推荐 9 | 10 | --- 11 | 12 | 刚成立了一个学习讨论群, 欢迎感兴趣的同学加入。一起讨论问题、分享技术和生活... 13 | 14 | ![](https://tva1.sinaimg.cn/orj360/007S8ZIlly1ggwh1238rij30by0bymxg.jpg) 15 | 16 | --- 17 | 18 | ## 学习资源 19 | >PHP相关的有参考价值的社区,博客,网站,文章,书籍,视频等资源 20 | 21 | - **PHP网站(PHP Websites)** 22 | 23 | - [PHP The Right Way](http://www.phptherightway.com/) - 一个PHP实践的快速参考指导 24 | - [PHP Best Practices](https://phpbestpractices.org/) - 一个PHP最佳实践 25 | - [Clean Code PHP](https://github.com/jupeter/clean-code-php) - 一个PHP 编码标准 26 | - [PHP Weekly News](http://www.phpweekly.com/archive.html) - 一个PHP 周刊 27 | - [Securing PHP](http://securingphp.com/) - 有关PHP安全相关 28 | - [PHP FIG](http://www.php-fig.org/) - PHP框架交互小组 29 | - [PSR 中文翻译](https://psr.phphub.org) 30 | - [PHP School](http://www.phpschool.io/) - 一个开源的PHP学习资源 31 | - [PHPTrends](http://phptrends.com/) - 一些快速发展的PHP类库检索 32 | - [PHP 开发者实践](https://ryancao.gitbooks.io/php-developer-prepares/content/) 33 | 34 | - **推荐文章(Recommended Article)** 35 | 36 | - [The 2018 Guide to Building Secure PHP Software](https://paragonie.com/blog/2017/12/2018-guide-building-secure-php-software) - 中文翻译: [2018 PHP 应用程序安全设计指北](https://laravel-china.org/articles/7235/2018-php-application-security-design) 37 | - [advanced-php](https://github.com/elarity/advanced-php) - PHP多进程、socket等相关文章 38 | - [LEARN REGEX THE EASY WAY](https://github.com/ziishaned/learn-regex/blob/master/translations/README-cn.md) - 正则表达式学习 39 | 40 | - **其他网站(Other Websites)** 41 | 42 | - [The Open Web Application Security Project (OWASP)](https://www.owasp.org/index.php/Main_Page) - 一个开源软件安全社区 43 | - [WebSec IO](https://websec.io/) - 一个web 安全社区 44 | - [Semantic Versioning](http://semver.org/lang/zh-CN/) - 语义化版本 45 | - [Atlassian Git Tutorials](https://www.atlassian.com/git/) - 一系列的Git教程 46 | - [Servers for Hackers ](https://serversforhackers.com/) - 有关服务器运维相关 47 | - [be-a-professional-programmer](https://github.com/stanzhai/be-a-professional-programmer) - 成为专业程序员路上用到的各种优秀资料、神器及框架 48 | - [PHP Security Advisories Database](https://github.com/FriendsOfPHP/security-advisories) - A database of PHP security advisories 49 | 50 | - **PHP书籍(PHP Books)** 51 | 52 | - [Modern PHP](http://shop.oreilly.com/product/0636920033868.do) - 作者是[PHP 之道](http://www.phptherightway.com/)的发起人和[Slim框架](http://www.slimframework.com/)的作者 53 | - [Modern PHP(中文版)](http://about.ac/books/modern-php/) 54 | - [PHP Pandas](http://daylerees.com/php-pandas/) 55 | - [ppts_for_php2017](https://github.com/devlinkcn/ppts_for_php2017) - 2017 第三届PHP全球开发者大会PPT/Keynote 56 | - [PHP-Data-Structure-and-Algorithms](https://github.com/mirahman/PHP-Data-Structure-and-Algorithms) 57 | - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP)-php设计模式 58 | - [DesignPatternsPHP(中文版)](https://laravel-china.org/docs/php-design-patterns/2018) 59 | - **其他书籍(Other Books)** 60 | 61 | - [The Linux Command Line](http://linuxcommand.org/) - Linux 命令行教程 62 | - [architecture.of.internet-product](https://github.com/davideuler/architecture.of.internet-product) - 互联网公司技术架构 63 | - [architect-awesome](https://github.com/xingshaocheng/architect-awesome) - 后端架构师技术图谱 64 | 65 | --- 66 | 67 | ## 依赖管理( Dependency Management ) 68 | >用于依赖管理的包和框架 69 | 70 | - [Composer](https://getcomposer.org/) / [Packagist](https://packagist.org/) - 一个包和依赖管理器. 71 | - [composer/installers](https://github.com/composer/installers) - 一个多框架Composer库安装器 72 | - [hirak/prestissimo](https://github.com/hirak/prestissimo) - 并行安装 Composer 依赖 73 | - [composer/satis](https://github.com/composer/satis) - 搭建私有的 Composer 包仓库 74 | - [FriendsOfPHP/pickle](https://github.com/FriendsOfPHP/pickle) - PHP扩展安装器 75 | - [Melody](http://melody.sensiolabs.org/) - A tool to build one file Composer scripts. 76 | - [tommy-muehle/tooly-composer-script](https://github.com/tommy-muehle/tooly-composer-script) - 使用Composer管理PHAR文件的库 77 | - [mlocati/docker-php-extension-installer](https://github.com/mlocati/docker-php-extension-installer) - Easily install PHP extension in Docker containers 78 | 79 | ## 框架( Frameworks ) 80 | 81 | > Web开发框架 82 | 83 | - [laravel/laravel](https://github.com/laravel/laravel) - 简洁优雅的PHP Web开发框架 84 | - [symfony/symfony](https://github.com/symfony/symfony) - 由独立组件构成的框架(SP2) 85 | - [yiisoft/yii2](https://github.com/yiisoft/yii2/) - 用于开发大型Web应用的高性能PHP框架 86 | - [cakephp/cakephp](https://github.com/cakephp/cakephp/) - 一个高效的应用开发框架(CP) 87 | - [phalcon/cphalcon](https://github.com/phalcon/cphalcon) - 高性能的C扩展的框架 88 | - [Yaf](http://php.net/manual/zh/book.yaf.php) - 鸟哥的C扩展的框架 89 | - [overtrue/yaf-skeleton](https://github.com/overtrue/yaf-skeleton) - The Yaf testable skeleton and composer supported. 90 | - [swoole](https://github.com/swoole) - 面向生产环境的 PHP 异步网络通信引擎 91 | - [SwooleDistributed/SwooleDistributed](https://github.com/SwooleDistributed/SwooleDistributed) - swoole 分布式全栈框架 92 | - [swoft-cloud/swoft](https://github.com/swoft-cloud/swoft) - 基于Swoole原生协程,新时代PHP高性能协程框架 https://www.swoft.org 93 | - [hyperf-cloud/hyperf](https://github.com/hyperf-cloud/hyperf) - 企业级的 PHP 协程微服务框架 94 | - [mixstart/mixphp](https://github.com/mixstart/mixphp) - 基于 Swoole 的FPM、常驻内存、协程三模 PHP 高性能框架 (开发文档完善) http://mixphp.cn 95 | - [hhxsv5/laravel-s](https://github.com/hhxsv5/laravel-s) - 集成 Swoole 到 Laravel 或 Lumen 96 | - [swooletw/laravel-swoole](https://github.com/swooletw/laravel-swoole) - High performance HTTP server based on Swoole. Speed up your Laravel or Lumen applications. 97 | - [scil/LaravelFly](https://github.com/scil/LaravelFly) - To be an absolutely safe solution to run Laravel with Swoole. Laravel + Swoole Coroutine + Safety + Tinker Online. 98 | - [garveen/laravoole](https://github.com/garveen/laravoole) - Laravel && ( Swoole || Workerman ) to get 10x faster than php-fpm 99 | - [easy-swoole/easyswoole](https://github.com/easy-swoole/easyswoole) - use swoole easily just like echo "hello world"; 100 | - [bingcool/swoolefy](https://github.com/bingcool/swoolefy) - swoolefy是一个基于swoole实现的轻量级、高性能、协程级、开放性的API和MVC应用服务框架 101 | - [youzan/zan](https://github.com/youzan/zan) - 有赞开源的 PHP 框架 (已停止维护) 102 | - [php-msf](https://github.com/pinguo/php-msf) - Camera360开源的微服务框架 103 | - [Biny](https://github.com/Tencent/Biny) - 腾讯开源高性能的超轻量级PHP框架 104 | - [zendframework/zendframework](https://github.com/zendframework/zendframework) - Zend 框架 105 | 106 | 107 | ## 组件( Components ) 108 | 109 | - [auraphp](https://github.com/auraphp) - 一些独立组件包 110 | - [Hoa Project](http://hoa-project.net/En/) - 一个PHP组件集合 111 | - [andersao/l5-repository](https://github.com/andersao/l5-repository) - Repository 开发模式的支持 112 | 113 | ## 配置( Configuration ) 114 | >加载配置文件的类库和扩展 115 | 116 | - [Yaconf](https://github.com/laruence/yaconf) - 一个高性能的配置管理扩展 117 | - [config](https://github.com/hassankhan/config) - 一个轻量级的配置加载器, 支持 PHP, INI, XML, JSON, YAML files 118 | - [Zend-config](https://github.com/zendframework/zend-config) 119 | - [phpdotenv](https://github.com/vlucas/phpdotenv) - 读取.env中全局的最高优先级变量 120 | - [symfony/yaml](https://github.com/symfony/yaml) - 加载和剥离YAML配置文件 121 | 122 | ## 微框架( Micro Frameworks ) 123 | >微型框架和路由 124 | 125 | - [Lumen](http://lumen.laravel.com/) - 基于Laravel的微型框架 126 | - [Silex](http://silex.sensiolabs.org/) - 基于Symphony2组件的微型框架 127 | - [Silex Skeleton](https://github.com/fabpot/Silex-Skeleton) - 用于Silex的项目框架 128 | - [Silex Web Profiler](https://github.com/silexphp/Silex-WebProfiler) - 用于Silex的Web调试工具条 129 | - [Slim](http://www.slimframework.com/) - 另一个简单的微型框架 130 | - [awesome-slim](https://github.com/xssc/awesome-slim) 131 | - [Slim Skeleton](https://github.com/codeguy/Slim-Skeleton) - 用于Slim的框架 132 | - [Slim View](https://github.com/codeguy/Slim-Views) - Slim的自定义视图集 133 | - [Slim Middleware](https://github.com/codeguy/Slim-Middleware) - Slim的自定义中间件集合 134 | - [slim-skeleton](https://github.com/JingwenTian/slim-skeleton) - Slim基础上实现了MVC及一些组件 135 | - [slim-boilerplate](https://github.com/damianopetrungaro/slim-boilerplate) 136 | - [Bullet PHP](http://bulletphp.com/) - 用于构建REST APIs的微型框架 137 | - [Proton](https://github.com/alexbilbie/Proton) - 一个微型PHP框架 138 | - [blink](https://github.com/bixuehujin/blink) - 一个为构建 “long running” 服务而生的 Web 微型高性能框架 139 | - [flight](https://github.com/mikecao/flight) - 一个可扩展的PHP微框架 140 | 141 | ## 路由( Routers ) 142 | 143 | - [Fast Route](https://github.com/nikic/FastRoute) - 一个高效路由库 144 | - [Route](https://github.com/thephpleague/route) - 基于Fast Route的路由库 145 | - [Pux](https://github.com/c9s/Pux) - 另一个高效的路由库 146 | - [Klein](https://github.com/chriso/klein.php) - 一个灵活的路由库 147 | - [Macaw](https://github.com/NoahBuscher/Macaw) - 一个简单的 PHP 路由器,超级精简、快速而且很性感。 148 | 149 | ## 模板引擎( Templating ) 150 | >模板和词法分析的库与工具 151 | 152 | - [Twig](http://twig.sensiolabs.org/) - 一种综合的模板语言 153 | - [asm89/twig-cache-extension](https://github.com/asm89/twig-cache-extension) - 用于Twig的模板片段缓存库 154 | - [rcrowe/TwigBridge](https://github.com/rcrowe/TwigBridge) - Twig 模板引擎支持 155 | - [Mustache](https://github.com/bobthecow/mustache.php) - PHP实现的Mustache模板语言 156 | - [Phly Mustache](https://github.com/weierophinney/phly_mustache) - 另一个PHP实现的Mustache模板语言 157 | - [MtHaml](https://github.com/arnaud-lb/MtHaml) - PHP实现的HAML模板语言 158 | - [PHPTAL](http://phptal.org/) - PHP实现的TAL模板语言 159 | - [Plates](http://platesphp.com/) - 一个原始的PHP模板库 160 | - [Lex](https://github.com/pyrocms/lex) - 一个轻量级模板解析器 161 | - [Aura.View](https://github.com/auraphp/Aura.View) - Provides TemplateView and TwoStepView 162 | 163 | ## 静态站生成器( Static Site Generators ) 164 | >生成Web页面内容的预处理工具 165 | 166 | - [Sculpin](http://sculpin.io/) - 将Markdown和Twig转换为静态HTML的工具 167 | - [Phrozn](http://phrozn.info/) - 另一款ithub将Textile、Markdown和Twig转为HTML的工具 168 | - [Spress](http://spress.yosymfony.com/) 169 | - [Couscous](http://couscous.io/) - 将Markdown 文档转换成 HTML 发布到Github Page 的工具 170 | 171 | ## HTTP 172 | >用于HTTP和抓取网站的库 173 | 174 | - [guzzle/guzzle](https://github.com/guzzle/guzzle) - 一个完整的HTTP客户端 175 | - [amphp/artax](https://github.com/amphp/artax) - An Asynchronous HTTP Client for PHP 176 | - [Buzz](https://github.com/kriswallsmith/Buzz) - 另一个HTTP客户端 177 | - [Requests](https://github.com/rmccue/Requests) - 一个简单的HTTP库 178 | - [HTTPFul](https://github.com/nategood/httpful) - 一个链式HTTP客户端 179 | - [FriendsOfPHP/Goutte](https://github.com/FriendsOfPHP/Goutte) - 一个简单的Web抓取器 180 | - [PHP VCR](http://php-vcr.github.io/) - 一个录制和回放HTTP请求的库 181 | - [php-curl-class](https://github.com/php-curl-class/php-curl-class) - PHP的Curl类 182 | - [Beanbun](https://github.com/kiddyuchina/Beanbun) - 多进程网络爬虫框架 183 | - [php-mod/curl](https://github.com/php-mod/curl) - PHP Curl Class 184 | - [medz/cors](https://github.com/medz/cors) - PHP CORS (Cross-origin resource sharing) middleware. 185 | - [barryvdh/laravel-cors](https://github.com/barryvdh/laravel-cors) - 跨域资源共享的支持 186 | - [lezhnev74/openapi-psr7-validator](https://github.com/lezhnev74/openapi-psr7-validator) - It validates PSR-7 messages (HTTP request/response) against OpenAPI specifications 187 | 188 | ## SOAP 189 | 190 | - [soap-client](https://github.com/phpro/soap-client) - A general purpose SOAP client for PHP 191 | - [soap-client](https://github.com/goetas-webservices/soap-client) - PHP implementation of SOAP 1.1 and 1.2 client specifications 192 | - [wsdl2phpgenerator](https://github.com/wsdl2phpgenerator/wsdl2phpgenerator) - Simple utility and class library for generating php classes from a wsdl file. 193 | - [laravel-soap](https://github.com/artisaninweb/laravel-soap) - Soap 协议客户端 194 | 195 | ## 中间件( Middlewares ) 196 | >用于构建应用的类库的中间件 197 | 198 | ## URL 199 | >解析URL的库 200 | 201 | - [Purl](https://github.com/jwage/purl) - 一个URL操作库 202 | - [PHP Domain Parser](https://github.com/jeremykendall/php-domain-parser) - 一个本地的后缀解析器 203 | - [Uri](https://github.com/thephpleague/uri) - 一个简单的URL操作库 204 | 205 | ## 邮件( Email ) 206 | >用于发送和解析Email的库 207 | 208 | - [swiftmailer/swiftmailer](https://github.com/swiftmailer/swiftmailer) - 一个邮件程序的解决方案 209 | - [PHPMailer/PHPMailer](https://github.com/PHPMailer/PHPMailer) - 另一个邮件程序的解决方案 210 | - [nette/mail](https://github.com/nette/mail) - 一个简单优雅的邮件发送模块 211 | - [tedivm/Fetch](https://github.com/tedivm/Fetch) - 一个IMAP库 212 | - [willdurand/EmailReplyParser](https://github.com/willdurand/EmailReplyParser) - 一个邮件回复解析器库 213 | - [henrikbjorn/Stampie](https://github.com/henrikbjorn/Stampie) - 关于邮件服务的库,比如SendGrid、PostMark、MailGun和Mandrill 214 | - [tijsverkoyen/CssToInlineStyles](https://github.com/tijsverkoyen/CssToInlineStyles) - 邮件模板中一个内联的CSS库 215 | - [nojacko/email-validator](https://github.com/nojacko/email-validator) - 一个小巧的邮箱验证库 216 | - [egulias/EmailValidator](https://github.com/egulias/EmailValidator) - PHP Email validator library 217 | - [Snowfire/Beautymail](https://github.com/Snowfire/Beautymail) - Laravel HTML邮件模板 218 | 219 | ## 文件操作( Files ) 220 | 221 | >关于文件处理和MIME类型检查 222 | 223 | - [symfony/finder](https://github.com/symfony/finder) - 通过一个直观而流畅的接口来寻找文件和目录 224 | - [Gaufrette](https://github.com/KnpLabs/Gaufrette) - 一个文件流的抽象层 225 | - [thephpleague/flysystem](https://github.com/thephpleague/flysystem) - 另一个文件流的抽象层 226 | - [Canal](https://github.com/dflydev/dflydev-canal) - 一个检查互联网媒体类型的库 227 | - [Apache MIME Types](https://github.com/dflydev/dflydev-apache-mime-types) - 一个解析Apache MIME类型的库 228 | - [Ferret](https://github.com/versionable/Ferret) - 一个MIME检测库 229 | - [Hoa Mime](https://github.com/hoaproject/Mime) - 另一个MIME检测库 230 | - [Lurker](https://github.com/henrikbjorn/Lurker) - 一个资源跟踪库 231 | - [PHP File Locator](https://github.com/herrera-io/php-file-locator) - 一个在大型项目中定位文件的库 232 | - [PHP FFmpeg](https://github.com/alchemy-fr/PHP-FFmpeg/) - 一个用于FFmpeg视频包装的库 233 | - [GrahamCampbell/Laravel-Flysystem](https://github.com/GrahamCampbell/Laravel-Flysystem) - 文件系统操作,多平台支持 234 | 235 | ## 流( Stream ) 236 | >处理流的库 237 | 238 | - [Streamer](https://github.com/fzaninotto/Streamer) - 一个简单的面向对象流包装库 239 | 240 | ## 依赖注入( Dependency Injection ) 241 | >实现依赖注入设计模式的库 242 | 243 | - [Pimple](http://pimple.sensiolabs.org/) - 一个小的依赖注入容器 244 | - [container-interop](https://github.com/container-interop) - Containers interoperability 245 | - [Auryn](https://github.com/rdlowrey/Auryn) - 另一个小的依赖注入容器 246 | - [Container](https://github.com/thephpleague/container) - 另一个灵活的依赖注入容器 247 | - [PHP DI](http://php-di.org/) - 一个使用标注实现的依赖注入 248 | - [Acclimate](https://github.com/symfony/DependencyInjection) - 依赖注入容器和服务定位器的通用接口 249 | - [Symfony DI](https://github.com/symfony/DependencyInjection) - 一个的依赖注入组件(SF2) 250 | - [Twittee](https://github.com/fabpot/twittee) 251 | - [simple di container](https://github.com/laracasts/simple-di-container) 252 | - [Ding](https://github.com/marcelog/Ding) 253 | - [di](https://github.com/yiisoft/di) - Yii DI container and injector 254 | 255 | ## 图像( Imagery ) 256 | >处理图像的库 257 | 258 | - [Intervention/image](https://github.com/Intervention/image) - 图片操作库 259 | - [Intervention/imagecache](https://github.com/Intervention/imagecache) - 图片缓存增强工具 260 | - [Imagine](http://imagine.readthedocs.org/en/latest/index.html) - 一个图像处理库 261 | - [Sybio/ImageWorkshop](https://github.com/Sybio/ImageWorkshop) - 另一个图像处理库 262 | - [Sybio/GifFrameExtractor](https://github.com/Sybio/GifFrameExtractor) - 一个提取GIF动画帧信息的库 263 | - [Sybio/GifCreator](https://github.com/Sybio/GifCreator) - 从多幅图片中创建GIF动画的库 264 | - [nmcteam/image-with-text](https://github.com/nmcteam/image-with-text) - 在图像中嵌入文本的库 265 | - [php-loep/color-extractor](https://github.com/php-loep/color-extractor) - 从图像中提取颜色的库 266 | - [thephpleague/glide](https://github.com/thephpleague/glide) - 一个按需的图片处理库 267 | - [psliwa/image-optimizer](https://github.com/psliwa/image-optimizer) - 一个优化图片的库 268 | - [PHPThumb](https://github.com/masterexploder/PHPThumb) - 缩略图处理库 269 | - [t0k4rt/phpqrcode](https://github.com/t0k4rt/phpqrcode) - 二维码生成库 270 | - [endroid/qr-code](https://github.com/endroid/qr-code) - 另一个二维码生成库 271 | - [Bacon/BaconQrCode](https://github.com/Bacon/BaconQrCode) - QR Code Generator for PHP 272 | - [SimpleSoftwareIO/simple-qrcode](https://github.com/SimpleSoftwareIO/simple-qrcode) - 二维码生成工具 273 | - [lsolesen/pel](https://github.com/lsolesen/pel) - PHP Exif 库 274 | - [php-exif](https://github.com/PHPExif/php-exif) - PHP Exif信息读取库 275 | - [Gregwar/Image](https://github.com/Gregwar/Image) - 图像处理库 276 | - [Gregwar/Captcha](https://github.com/Gregwar/Captcha) - 图形验证码 277 | - [google/recaptcha](https://github.com/google/recaptcha) - google reCAPTCHA 验证码Client 库 278 | - [mewebstudio/captcha](https://github.com/mewebstudio/captcha) - 图片验证码方案 279 | - [PhenX/php-svg-lib](https://github.com/PhenX/php-svg-lib) - SVG file parsing / rendering library 280 | - [darylldoyle/svg-sanitizer](https://github.com/darylldoyle/svg-sanitizer) - A PHP SVG/XML Sanitizer 281 | 282 | 283 | ## 测试( Testing ) 284 | >测试代码库和生成测试数据的库 285 | 286 | - [PHPUnit](https://github.com/sebastianbergmann/phpunit) - 一个单元测试框架 287 | - [DBUnit](https://github.com/sebastianbergmann/dbunit) - PHPUnit的代码测试库 288 | - [ParaTest](https://github.com/brianium/paratest) - PHPUnit的并行测试库 289 | - [PHPSpec](https://github.com/phpspec/phpspec) - 根据规范的单元测试库 290 | - [Codeception](https://github.com/Codeception/Codeception) - 一个全栈测试框架 291 | - [AspectMock](https://github.com/Codeception/AspectMock) - PHPUnit/Codeception的模拟框架 292 | - [Atoum](https://github.com/atoum/atoum) - 一个简单的测试库 293 | - [Mockery](https://github.com/padraic/mockery) - 一个用于测试的模拟对象库 294 | - [Phake](https://github.com/mlively/Phake) - 另一个用于测试的模拟对象库 295 | - [Prophecy](https://github.com/phpspec/prophecy) - 一个强大的模拟框架 296 | - [Faker](https://github.com/fzaninotto/Faker) - 一个伪数据生成库 297 | - [Samsui](https://github.com/mauris/samsui) - 另一个伪数据生成库 298 | - [Alice](https://github.com/nelmio/alice) - 用于生成复杂数据的库 299 | - [Behat](http://behat.org/) - 一个行为驱动开发(BDD)的测试框架 300 | - [Pho](https://github.com/danielstjules/pho) - 另一个行为驱动开发的测试框架 301 | - [Mink](http://mink.behat.org/) - Web验收测试 302 | - [HTTP Mock](https://github.com/InterNations/http-mock) - 一个在单元测试中模拟HTTP请求的库 303 | - [VFS Stream](https://github.com/mikey179/vfsStream) - 一个用于测试的虚拟文件系统流包装 304 | - [VFS](https://github.com/adlawson/vfs.php) - 另一个用于测试的虚拟文件系统 305 | - [Locust](http://locust.io/) - 一个Python开发的现代负载测试库 306 | - [Peridot](https://github.com/peridot-php/peridot) - 一个事件驱动的测试框架 307 | - [SimpleTest](https://github.com/simpletest/simpletest) - Unit Testing for PHP 308 | - [testbench](https://github.com/orchestral/testbench) - Laravel 扩展包的单元测试工具 309 | - [laracasts/TestDummy](https://github.com/laracasts/TestDummy) - Laracasts 出品的假数据创建工具 310 | - [pestphp/pest](https://github.com/pestphp/pest) - 一个优雅的测试框架 311 | 312 | ## 持续集成( Continuous Integration ) 313 | >持续集成的库和应用 314 | 315 | - [Travis CI](https://travis-ci.org/) - 一个持续集成的平台 316 | - [SemaphoreCI](https://semaphoreapp.com/) - 一个给开源程序和私有项目的持续集成平台 317 | - [PHPCI](http://www.phptesting.org/) - 一个PHP的开源持续集成平台 318 | - [Sismo](http://sismo.sensiolabs.org/) - 一个持续的测试服务器库 319 | - [Jenkins](http://jenkins-ci.org/) - PHP支持的持续集成平台 320 | - [JoliCi](https://github.com/jolicode/JoliCi) - PHP开发的由Docker支持的持续集成客户端 321 | 322 | 323 | ## 文档( Documentation ) 324 | >生成项目文档的库 325 | 326 | - [Sami](https://github.com/fabpot/Sami) - 一个API文档生成器 327 | - [APIGen](https://github.com/apigen/apigen) - 另一个API文档生成器 328 | - [PHP Documentor 2](https://github.com/phpDocumentor/phpDocumentor2) - 文档生成器 329 | - [phpDox](http://phpdox.de/) - 一个PHP项目的文档生成器(不仅仅是API文档) 330 | - [swagger-php](https://github.com/zircote/swagger-php) - A php swagger annotation and parsing library 331 | 332 | ## 安全( Security ) 333 | 334 | > 用于生成安全的随机数、加密数据、扫描漏洞, 令牌的库 335 | 336 | - [ezyang/htmlpurifier](https://github.com/ezyang/htmlpurifier) - 一个标准的HTML过滤器 337 | - [mewebstudio/Purifier](https://github.com/mewebstudio/Purifier) - 用户提交的 Html 白名单过滤 338 | - [xemlock/htmlpurifier-html5](https://github.com/xemlock/htmlpurifier-html5) - 另一个用户提交的 Html 白名单过滤 (HTML5 support) 339 | - [voku/anti-xss](https://github.com/voku/anti-xss) - Protection against Cross-site scripting (XSS) 340 | - [GrahamCampbell/Laravel-Security](https://github.com/GrahamCampbell/Laravel-Security) - A wrapper of voku/anti-xss for Laravel 341 | - [tgalopin/html-sanitizer](https://github.com/tgalopin/html-sanitizer) - Sanitize untrustworthy HTML user input 342 | - [random_compat](https://github.com/paragonie/random_compat) - PHP5.x生成安全的随机数的库(PHP7可用内置`random_bytes()`和`random_int()`函数) 343 | - [RandomLib](https://github.com/ircmaxell/RandomLib) - 生成随机数和随机字符串的库 344 | - [True Random](https://github.com/pixeloution/true-random) - 使用www.random.org生成随机数的库 345 | - [SecurityMultiTool](https://github.com/padraic/SecurityMultiTool) - 一个PHP安全库 346 | - [PHPSecLib](https://github.com/phpseclib/phpseclib) - 一个纯的PHP安全通信库 347 | - [TCrypto](https://github.com/timoh6/TCrypto) - 一个简单的键值加密存储库 348 | - [PHP IDS](https://github.com/PHPIDS/PHPIDS) - 一个结构化的PHP安全层 349 | - [PHP SSH](https://github.com/Herzult/php-ssh) - 面向对象的SSH包装库 350 | - [IniScan](https://github.com/psecio/iniscan) - 一个扫描PHP INI文件安全的工具 351 | - [SensioLabs Security Check](https://security.sensiolabs.org/) - 一个根据安全建议检查Composer依赖的Web工具 352 | - [Zed](https://www.owasp.org/index.php/OWASP_Zed_Attack_Proxy_Project) - 用于Web应用的集成渗透测试工具 353 | - [php-ratelimiter](https://github.com/akirk/php-ratelimiter) 354 | - [xxtea-php](https://github.com/xxtea/xxtea-php) - XXTEA encryption algorithm library for PHP. 355 | - [defuse/php-encryption](https://github.com/defuse/php-encryption) - 对称密钥加密库 356 | - [paragonie/halite](https://github.com/paragonie/halite) - 提供高级的加密接口的libsodium封装包 357 | 358 |
359 | 在这几个网站可以查看 XSS 字符串用于安全测试 360 | 361 | - [www.bioinformatics.org](http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/htmLawed_TESTCASE.txt) 362 | - [htmlpurifier.org](http://htmlpurifier.org/live/smoketests/xssAttacks.php) 363 | - [hackingforsecurity.blogspot.de](https://hackingforsecurity.blogspot.com/2013/11/xss-cheat-sheet-huge-list.html) 364 | 365 |
366 | 367 | ## 密码( Passwords ) 368 | >处理和存储密码的库和工具、各种编码的库 369 | 370 | - [ircmaxell/password_compat](https://github.com/ircmaxell/password_compat) - 一个用于新的PHP5.5密码功能的兼容库 371 | - [phpass](http://www.openwall.com/phpass/) - 一个便携式密码哈希框架 372 | - [ircmaxell/PHP-PasswordLib](https://github.com/ircmaxell/PHP-PasswordLib) - 一个用于生成和验证密码的库 373 | - [ircmaxell/password-policy](https://github.com/ircmaxell/password-policy) - 一个PHP和JavaScript的密码规则库 374 | - [jeremykendall/password-validator](https://github.com/jeremykendall/password-validator) - 验证和升级密码哈希的库 375 | - [bjeavons/zxcvbn-php](https://github.com/bjeavons/zxcvbn-php) - 一个基于Zxcvbn JS的PHP显示密码强度估计库 376 | - [timoh6/GenPhrase](https://github.com/timoh6/GenPhrase) - 一个生成安全随机口令的库 377 | - [tuupola/base62](https://github.com/tuupola/base62) - base62编码库(短网址应用) 378 | - [stephen-hill/base58php](https://github.com/stephen-hill/base58php) - base58编码库(Bitcoin中使用的一种独特的编码方式,主要用于产生Bitcoin的钱包地址) 379 | - [base85](https://github.com/tuupola/base85) - base85编码库(在base64的基础上进一步压缩数据量,应用于Adobe的PostScript语言和PDF文档格式) 380 | - [bjeavons/zxcvbn-php](https://github.com/bjeavons/zxcvbn-php) - 评估密码强度的库,强度越强,密码越不容易破解 381 | 382 | ## 代码分析( Code Analysis ) 383 | >用于分析、解析和操作代码库的工具 384 | 385 | - [PHP Parser](https://github.com/nikic/PHP-Parser) - 一个PHP编写的PHP解析器 386 | - [PHPPHP](https://github.com/ircmaxell/PHPPHP) - 一个PHP实现的PHP虚拟机 387 | - [PHPSandbox](https://github.com/fieryprophet/php-sandbox) - PHP的沙盒环境 388 | - [Dissect](https://github.com/jakubledl/dissect) - 词法和语法分析的工具集合 389 | - [PHP Mess Detector](http://phpmd.org/) - 一个扫描代码bug、次佳代码和未使用参数的库 390 | - [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) - 一个PHP/CSS/JS代码规范与质量检查工具 391 | - [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) - 一个PHP代码规范与质量检查工具 392 | - [phpmd](https://github.com/phpmd/phpmd) - 一个PHP代码规范与质量检查工具 393 | - [PHPCPD](https://github.com/sebastianbergmann/phpcpd) - 一个检测复制和粘贴代码的库 394 | - [PHP Analyser](https://github.com/scrutinizer-ci/php-analyzer) - 一个分析PHP代码中错误的库 395 | - [PHP Manipulator](https://github.com/schmittjoh/php-manipulator) - 用于分析和修改PHP源代码的库 396 | - [PHP Metrics](https://github.com/Halleck45/PhpMetrics) - 一个静态测量库 397 | - [PHP Refactoring Browser](https://github.com/QafooLabs/php-refactoring-browser) - 一个用于重构PHP代码的命令行工具 398 | - [php-semver-checker](https://github.com/tomzx/php-semver-checker) - 一个版本对比的命令行工具 399 | - [UBench](https://github.com/devster/ubench) - 一个简单的小型基准测试库 400 | - [Athletic](https://github.com/polyfractal/athletic) - 一个基于标注的基准测试库 401 | - [Mondrian](https://github.com/Trismegiste/Mondrian) - 使用图论的代码分析工具 402 | - [Scrutinizer](https://scrutinizer-ci.com/) - 检查PHP代码的Web工具 403 | - [PHPLOC](https://github.com/sebastianbergmann/phploc) - 一个快速评估PHP项目大小的工具 404 | - [PHPCheckstyle](https://github.com/jbrooksuk/phpcheckstyle) - 一个帮助遵守特定代码规则的工具 405 | - [PhpDependencyAnalysis](https://github.com/mamuz/PhpDependencyAnalysis) - 一个创建可定制型依赖关系图表的工具 406 | - [Code Climate](http://codeclimate.com/) - 自动化的code review 407 | - [PHP Error](https://github.com/JosephLenton/PHP-Error) - 用于转换标准的 PHP 错误信息,主要用于开发过程中的调试 408 | - [psalm](https://github.com/vimeo/psalm) - 一个帮助你识别代码里可能存在 bugs 的静态分析工具 409 | - [phan](https://github.com/phan/phan) - 代码静态分析工具 410 | - [phpstan](https://github.com/phpstan/phpstan) - 代码静态分析工具 411 | - [PHPLint](https://github.com/overtrue/phplint) - 用于PHP文件语法检测(支持多进程,基于 `php -l`) 412 | 413 | ## 结构( Architectural ) 414 | >有关于设计模式,编程规范以及代码组织方式的库 415 | 416 | - [PHP Option](https://github.com/schmittjoh/php-option) - 一个PHP选项类型的库 417 | - [Ruler](https://github.com/bobthecow/Ruler) - 一个简单的无状态的产生环境规则的引擎 418 | - [Finite](http://yohan.giarel.li/Finite) - 一个简单的PHP有限状态机 419 | - [Compose](https://github.com/igorw/compose) - 一个功能组合库 420 | - [Monad PHP](https://github.com/ircmaxell/monad-php) - 一个简单Monad库 421 | - [Patchwork](http://antecedent.github.io/patchwork/) - 一个重新定义用户的函数库 422 | - [Galapagos](https://github.com/endel/galapagos) - 语言转换进化 423 | - [Design Patterns PHP](https://github.com/domnikl/DesignPatternsPHP) - 一个使用PHP实现的设计模式实例库 424 | - [Functional PHP](https://github.com/lstrojny/functional-php) - 一个函数式编程库 425 | - [Lib Accessor](https://github.com/phine/lib-accessor) - 一个简化访问的库 426 | - [Iter](https://github.com/nikic/iter) - 一个使用生成器提供迭代原语的库 427 | - [laracasts/Laravel-5-Generators-Extended](https://github.com/laracasts/Laravel-5-Generators-Extended) - Laracasts 出品的代码快速生成工具 428 | - [symfony/workflow](https://github.com/symfony/workflow) - Workflow组件提供的工具用来管理一个工作流或有限状态机 429 | 430 | ## 调试和性能( Debugging and Profiling ) 431 | >调试代码的库和工具 432 | 433 | - [xDebug](https://github.com/xdebug/xdebug) - 一个PHP的调试和分析工具 434 | - [whoops](https://github.com/filp/whoops) 435 | - [PHP Debug Bar](http://phpdebugbar.com/) - 一个调试工具条 436 | - [PHP Console](https://github.com/Seldaek/php-console) - Web调试控制台 437 | - [Barbushin PHP Console](https://github.com/barbushin/php-console) - 一个使用Google Chrome的Web调试控制工具 438 | - [PHPDBG](http://phpdbg.com/) - 一个交互性的PHP调试器 439 | - [Tracy](https://github.com/nette/tracy) - 一个简单的错误检测、日志和时间测量库 440 | - [Z-Ray](http://www.zend.com/en/products/server/z-ray) - 一个调试和性能分析的工具 441 | - [xHprof](https://github.com/phacility/xhprof) - Facebook开源的PHP性能评测工具 442 |    - [xhprof](https://github.com/longxinH/xhprof) - 基于官方版本fork的社区版本(支持PHP7) 443 | - [xhprof.io](https://github.com/EvaEngine/xhprof.io) - 实现保存xhprof数据以及展示数据的UI 444 | - [xhgui](https://github.com/perftools/xhgui) - 另一个保存xhprof数据以及展示数据的UI 445 | - [Blackfire.io](http://blackfire.io) - 一个低开销的代码探查器 446 | - [Kint](https://github.com/raveren/kint) - 一个调试和性能分析的工具 447 | - [phptrace](https://github.com/Qihoo360/phptrace) - 360开源的PHP执行跟踪工具 448 | - [php-apm](https://github.com/patrickallaert/php-apm) - Application performance management for PHP application 449 | - [BooBoo](https://github.com/thephpleague/booboo) - 集中异常捕获 450 | - [Collision](https://github.com/nunomaduro/collision) - 命令行PHP应用程序的错误处理程序框架 451 | - [symfony/debug](https://github.com/symfony/debug) - PHP debug调试库 452 | - [Molten](https://github.com/chuan-yun/Molten) - 应用透明链路追踪工具(PHP扩展) 453 | - [laravel-debugbar](https://github.com/barryvdh/laravel-debugbar) - Laravel调试器 454 | - [itsgoingd/clockwork](https://github.com/itsgoingd/clockwork) - 配合 Chrome 浏览器下同名插件的调试工具 455 | - [GrahamCampbell/Laravel-Exceptions](https://github.com/GrahamCampbell/Laravel-Exceptions) - 错误异常处理工具(支持开发和生产环境,使用 Whoops 进行错误显示) 456 | 457 | ## 构建工具( Build Tools ) 458 | >项目构建和自动化工具 459 | 460 | - [Go](https://github.com/herrera-io/php-go) - 一个简单的PHP构建工具 461 | - [Bob](https://github.com/CHH/bob) - 一个简单的项目自动化工具 462 | - [Phake](https://github.com/jaz303/phake) - 一个PHP克隆库 463 | - [Box](https://github.com/kherge/Box) - 用来构建PHAR文件的工具 464 | - [Phing](http://www.phing.info/) - 依据Apache Ant的PHP项目构建系统 465 | 466 | ## 任务运行器( Task Runners ) 467 | >自动运行任务的库 468 | 469 | - [Task](http://taskphp.github.io/) - 依据Grunt和Gulp的纯PHP任务运行器 470 | - [Robo](https://github.com/Codegyre/Robo) - 面向对象的PHP任务运行器 471 | - [Bldr](http://bldr.io/) - 构建在Symfony组件上的PHP任务运行器 472 | 473 | ## 导航( Navigation ) 474 | >构建导航结构的工具 475 | 476 | - [KnpMenu](https://github.com/KnpLabs/KnpMenu) - 一个菜单库 477 | - [Cartographer](https://github.com/tackk/cartographer) - 一个站点地图生成库 478 | 479 | ## 资源管理( Asset Management ) 480 | >用于管理、压缩和最小化网站资源的工具 481 | 482 | - [kriswallsmith/assetic](https://github.com/kriswallsmith/assetic) - 一个资源管理的管道库 483 | - [CHH/pipe](https://github.com/CHH/pipe) - 另一个资源管理的管道库 484 | - [meenie/munee](https://github.com/meenie/munee) - 一个资源优化库 485 | - [tedivm/JShrink](https://github.com/tedivm/JShrink) - 一个JavaScript的压缩库 486 | - [webmozart/puli](https://github.com/webmozart/puli) - 一个检测资源绝对路径的库 487 | - [Chumper/Zipper](https://github.com/Chumper/Zipper) - ZIp 打包工具(基于 ZipArchive) 488 | - [HTMLMin/Laravel-HTMLMin](https://github.com/HTMLMin/Laravel-HTMLMin) - 基于 minify 的 HTML 压缩工具 489 | 490 | ## 地理定位( Geolocation ) 491 | >使用经纬度编码地址的库 492 | 493 | - [geocoder-php/Geocoder](https://github.com/geocoder-php/Geocoder) - 地理位置操作工具集(基于Geocoder) 494 | - [php-loep/Geotools](https://github.com/php-loep/Geotools) - 一个地理工具相关的库 495 | - [mjaschen/phpgeo](https://github.com/mjaschen/phpgeo) - 一个简单的地理库 496 | - [jmikola/geojson](https://github.com/jmikola/geojson) - 一个GeoJSON的实现 497 | - [laravel-geoip](https://github.com/Torann/laravel-geoip) - 通过 IP 获取到对应的地理位置信息(GeoIP 数据库) 498 | - [lionsoul2014/ip2region](https://github.com/lionsoul2014/ip2region) - IP 地址定位库 499 | - [maxmind/GeoIP2-php](https://github.com/maxmind/GeoIP2-php) - GeoIP 数据库PHP客户端 500 | 501 | ## 日期与时间( Date and Time ) 502 | >处理日期和时间的库 503 | 504 | - [Carbon](https://github.com/briannesbitt/Carbon) - 一个简单的日期时间API扩展 505 | - [ExpressiveDate](https://github.com/jasonlewis/expressive-date) - 另一个日期时间API扩展 506 | - [CalendR](http://yohan.giarel.li/CalendR) - 一个日历管理的库 507 | - [date](https://github.com/jenssegers/date) - 一个多语言的日期库 508 | - [moment.php](https://github.com/fightbulc/moment.php) 509 | 510 | ## 事件( Event ) 511 | >事件驱动或非阻塞事件循环实现的库 512 | 513 | - [React](https://github.com/reactphp/react) - 一个事件驱动的非阻塞I/O库 514 | - [Rx.PHP](https://github.com/asm89/Rx.PHP) - 一个反应扩展库 515 | - [phpsocket.io](https://github.com/walkor/phpsocket.io) 516 | - [Ratchet](https://github.com/cboden/Ratchet) - 一个Web套接字库 517 | - [Hoa WebSocket](https://github.com/hoaproject/Websocket) - 另一个Web套接字库 518 | - [Elephant.io](https://github.com/Wisembly/Elephant.io) - 另一个Web套接字库 519 | - [Hoa EventSource](https://github.com/hoaproject/Eventsource) - 一个事件源库 520 | - [Evenement](https://github.com/igorw/evenement) - 一个事件调度库 521 | - [Event](https://github.com/thephpleague/event) - Event package for your app and/or domain. 522 | - [Cake Event](https://github.com/cakephp/event) - 一个事件调度类库 523 | - [Broadway](https://github.com/qandidate-labs/broadway) - 一个事件源和CQRS库 524 | 525 | ## 日志( Logging ) 526 | >用于生成和处理日志文件的库 527 | 528 | - [Monolog](https://github.com/Seldaek/monolog) - 一个综合的日志类库 529 | - [KLogger](https://github.com/katzgrau/KLogger) - 一个易于使用的PSR-3日志类 530 | - [Analog](https://github.com/jbroadway/analog) - 一个机遇闭包的微型日志包 531 | - [SeasLog](https://github.com/neeke/seaslog) - 一个高效的日志扩展 532 | - [rap2hpoutre/laravel-log-viewer](https://github.com/rap2hpoutre/laravel-log-viewer) - 非常方便的页面 Log 查看工具 533 | 534 | ## 电子商务( E-commerce ) 535 | >用于支付和构建在线电子商务商店的库和应用 536 | 537 | - [OmniPay](https://github.com/thephpleague/omnipay) - 一个多网关支付处理的框架 538 | - [omnipay-paypal](https://github.com/thephpleague/omnipay-paypal) - PayPal 支付 539 | - [omnipay-wechatpay](https://github.com/lokielse/omnipay-wechatpay) - 微信支付 540 | - [omnipay-unionpay](https://github.com/lokielse/omnipay-unionpay) - 银联支付 541 | - [omnipay-alipay](https://github.com/lokielse/omnipay-alipay) - 支付宝支付 542 | - [omnipay-pingpp](https://github.com/phoenixg/omnipay-pingpp) - ping++聚合支付 543 | - [omnipay-99bill](https://github.com/zacksleo/omnipay-99bill) - 快钱支付 544 | - [Payum](https://github.com/payum/payum) - 一个用于支付的抽象库 545 | - [Sylius](http://www.sylius.org/) - 一个开源的电子商务解决方案 546 | - [Thelia](http://thelia.net/v2/) - 另一个开源的电子商务解决方案 547 | - [Money](https://github.com/moneyphp/money) - PHP实现的Fowler金钱模式 548 | - [Sebastian Money](https://github.com/sebastianbergmann/money) - 一个处理货币价值的库 549 | - [Swap](https://github.com/florianv/swap) - 一个汇率库 550 | - [yansongda/pay](https://github.com/yansongda/pay) - 优雅的 Alipay 和 WeChat 的支付 SDK 扩展包 551 | - [paypal/PayPal-PHP-SDK](https://github.com/paypal/PayPal-PHP-SDK) - PHP SDK for PayPal RESTful APIs https://developer.paypal.com/docs/api/ 552 | - [paypal/Checkout-PHP-SDK](https://github.com/paypal/Checkout-PHP-SDK) - PHP SDK for Checkout RESTful APIs 553 | 554 | ## PDF 555 | >处理PDF文件的库和软件 556 | 557 | - [Snappy](https://github.com/KnpLabs/snappy) - 一个PDF和图像的生成库 558 | - [WKHTMLToPDF](https://github.com/antialize/wkhtmltopdf) - 一个将HTML转换为PDF的工具 559 | - [PHPPdf](https://github.com/psliwa/PHPPdf) - 一个将XML转化为PDF和图片的库 560 | - [phpwkhtmltopdf](https://github.com/mikehaertl/phpwkhtmltopdf) 561 | - [php-pdftk](https://github.com/mikehaertl/php-pdftk) - A PDF conversion and form utility based on pdftk 562 | - [barryvdh/laravel-dompdf](https://github.com/barryvdh/laravel-dompdf) - PDF 操作工具(基于 dompdf ) 563 | - [laravel-snappy](https://github.com/barryvdh/laravel-snappy) - PDF 处理工具 564 | 565 | ## Office 566 | >Office套装的各种文档的处理库 567 | 568 | - [PHPOffice/PHPWord](https://github.com/PHPOffice/PHPWord) - 处理Word文档的库 569 | - [PHPOffice/PHPExcel](https://github.com/PHPOffice/PHPExcel) - 处理Excel文档的库 570 | - [PHPOffice/PHPPowerPoint](https://github.com/PHPOffice/PHPPowerPoint) - 处理PPT幻灯片的库 571 | - [Wisembly/ExcelAnt](https://github.com/Wisembly/ExcelAnt) - 操作Excel文档的库 572 | - [PHPOffice/PhpSpreadsheet](https://github.com/PHPOffice/PhpSpreadsheet) - 建议使用最新的PHPOffice维护的Excel 文档处理库 573 | - [viest/php-ext-excel-export](https://github.com/viest/php-ext-excel-export) - 操作Excel的 PHP 扩展 574 | - [Maatwebsite/Laravel-Excel](https://github.com/Maatwebsite/Laravel-Excel) - Excel 处理工具 575 | - [thephpleague/csv](https://github.com/thephpleague/csv) - 一个CSV数据操作库 576 | 577 | ## 数据库( Database ) 578 | >使用对象关系映射(ORM)或数据映射技术的数据库交互库 579 | 580 | - [Doctrine](http://www.doctrine-project.org/) - 一个完整的DBAL和ORM 581 | - [Doctrine Extensions](https://github.com/l3pp4rd/DoctrineExtensions) - 一个Doctrine行为的扩展集合 582 | - [Propel](http://www.propelorm.org/) - 一个快速的ORM,迁移和查询库 583 | - [Eloquent](https://github.com/illuminate/database) - Laravel 5 ORM(L5) 584 | - [baum/baum](https://github.com/etrepat/baum) - 嵌套集合 (Nested Set) 模型的支持 585 | - [VentureCraft/revisionable](https://github.com/VentureCraft/revisionable) - 数据模型的操作记录(如管理员操作日记) 586 | - [nicolaslopezj/searchable](https://github.com/nicolaslopezj/searchable) - 以 Trait 的形式为 Eloquent 模型增加搜索功能 587 | - [Tucker-Eric/EloquentFilter](https://github.com/tucker-eric/eloquentfilter) - 自定义查询条件(模型字段过滤) 588 | - [rtconner/laravel-tagging](https://github.com/rtconner/laravel-tagging) - 为 Eloquent 模型增加打标签功能 589 | - [LazyRecord](https://github.com/c9s/LazyRecord) - 一个快速的ORM 590 | - [Baum](https://github.com/etrepat/baum) - 一个Eloquent的嵌套集合 591 | - [Spot2](https://github.com/vlucas/spot2) - MySQL的ORM映射器 592 | - [RedBean](http://redbeanphp.com/) - 一个轻量级、易配置的ORM 593 | - [Pomm](https://github.com/chanmix51/Pomm) - 用于PostgreSQL的一个对象模型管理器 594 | - [ProxyManager](https://github.com/Ocramius/ProxyManager) - 用于数据映射生成代理对象的工具集合 595 | - [Cake ORM](https://github.com/cakephp/orm) - 对象关系映射器, 实现了使用数据映射模式(CP) 596 | - [catfan/Medoo](https://github.com/catfan/Medoo) - 一个轻量级的加速开发的ORM 597 | - [auraphp/Aura.Sql](https://github.com/auraphp/Aura.Sql) - SQL database access through PDO. 598 | - [EasyDB](https://github.com/paragonie/easydb) - 数据库抽象层 599 | 600 | ## 迁移( Migrations ) 601 | >用于管理数据库模式、迁移、备份的库 602 | 603 | - [davedevelopment/phpmig](https://github.com/davedevelopment/phpmig) - 一个迁移管理库 604 | - [obmorgan/phinx](https://github.com/robmorgan/phinx) - 一个数据库迁移管理库 605 | - [icomefromthenet/Migrations](https://github.com/icomefromthenet/Migrations) - 另一个迁移管理库 606 | - [Doctrine Migrations](http://docs.doctrine-project.org/projects/doctrine-migrations/en/latest/toc.html) - 用于Doctrine的迁移库 607 | - [Xethron/migrations-generator](https://github.com/Xethron/migrations-generator) - 从现存的数据中以 migration 的形式导出数据库表, 包括索引和外键 608 | - [orangehill/iseed](https://github.com/orangehill/iseed) - 将数据从数据库以 seed 的方式导出 609 | - [spatie/laravel-backup](https://github.com/spatie/laravel-backup) - 数据备份工具(支持压缩, 支持各种文件系统) 610 | 611 | ## 非关系型数据库( NoSQL ) 612 | 613 | >处理NoSQL后端的库; 暂时将所有非 MySQL 存储的库都归到这个分组 614 | 615 | - MongoDB 616 | - [mongo-php-library](https://github.com/mongodb/mongo-php-library) - MongoDB 官方PHP库 617 | - [MongoQB](https://github.com/alexbilbie/MongoQB) - 一个MongoDB的查询构建库 618 | - [Monga](https://github.com/thephpleague/monga) - 一个MongoDB的抽象库 619 | - [mongodm](https://github.com/purekid/mongodm) - MongoDB ORM 620 | - [php-mongo](https://github.com/sokil/php-mongo) - PHP ODM for MongoDB 621 | - [jenssegers/laravel-mongodb](https://github.com/jenssegers/laravel-mongodb) - MongoDB 数据库的支持 622 | - Redis 623 | - [Predis](https://github.com/nrk/predis) - 一个功能完全的Redis库 624 | - [codis](https://github.com/CodisLabs/codis) - Codis 是一个分布式 Redis 解决方案 625 | - [twemproxy](https://github.com/twitter/twemproxy) - 是twtter开源的一个redis和memcache代理服务器 626 | - [pika](https://github.com/Qihoo360/pika) - Pika是一个可持久化的大容量redis存储服务 627 | - ClickHouse 628 | - [smi2/phpClickHouse](https://github.com/smi2/phpClickHouse) - php ClickHouse(列式数据库) wrapper 629 | 630 | 631 | ## 队列( Queue ) 632 | 633 | >处理事件和任务队列的库 634 | 635 | - [enqueue-dev](https://github.com/php-enqueue/enqueue-dev) - Message queue packages for PHP, Symfony, Laravel, Magento 636 | - [enqueue/rdkafka](https://github.com/php-enqueue/rdkafka) 637 | - [enqueue/enqueue](https://github.com/php-enqueue/enqueue) 638 | - [enqueue/pheanstalk](https://github.com/php-enqueue/pheanstalk) 639 | - [enqueue/redis](https://github.com/php-enqueue/redis) 640 | - [php-enqueue/dsn](https://github.com/php-enqueue/dsn) 641 | 642 | **队列服务框架** 643 | 644 | - [Kafka](https://github.com/apache/kafka) - 高吞吐量的分布式发布订阅消息系统 645 | - [RabbitMQ](https://github.com/rabbitmq/rabbitmq-server) - 使用 erlang 编写的 AMQP (高级消息队列协议) 的服务实现 646 | - [RocketMQ](https://github.com/apache/rocketmq/) 647 | - [ActiveMQ](https://github.com/apache/activemq/) 648 | - [Qpid](https://github.com/apache/qpid) 649 | - [Disque](https://github.com/antirez/disque) - 分布式内存队列 650 | - [beanstalkd](https://github.com/kr/beanstalkd) - 一个高性能、轻量级的消息队列中间件 651 | 652 | **队列相关类库** 653 | 654 | - [php-rdkafka](https://github.com/arnaud-lb/php-rdkafka) - 一个kafka客户端库(PECL) 655 | - [longyan/phpkafka](https://github.com/longyan/phpkafka) - PHP Kafka client used in PHP-FPM and Swoole. 656 | - [weiboad/kafka-php](https://github.com/weiboad/kafka-php) - 一个kafka客户端库(Composer) 657 | - [pda/pheanstalk](https://github.com/pda/pheanstalk) - 一个Beanstalkd客户端库 658 | - [videlalvaro/php-amqplib](https://github.com/videlalvaro/php-amqplib) - 一个纯PHP AMQP库 659 | - [videlalvaro/Thumper](https://github.com/videlalvaro/Thumper) - 一个RabbitMQ模式库 660 | - [bernardphp/bernard/bernardard](https://github.com/bernardphp/bernard) - 一个多后端的抽象库 661 | - [chrisboulton/php-resque](https://github.com/chrisboulton/php-resque) - 基于redis的消息队列 662 | - [php-amqplib/php-amqplib](https://github.com/php-amqplib/php-amqplib) - 一个RabbitMQ客户端库 663 | 664 | ## 搜索( Search ) 665 | >在数据中建立索引和执行查询相关的库和软件 666 | 667 | - [ElasticSearch PHP](https://github.com/elasticsearch/elasticsearch-php) - 用于 [ElasticSearch](http://www.elasticsearch.org/) 的官方客户端库. 668 | - [Elastica](https://github.com/ruflin/Elastica) - 另一个ElasticSearch的客户端库 669 | - [Solarium](http://www.solarium-project.org/) - [Solr](http://lucene.apache.org/solr/) 的客户端库 . 670 | - [SphinxQL query builder](http://foolcode.github.io/SphinxQL-Query-Builder/) - [Sphinx](http://sphinxsearch.com/) 搜索引擎的查询库 671 | 672 | 673 | ## 命令行( Command Line ) 674 | >构建命令行工具的库 675 | 676 | - [symfony/console](https://github.com/symfony/console) - Symfony命令行工作组件 677 | - [symfony/process](https://github.com/symfony/process) - Symfony命令执行组件(用于执行系统命令) 678 | - [Boris](https://github.com/d11wtq/boris) - 一个微型的PHP REPL 679 | - [PsySH](https://github.com/bobthecow/psysh) - 另一个PHP REPL 680 | - [Pecan](https://github.com/mcrumm/pecan) - 一个事件驱动,非阻塞的shell 681 | - [GetOpt](https://github.com/ulrichsg/getopt-php) - 一个命令行选择解析器 682 | - [OptParse](https://github.com/CHH/optparse) - 另一个命令行选择解析器 683 | - [Commando](https://github.com/nategood/commando) - 一个简单的命令行选择解析器 684 | - [GetOptionKit](https://github.com/c9s/php-GetOptionKit) - 同样还是一个命令行选择解析器 685 | - [mtdowling/cron-expression](https://github.com/mtdowling/cron-expression) -计算cron运行日期的库 686 | - [ShellWrap](https://github.com/MrRio/shellwrap) - 一个简单的命令行包装库 687 | - [Hoa Console](https://github.com/hoaproject/Console) - 另一个命令行库 688 | - [Shunt](https://github.com/php-loep/shunt) -一个在多台远程机器上并行运行的命令行库 689 | - [Cilex](https://github.com/Cilex/Cilex) - 构建命令行工具的小型框架 690 | - [CLImate](https://github.com/thephpleague/climate) - 构建命令行工具的框架(可以输出颜色和特殊格式) 691 | - [Webmozart Console](github.com/webmozart/console) 692 | - [Silly](https://github.com/mnapoli/silly) - Silly CLI micro-framework based on Symfony Console 693 | - [php-shellcommand](https://github.com/mikehaertl/php-shellcommand) - A simple object oriented interface to execute shell commands in PHP 694 | - [PHP-Console-Highlighter](https://github.com/JakubOnderka/PHP-Console-Highlighter) - 命令行下高亮显示 PHP 代码 695 | 696 | ## 定时任务( Crontab ) 697 | >定时任务管理 crontab在 PHP 中的相关封装 698 | 699 | - [Indatus/dispatcher](https://github.com/Indatus/dispatcher) - 基于Laravel的定时任务管理 700 | - [osgochina/swoole-crontab](https://github.com/osgochina/swoole-crontab) - 基于swoole的定时器程序,支持秒级处理 701 | - [jobbyphp/jobby](https://github.com/jobbyphp/jobby) - 一个 PHP 的定时任务管理器 702 | - [ajbdev/cronlingo](https://github.com/ajbdev/cronlingo) - Express crontabs as human friendly phrases 703 | - [Indatus/dispatcher](https://github.com/Indatus/dispatcher) - 计划任务分发器(直接可替换掉 Cron) 704 | 705 | ## 身份验证( Authentication and Authorization ) 706 | >实现身份验证模式的库 707 | 708 | - [Sentinel](https://cartalyst.com/manual/sentinel/2.0) - 一个身份验证和授权的框架 709 | - [Sentinel Social](https://cartalyst.com/manual/sentinel-social/2.0) - 一个用于社交网络身份验证的库 710 | - [Opauth](https://github.com/opauth/opauth) - 提供了 OAuth 认证的支持,提供统一标准的访问方法 711 | - [OAuth2 Server](http://oauth2.thephpleague.com/) - 一个OAuth2身份验证服务器、资源服务器和客户端库 712 | - [OAuth2 Server](http://bshaffer.github.io/oauth2-server-php-docs/) - 一个OAuth2服务器实现 713 | - [PHP oAuthLib](https://github.com/Lusitanian/PHPoAuthLib) - 另一个OAuth库 714 | - [ruudk/twitteroauth](https://github.com/ruudk/twitteroauth) - 一个Twitter OAuth库 715 | - [Hawk](https://github.com/dflydev/dflydev-hawk) - 一个Hawk HTTP身份验证库 716 | - [HybridAuth](https://github.com/hybridauth/hybridauth) - 一个开源的社交登录库 717 | - [Lock](https://github.com/BeatSwitch/lock) - 一个 Access Control Lists (ACL) 系统库. 718 | - [OAuth 1.0 Client](https://github.com/thephpleague/oauth1-client) - 一个 OAuth 1.0 客户端库. 719 | - [OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client) - 一个 OAuth 2.0 客户端库. 720 | - [Sentry](http://github.com/cartalyst/sentry) - 认证和授权系统 721 | - [EvaOAuth](https://github.com/AlloVince/EvaOAuth) - 统一接口的 OAuth 登录 PHP 类库 722 | - [JSON Web Token](http://jwt.io/)- JSON网络令牌库 723 | - [firebase/php-jwt](https://github.com/firebase/php-jwt) 724 | - [lcobucci/jwt](https://github.com/lcobucci/jwt) 725 | - [namshi/jose](https://github.com/namshi/jose) - JSON签名和加密的库 726 | - [tuupola/slim-jwt-auth](https://github.com/tuupola/slim-jwt-auth) 727 | - [tymondesigns/jwt-auth](https://github.com/tymondesigns/jwt-auth) - JWT (JSON Web Token) 用户认证机制 728 | - [Sapient](https://github.com/paragonie/sapient) - the Secure API ENgineering Toolkit API消息传递安全校验 729 | - [legalthings/sso](https://github.com/legalthings/sso) - Simple Single Sign-On for PHP 730 | - [antonioribeiro/google2fa](https://github.com/antonioribeiro/google2fa) - 用户认证方案(支持谷歌提倡的双向认证和 HOTP 认证算法) 731 | - [PHPGangsta/GoogleAuthenticator](https://github.com/PHPGangsta/GoogleAuthenticator) - 谷歌双向认证 732 | 733 | ## 权限控制( Permission ) 734 | 735 | > 角色与权限控制相关组件 736 | 737 | - [spatie/laravel-permission](https://github.com/spatie/laravel-permission) - 基于 Laravel 的权限组件 738 | - [Zizaco/entrust](https://github.com/Zizaco/entrust) - 基于用户组的用户权限系统 739 | - [php-casbin/php-casbin](https://github.com/php-casbin/php-casbin) - 轻量级开源访问控制框架Casbin 的 PHP 实现 740 | 741 | ## 标记( Markup ) 742 | >处理标记的库 743 | 744 | - [Decoda](http://milesj.me/code/php/decoda) - 一个轻量级的标记解析库 745 | - [michelf/php-markdown](https://github.com/michelf/php-markdown) - Markdown解析器 746 | - [thephpleague/commonmark](https://github.com/thephpleague/commonmark) - 一个支持 [CommonMark spec](http://spec.commonmark.org/) 的Markdown解析器. 747 | - [thephpleague/html-to-markdown](https://github.com/thephpleague/html-to-markdown) - 一个 html 转换 markdown 的转换器 748 | - [erusev/parsedown](https://github.com/erusev/parsedown) - 一个Markdown解析器 749 | - [kzykhys/Ciconia](https://github.com/kzykhys/Ciconia) - 一个支持Github风格的Markdown解析器 750 | - [cebe/markdown](https://github.com/cebe/markdown) - 一个快速、可扩展的Markdown解析器 751 | - [GrahamCampbell/Laravel-Markdown](https://github.com/GrahamCampbell/Laravel-Markdown) - Markdown 解析器 752 | - [Masterminds/html5-php](https://github.com/Masterminds/html5-php) - 一个HTML5解析和序列化的库 753 | - [heyupdate/Emoji](https://github.com/heyupdate/Emoji) - 一个简单的处理emoji的类库 754 | - [iamcal/php-emoji](https://github.com/iamcal/php-emoji) - 一个emoji表情转换库 755 | 756 | ## 字符串( Strings ) 757 | >解析和操纵字符串的库 758 | 759 | - [jenssegers/agent](https://github.com/jenssegers/agent) - 客户端 User Agent 解析工具(基于 Mobiledetect) 760 | - [sensiolabs/ansi-to-html](https://github.com/sensiolabs/ansi-to-html) - 一个将ANSI转换为HTML5的库 761 | - [nicolas-grekas/Patchwork-UTF8](https://github.com/nicolas-grekas/Patchwork-UTF8) - 处理UTF-8格式字符串的便携库 762 | - [hoaproject/String](https://github.com/hoaproject/String) - 另一个UTF-8格式的字符串库 763 | - [danielstjules/Stringy](https://github.com/danielstjules/Stringy) - 一个多字节支持的字符串操纵库 764 | - [mikeemoo/ColorJizz-PHP](https://github.com/mikeemoo/ColorJizz-PHP) - 一个处理和转换颜色的库 765 | - [ramsey/uuid](https://github.com/ramsey/uuid) - 生成UUIDs的库 766 | - [webpatser/laravel-uuid](https://github.com/webpatser/laravel-uuid) - RFC 4122 标准生成的 UUID 767 | - [robinvdvleuten/php-ulid](https://github.com/robinvdvleuten/php-ulid) - 一个独特 ID 的生成库,对 uuid 进行了多方面的改进 768 | - [cocur/slugify](https://github.com/cocur/slugify) - 一个将字符串转换为slug格式的库 769 | - [jbroadway/urlify](https://github.com/jbroadway/urlify) - 一个Django URLify.js的PHP端口 770 | - [kzykhys/Text](https://github.com/kzykhys/Text) - 一个文本处理库 771 | - [jdorn/sql-formatter](https://github.com/jdorn/sql-formatter/) - 一个用于格式化SQL语句的库 772 | - [tobie/ua-parser](https://github.com/tobie/ua-parser/tree/master/php) - 一个解析UA(User Agent)字符串的库 773 | - [piwik/device-detector](https://github.com/piwik/device-detector) - 另一个解析UA(User Agent)字符串的库 774 | - [serbanghita/Mobile-Detect](https://github.com/serbanghita/Mobile-Detect) - 一个轻量级的检测移动设备的库(包括桌面设备) 775 | - [cbschuld/Browser.php](https://github.com/cbschuld/Browser.php) - 检测关于用户的浏览器环境 776 | - [hisorange/browser-detect](https://github.com/hisorange/browser-detect) - 浏览器检测工具(包括客户端对 JavaScript 和 CSS 支持情况的检测) 777 | - [colors.php](https://github.com/kevinlebrun/colors.php) - An easy way to add colors in your CLI scripts. 778 | - [cviebrock/eloquent-sluggable](https://github.com/cviebrock/eloquent-sluggable) - 文章标题 URL 别名处理工具 779 | - [fukuball/jieba-php](https://github.com/fukuball/jieba-php) - "結巴"中文分詞 780 | 781 | ## 数字( Numbers ) 782 | >处理数字的库 783 | 784 | - [Numbers PHP](https://github.com/powder96/numbers.php) - 一个处理数字的库 785 | - [Math](https://github.com/moontoast/math) - 处理较大数字的库 786 | - [ByteUnits](https://github.com/gabrielelana/byte-units) - 一个在二进制和测量系统中解析、格式化和转换字节单位的库 787 | - [PHP Units of Measure](https://github.com/triplepoint/php-units-of-measure) - 一个测量单位间转换的库 788 | - [PHP Conversion](https://github.com/Crisu83/php-conversion) - 另一个测量单位间转换的库 789 | - [LibPhoneNumber for PHP](https://github.com/giggsey/libphonenumber-for-php) - PHP实现的Google电话号码处理系统库 790 | - [ivanakimov/hashids.php](https://github.com/ivanakimov/hashids.php) - 用来把整数生成唯一字符串(比如:通过加密解密id来隐藏真实id) 791 | - [sschiau/Particle](https://github.com/sschiau/Particle) - PHP ID Generator | Implementation of Twitter Snowflake ID Generator 792 | - [nanoid-php](https://github.com/hidehalo/nanoid-php) - 小巧的唯一ID生成工具 793 | - [vinkla/laravel-hashids](https://github.com/vinkla/laravel-hashids) - Hash ID 生成器,方便把数字的 ID 隐藏(基于Hashids) 794 | 795 | ## 过滤和验证( Filtering ang Validation ) 796 | >用于过滤和验证数据的库 797 | 798 | - [ircmaxell/filterus](https://github.com/ircmaxell/filterus) - 一个简单的PHP过滤库 799 | - [Respect/Validation](https://github.com/Respect/Validation) - 一个简单的验证库 800 | - [vlucas/valitron](https://github.com/vlucas/valitron) - 另一个数据验证库 801 | - [cakephp/validation](https://github.com/cakephp/validation) - 另一个数据验证库 802 | - [illuminate/validation](https://github.com/illuminate/validation) - Laravel的验证库 803 | - [php-readability](https://github.com/feelinglucky/php-readability) - 内容分析算法 804 | - [codeguy/Upload](https://github.com/codeguy/Upload) - 一个处理文件上传和验证的库 805 | - [rdohms/DMS-Filter](https://github.com/rdohms/DMS-Filter) - 一个基于标注的过滤库 806 | - [romaricdrigon/MetaYaml](https://github.com/romaricdrigon/MetaYaml) - 支持YAML、JSON和XML的一个模式验证库 807 | - [ronanguilloux/IsoCodes](https://github.com/ronanguilloux/IsoCodes) - 验证不同ISO和ZIP编码的库 808 | - [aura/filter](https://github.com/auraphp/Aura.Filter) - Aura 数据验证组件 809 | - [symfony/validator](https://github.com/symfony/validator) - Symfony 数据验证组件 810 | - [dwightwatson/validating](https://github.com/dwightwatson/validating) - 以 Trait 的方式来实现 Eloquent 数据模型保存的时候自动验证 811 | - [Propaganistas/Laravel-Phone](https://github.com/Propaganistas/Laravel-Phone) - 手机号码、电话号码验证支持 812 | - [felixkiss/uniquewith-validator](https://github.com/felixkiss/uniquewith-validator) - 表单验证规则增加字段之间的唯一性验证 813 | - [cviebrock/image-validator](https://github.com/cviebrock/image-validator) - 图片尺寸验证 814 | 815 | ## REST和API 816 | 817 | >用于开发restful APIs的库和Web框架 818 | 819 | - [dingo/api](https://github.com/dingo/api) - 构建 API 服务器的完整解决方案 820 | - [Apigility](https://github.com/zfcampus/zf-apigility-skeleton) - 一个使用Zend Framework2构建的API构建器 821 | - [Hateoas](https://github.com/willdurand/Hateoas) - 一个HATEOAS REST的web服务库 822 | - [HAL](https://github.com/blongden/hal) - 一个超文本应用语言(HAL)构建库 823 | - [Negotiation](https://github.com/willdurand/Negotiation) - 一个内容协商库 824 | - [Drest](https://github.com/leedavis81/drest) -一个将Doctrine实体展现为REST资源结点的库 825 | - [Restler](https://github.com/Luracast/Restler) - 一个将PHP方法展现为RESTful web API的轻量级框架 826 | - [thephpleague/fractal](https://github.com/thephpleague/fractal) - [最佳实践]数据返回的统一化处理 827 | - [api-problem](https://github.com/Crell/ApiProblem) - A simple implementation of the api-problem specification 828 | - [graphql-php](https://github.com/webonyx/graphql-php) - 应用层查询语言库 829 | - [GraphQL](https://github.com/Youshido/GraphQL) - 另一个应用层查询语言库 830 | - [GrahamCampbell/Laravel-Throttle](https://github.com/GrahamCampbell/Laravel-Throttle) - 速率控制工具 831 | 832 | ## 缓存( Caching ) 833 | >缓存数据的库 834 | 835 | - [symfony/cache](https://github.com/symfony/cache) - Symfony遵循 [PSR-6](https://www.php-fig.org/psr/psr-6/)实现的缓存组件 836 | - [Alternative PHP Cache (APC)](http://www.php.net/manual/en/book.apc.php) - PHP的开源操作码缓存 837 | - [Doctrine Cache](https://github.com/doctrine/cache) - 一个缓存库. 838 | - [Zend Cache](https://github.com/zendframework/zend-cache) - 另一个缓存库 839 | - [Cake Cache](https://github.com/cakephp/cache) - 一个用于缓存的库 840 | - [Stash](https://github.com/tedivm/Stash) - 另一个缓存库 841 | - [CacheTool](https://github.com/gordalina/cachetool) - 一个清除APC/opcode缓存的命令行工具 842 | - [PhpFastCache](https://github.com/khoaofgod/phpfastcache) - PHP 缓存库 843 | - [desarrolla2/Cache](https://github.com/desarrolla2/Cache) - 一个提供多种Adapter的缓存库 844 | - [laruence/yac](https://github.com/laruence/yac) - Yac 是为PHP实现的一个基于共享内存, 无锁的内容Cache 845 | - [liexusong/pcache](https://github.com/liexusong/pcache) - Extension for PHP local cache 846 | - [Shies/PHP7-buffer](https://github.com/Shies/PHP7-buffer) - PHP的高性能local cache扩展 847 | 848 | ## 数据结构和存储( Data Structure and Storage ) 849 | >实现数据结构和存储技术的库 850 | 851 | - [Illuminate\Support\Collection](https://docs.golaravel.com/docs/5.1/collections/) - Laravel提供的流畅、便利的封装来操控数组数据的集合库 852 | - [Collections](https://github.com/tightenco/collect) - 一个从Laravel拆离出的集合库 853 | - [Ardent](https://github.com/morrisonlevi/Ardent) - 一个数据结构库 854 | - [Cake Collection](https://github.com/cakephp/collection) - 一个简单的集合库 855 | - [Collections](https://github.com/italolelis/collections) - 一个集合抽象库 856 | - [Fractal](https://github.com/php-loep/fractal) - 一个将复杂数据结构转换为JSON输出的库 857 | - [PHP Collections](https://github.com/schmittjoh/php-collection) - 一个简单的集合库 858 | - [Serializer](https://github.com/schmittjoh/serializer) - 用于序列化和反序列化数据的库 859 | - [Zend Serializer](https://github.com/zendframework/zend-serializer) - 另一个用于序列化和反序列化数据的库 860 | - [PHP Object Storage](https://github.com/herrera-io/php-object-storage) - 一个用于对象存储的库 861 | - [Totem](http://github.com/Wisembly/Totem) - 一个管理和创建数据修改集的库 862 | - [PINQ](https://github.com/TimeToogo/Pinq) - PHP实时Linq库 863 | - [JsonMapper](https://github.com/netresearch/jsonmapper) - 一个将内嵌JSON结构映射到PHP类上的库 864 | - [php-jsonq](https://github.com/nahid/jsonq) - A PHP query builder for JSON 865 | - [DeepCopy](https://github.com/myclabs/DeepCopy) - 创建对象的深层副本( 克隆) 866 | 867 | ## 通知( Notifications ) 868 | >关于通知的库 869 | 870 | - [filp/nod](https://github.com/filp/nod) - 一个通知库 871 | - [wrep/notificato](https://github.com/wrep/notificato) - 一个处理推送消息的库 872 | - [Ph3nol/NotificationPusher](https://github.com/Ph3nol/NotificationPusher) - 设备推送通知的独立库 873 | - [namshi/notificator](https://github.com/namshi/notificator) - 一个轻量级通知库 874 | - [davibennun/laravel-push-notification](https://github.com/davibennun/laravel-push-notification) - App 的 Push Notification 发送工具(支持苹果的 APNS 和 安卓的 GCM) 875 | - [edvinaskrucas/notification](https://github.com/edvinaskrucas/notification) - 页面消息提醒的组件 876 | 877 | ## 部署( Deployment ) 878 | >用于项目部署的库 879 | 880 | - [tamagokun/pomander](https://github.com/tamagokun/pomander) - 一个PHP应用的部署工具 881 | - [rocketeers/rocketeer](https://github.com/rocketeers/rocketeer) - PHP的快速和简单部署器 882 | - [laravel/envoy](https://github.com/laravel/envoy) - Laravel 官方出品的简单的部署工具 883 | - [aerialls/Plum](https://github.com/aerialls/Plum) - 一个部署库 884 | - [deployphp/deployer](https://github.com/deployphp/deployer) - 一个部署工具 885 | - [meolu/walle-web](https://github.com/meolu/walle-web) - 一个开源的web代码发布管理系统 886 | - [Piplin](https://github.com/Piplin/) - Piplin是一款免费、开源的持续集成与部署系统,适用于软件的自动化构建、测试和部署相关的各种应用场景。 887 | 888 | ## 国际化和本地化(Internationalisation and Localisation) 889 | 890 | >用于国际化(I18n)和本地化(L10n)的库 891 | 892 | - [auraphp/Aura.Intl](https://github.com/auraphp/Aura.Intl) 893 | - [cakephp/i18n](https://github.com/cakephp/i18n) - 翻译和本地化消息 894 | - [symfony/translation](https://github.com/symfony/translation) 895 | - [illuminate/translation](https://github.com/illuminate/translation) 896 | - [Gettext](https://github.com/oscarotero/Gettext) - PHP library to collect and manipulate gettext (.po, .mo, .php, .json, etc) 897 | - [zend/i18n](http://zendframework.github.io/zend-i18n/translation/) 898 | - [mcamara/laravel-localization](https://github.com/mcamara/laravel-localization) - Laravel 本地化功能增强 899 | - [dimsav/laravel-translatable](https://github.com/dimsav/laravel-translatable) - 数据库的多语言翻译方案 900 | - [webpatser/laravel-countries](https://github.com/webpatser/laravel-countries) - 世界所有国家数据(包括首都汇率等) 901 | - [overtrue/laravel-lang](https://github.com/overtrue/laravel-lang) - Laravel 5 语言包,包含 68 种语言, 基于 caouecs/Laravel-lang 902 | - [caouecs/Laravel-lang](https://github.com/caouecs/Laravel-lang) - List of 75 languages for Laravel 5, 6 and 7 903 | 904 | ## 第三方API( Third Party APIs ) 905 | >访问第三方API/SDK的库 906 | 907 | - [mailgun-php](https://github.com/mailgun/mailgun-php) - Mailgun's Official SDK for PHP 908 | - [wechat](https://github.com/overtrue/wechat) - 让微信开发更简单 909 | - [Qiniu/sdk](https://github.com/qiniu/php-sdk) - Qiniu Resource Storage SDK for PHP 910 | - [Qiniu/qshell](https://github.com/qiniu/qshell) - qshell是利用七牛文档上公开的API实现的一个方便开发者测试和使用七牛API服务的命令行工具。 911 | - [tencentyun/wafer](https://github.com/tencentyun/wafer) - 快速构建具备弹性能力的微信小程序 912 | - [maxmind/GeoIP2-php](https://github.com/maxmind/GeoIP2-php) - MaxMind GeoIP2 地理位置服务 913 | - [PingPlusPlus/pingpp-php](https://github.com/PingPlusPlus/pingpp-php) - ping++聚合支付SDK 914 | - [mgp25/Instagram-API](https://github.com/mgp25/Instagram-API) - Instagram的私有 API 915 | - [aws/aws-sdk-php](https://github.com/aws/aws-sdk-php) - AWS 服务的开发者工具包 916 | - [bugsnag/bugsnag-laravel](https://github.com/bugsnag/bugsnag-laravel) - Bugsnag 服务集成包 917 | - [maknz/slack](https://github.com/maknz/slack) - Slack 服务的集成 918 | - [lyrixx/twitter-sdk](https://github.com/lyrixx/twitter-sdk) - 一个经过完全测试的Twitter SDK 919 | - [thujohn/twitter](https://github.com/thujohn/twitter) - Twitter API 的支持 920 | - [overtrue/weather](https://github.com/overtrue/weather) - 基于高德开放平台接口的 PHP 天气信息组件 921 | - [aliyun/aliyun-oss-php-sdk](https://github.com/aliyun/aliyun-oss-php-sdk) - 阿里云对象存储 922 | - [aliyun/openapi-sdk-php](https://github.com/aliyun/openapi-sdk-php) - Alibaba Cloud SDK for PHP 923 | - [overtrue/laravel-filesystem-qiniu](https://github.com/overtrue/laravel-filesystem-qiniu) - Laravel filesystem Qiniu 924 | - [jacobcyl/Aliyun-oss-storage](https://github.com/jacobcyl/Aliyun-oss-storage) - 阿里云OSS laravel扩展 925 | - [overtrue/easy-sms](https://github.com/overtrue/easy-sms) - 满足多种发送需求的短信发送组件 926 | - [mingyoung/dingtalk](https://github.com/mingyoung/dingtalk) - 钉钉 SDK 927 | - [wowiwj/ding-notice](https://github.com/wowiwj/ding-notice) - 钉钉推送机器人消息发送laravel扩展包 928 | 929 | ## 扩展( Extensions ) 930 | >帮助构建PHP扩展的库 931 | 932 | - [Zephir](https://github.com/phalcon/zephir) - 用于开发PHP扩展的一种在PHP和C++间的编译语言 933 | - [PHP CPP](http://www.php-cpp.com/) - 一个用于开发PHP扩展的C++库 934 | - [PHP-X](https://github.com/swoole/PHP-X) - C++ wrapper for Zend API 935 | 936 | ## PHP 安装(PHP Installation) 937 | >帮助安装和管理PHP 938 | 939 | - [HomeBrew](http://brew.sh/) - 一个OSX的包管理工具 940 | - [HomeBrew PHP](https://github.com/Homebrew/homebrew-php) - HomeBrew中PHP的安装包 941 | - [PHP OSX](http://php-osx.liip.ch/) - 一个OSX中的PHP安装器 942 | - [PHP Brew](https://github.com/phpbrew/phpbrew) - 一个PHP版本管理工具和安装器 943 | - [PHP Env](https://github.com/CHH/phpenv) - 另一个PHP版本工具 944 | - [PHP Switch](https://github.com/jubianchi/phpswitch) - 另一个PHP版本工具 945 | - [PHP Build](https://github.com/php-build/php-build) - 另一个PHP版本工具 946 | - [VirtPHP](http://virtphp.org/) - 一个创建和管理分离的PHP环境的工具 947 | 948 | 949 | ## 开发环境(Development Environment) 950 | >创建沙箱开发环境的软件和工具 951 | 952 | - [Docker](https://www.docker.com/) - 一个开源的应用容器引擎 953 | - [Vagrant](https://www.vagrantup.com/) - 一个轻便的创建开发环境的工具 954 | - [Ansible](https://www.ansible.com/) - 一个简单的业务流程框架 955 | - [Puppet](https://puppetlabs.com/) - 服务器自动化框架和应用 956 | - [PuPHPet](https://puphpet.com/) - 一个用于构建PHP开发虚拟机工具 957 | - [Protobox](http://getprotobox.com/) - 另一个用于构建PHP开发虚拟机工具 958 | - [Phansible](http://phansible.com/) - 另一个用于构建PHP开发虚拟机工具 959 | - [centstead](https://github.com/jason-chang/centstead) - Laravel local development environment base on vagrant and homestead 960 | - [Devilbox](https://github.com/cytopia/devilbox) - A modern dockerized LAMP and MEAN stack alternative to XAMPP 961 | - [Homestead](https://github.com/laravel/homestead) - 基于 Vagrant 的 PHP 开发环境 962 | - [Laradock](https://github.com/laradock/laradock) - 基于 Docker 的 PHP 开发环境 963 | 964 | ## 虚拟机(Virtual Machines) 965 | >替代的PHP虚拟机 966 | 967 | - [HHVM](https://github.com/facebook/hhvm) - Facebook 开源的PHP虚拟机 968 | - [HippyVM](http://hippyvm.com/) - 另一个PHP虚拟机 969 | 970 | ## 开发工具(Integrated Development Environment) 971 | >支持PHP的IDE 972 | 973 | - [Netbeans](https://netbeans.org/) 974 | - [Eclipse for PHP Developers](https://www.eclipse.org/downloads/) 975 | - [PhpStorm](http://www.jetbrains.com/phpstorm/) 976 | 977 | ## Web 应用程序(Web Applications) 978 | >基于Web的应用程序和工具 979 | 980 | - [3V4L](https://3v4l.org/) - Online PHP shell 981 | - [DBV](http://dbv.vizuina.com/) - 数据库版本控制应用程序 982 | - [PHP Queue](https://github.com/CoderKungfu/php-queue) - 管理队列的后端程序 983 | - [MailCatcher](https://github.com/sj26/mailcatcher) - 一个接受和查看邮件的程序 984 | - [Cachet](https://github.com/cachethq/cachet) - 一个开源的网站状态展示系统(如: status.github.com ) 985 | - [phpRedisAdmin](https://github.com/ErikDubbelboer/phpRedisAdmin) - Redis 管理工具 986 | - [phpPgAdmin](https://github.com/phppgadmin/phppgadmin) - PostgreSQL管理工具 987 | - [phpMyAdmin](https://github.com/phpmyadmin/phpmyadmin) - MySQL管理工具 988 | - [rockmongo](https://github.com/iwind/rockmongo) - MongoDB管理工具 989 | - [Grav](https://github.com/getgrav/grav) - Powerful Flat-File CMS 990 | - [Piwik](https://github.com/piwik/piwik) - 网页统计 991 | - [YOURLS](https://github.com/YOURLS/YOURLS) - 短网址生成系统 992 | - [Nextcloud server](https://github.com/nextcloud/server) - 开源私有云系统(a safe home for all your data) 993 | - [magento2](https://github.com/magento/magento2) - 开源的PHP电子商务系统 994 | - [laravel-admin](https://github.com/z-song/laravel-admin) - 基于laravel的后台管理开发框架 995 | - [Crinsane/LaravelShoppingcart](https://github.com/Crinsane/LaravelShoppingcart) - 一个简单的购物车模块实现 996 | - [CachetHQ/Cachet](https://github.com/CachetHQ/Cachet) - Cachet是一个开源的状态页系统(提供了允许你获取、添加以及删除事件、组件和指标的API) 997 | - [flarum/flarum](https://github.com/flarum/flarum) - 优雅简洁的轻论坛 998 | - [roots/bedrock](https://github.com/roots/bedrock) - WordPress部署工具 999 | - [monicahq/monica](https://github.com/monicahq/monica) - 个人关系管理CRM 1000 | 1001 | ## 基础设施(Infrastructure) 1002 | >提供PHP应用程序和服务的基础设施 1003 | 1004 | - [appserver.io](http://appserver.io/) - 基于PHP的多线程应用程序服务器 1005 | - [php-pm](https://github.com/php-pm/php-pm) - 进程管理器,增压器和PHP应用程序的负载平衡器 1006 | 1007 | ## 数据库中间件( DB Proxy ) 1008 | > 用于读写分离、分库分表等 1009 | 1010 | - [kingshard](https://github.com/flike/kingshard) - 金山开源的数据库中间件 1011 | - [heisenberg](https://github.com/brucexx/heisenberg) - 百度开源的数据库中间件 1012 | - [Oceanus](https://github.com/58code/Oceanus) - 58同城开源的数据库中间件 1013 | - [Atlas](https://github.com/Qihoo360/Atlas) - 360开源数据库中间件 1014 | - [DBProxy](https://github.com/Meituan-Dianping/DBProxy) - 美团点评基于Atlas的数据库中间件 1015 | - [Mycat](http://www.mycat.org.cn/index.html) 1016 | - [TiDB](https://github.com/pingcap/tidb) - 分布式数据库 1017 | 1018 | ## RPC框架 1019 | > 远程过程调用框架 1020 | 1021 | - [apache/thrift](https://github.com/apache/thrift) - Apache Thrift 1022 | - [grpc/grpc](https://github.com/grpc/grpc) - Google的开源框架 1023 | - [protobuf](https://github.com/allegro/php-protobuf) 1024 | - [alibaba/dubbo](https://github.com/alibaba/dubbo) - 阿里巴巴开源的RPC框架 1025 | - [TarsCloud/Tars](https://github.com/TarsCloud/Tars) - 腾讯基于名字服务使用Tars协议的高性能RPC开发框架 1026 | - [weibocom/motan](https://github.com/weibocom/motan) - 微博轻量级RPC框架 1027 | - [dangdangdotcom/dubbox](https://github.com/dangdangdotcom/dubbox) - 当当网维护的dubbox 1028 | - [baidu/sofa-pbrpc](https://github.com/baidu/sofa-pbrpc) - 百度开源的sofa-pbrpc 1029 | - [laruence/yar](https://github.com/laruence/yar) - Light, concurrent RPC framework for PHP & C 1030 | - Hprose - 高性能跨语言RPC 1031 | - [hprose-php](https://github.com/hprose/hprose-php) 1032 | - [hprose-swoole](https://github.com/hprose/hprose-swoole) 1033 | - 其他 1034 | - [Dora-RPC](https://github.com/xcl3721/Dora-RPC) 1035 | - [workerman-JsonRpc](https://github.com/walkor/workerman-jsonrpc/) 1036 | 1037 | ## 异步网络通信框架( Asynchronous Event Driven Framework ) 1038 | 1039 | - [Swoole](http://www.swoole.com/) 1040 | - [Workerman](https://github.com/walkor/Workerman) 1041 | - [Gearman](http://gearman.info/) - 任务分发系统 1042 | - [phpdaemon](https://github.com/kakserpom/phpdaemon) 1043 | - [ReactPHP](https://github.com/reactphp/react) 1044 | - [amphp/amp](https://github.com/amphp/amp) - A non-blocking concurrency framework for PHP applications. 1045 | - [async](https://github.com/spatie/async) - Easily run code asynchronously 1046 | - [kraken-php](https://github.com/kraken-php/framework/) - Asynchronous & Fault-tolerant PHP Framework for Distributed Applications. 1047 | - [recoilphp/recoil](https://github.com/recoilphp/recoil) - Asynchronous coroutines for PHP 7. 1048 | 1049 | ## 规则引擎( Rules Engine ) 1050 | 1051 | - [Hoa\Ruler](https://github.com/hoaproject/Ruler) - Hoa项目的规则引擎 1052 | - [Ruler](https://github.com/bobthecow/Ruler) - 简单的无状态的规则引擎 1053 | - [Rules](https://github.com/tonera/Rules) - PHP简易规则引擎 1054 | 1055 | ## 分布式事务 (Distributed Transaction) 1056 | 1057 | - [dtm-labs/dtm](https://github.com/dtm-labs/dtm) - 多语言的分布式事务管理器 1058 | - [dtm-labs/dtmcli-php](https://github.com/dtm-labs/dtmcli-php) - DTM PHP 客户端 1059 | 1060 | ## 其他( Miscellaneous ) 1061 | >不属于以上分类的有用的类库和工具 1062 | 1063 | - [overtrue/pinyin](https://github.com/overtrue/pinyin) - 汉字转拼音的库 1064 | - [jifei/Pinyin](https://github.com/jifei/Pinyin) - 汉字转拼音的库 1065 | - [class.upload.php](https://github.com/verot/class.upload.php) - 文件上传处理类 1066 | - [php-paginator](https://github.com/jasongrimes/php-paginator) - 分页处理类 1067 | - [Anahkiasen/underscore-php](https://github.com/brianhaveri/Underscore.php) - Underscore.js 类似的 PHP 语法支持 1068 | - [Flexihash](https://github.com/pda/flexihash) - 一致性hash库 1069 | - [Eden](https://github.com/Openovate/eden) - 一个PHP快速开发类库,它包含很多组件用来自动加载、事件驱动、文档系统、缓存、模板、国际化、数据库、web服务、支付网关、装载和云服务技术。 1070 | - [html-parser](https://github.com/bupt1987/html-parser) - html解析工具 1071 | - [PHPCrawl](http://phpcrawl.cuab.de/) - PHP的爬虫框架 1072 | - [Tig](https://github.com/jonas/tig) - 命令行下的 Git 浏览器 1073 | - [copywriting-correct](https://github.com/ricoa/copywriting-correct) - 中英文文案排版纠正器 1074 | - [PHP-ML](https://github.com/php-ai/php-ml) - PHP 机器学习库 1075 | - [BotMan](https://github.com/botman/botman) - 聊天机器人库 1076 | - [barryvdh/laravel-ide-helper](https://github.com/barryvdh/laravel-ide-helper) - 使用 IDE 开发 Laravel 项目的好帮手 1077 | - [davejamesmiller/laravel-breadcrumbs](https://github.com/davejamesmiller/laravel-breadcrumbs) - 页面面包屑工具 1078 | - [laracasts/PHP-Vars-To-Js-Transformer](https://github.com/laracasts/PHP-Vars-To-Js-Transformer) - 将 PHP 变量转换为 JavaScript 变量 1079 | - [Laravelium/laravel-sitemap](https://github.com/Laravelium/laravel-sitemap) - Sitemap 生成工具 1080 | - [yajra/laravel-datatables](https://github.com/yajra/laravel-datatables) - jQuery DataTables 的后端支持 1081 | - [formers/former](https://github.com/formers/former) - 强大的表单构造器 1082 | - [Laravelium/laravel-feed](https://github.com/Laravelium/laravel-feed) - Feed 信息流生成器 1083 | 1084 | --------------------------------------------------------------------------------