└── README.md /README.md: -------------------------------------------------------------------------------- 1 | # Awesome PHP extensions 2 | 收集 PHP 扩展 3 | 4 | # Contributing 5 | 欢迎PR 6 | 7 | # The list 8 | ## 数据转换 9 | - [ds](https://github.com/php-ds/extension) - 标准数据结构 10 | - [php-ext-excel-export](https://github.com/viest/php-ext-excel-export) - 输出 Excel 格式 11 | - [php-ext-trie-filter](https://github.com/wulijun/php-ext-trie-filter) - trie 查找树,用于文本匹配 12 | - [php-ext-collection](https://github.com/viest/php-ext-collection) - 数组数据操作 13 | - [php-rapidjson](https://github.com/rustjason/php-rapidjson) - 此库有问题 14 | - [simdjson_php](https://github.com/crazyxman/simdjson_php) - simdjson 绑定,json 解析 15 | - [php-decimal](https://github.com/php-decimal/extension) - 提供对 decimal 的支持。官方提供纯 php 版 16 | - [php-toml](https://github.com/shukean/php-toml) - 解析 toml 文件 17 | - [igbinary](https://github.com/igbinary/igbinary) - 替代 serialize 和 unserialize 18 | - [php-ext-jq](https://github.com/kjdev/php-ext-jq) - 封装 jq ,快速查找 json 19 | - [ext-serialize](https://github.com/swoole/ext-serialize) - 序列化 20 | 21 | 22 | ## 客户端 23 | - [phpredis](https://github.com/phpredis/phpredis) - Redis 客户端 24 | - [phpiredis](https://github.com/nrk/phpiredis) - 封装了 Hiredis 的 Redis 客户端 25 | - [msphpsql](https://github.com/Microsoft/msphpsql) - 微软出的 SQL Server 客户端 26 | - [php-rdkafka](https://github.com/arnaud-lb/php-rdkafka) - kafka 客户端 27 | - [arangodb-php-driver](https://github.com/sandrokeil/arangodb-php-driver) - ArangoDB 客户端 28 | - [PHP-FoundationDB](https://github.com/viest/PHP-FoundationDB) - FoundationDB 客户端 29 | 30 | ## 网站框架 31 | - [yar](https://github.com/laruence/yar) - RPC框架 32 | - [yaf](https://github.com/laruence/yaf) - 网站框架 33 | - [cphalcon](https://github.com/phalcon/cphalcon) - 网站框架 34 | - [asf](https://github.com/yulonghu/asf) - 网站框架 35 | - [ice](https://github.com/ice) - 用 Zephir 写的框架 36 | - [CSpeed](https://github.com/liqiongfan/cspeed) - 网站框架 37 | 38 | ## 框架组件 39 | - [SeasLog](https://github.com/SeasX/SeasLog) - 日志 40 | - [Pimple](https://github.com/silexphp/Pimple) - 依赖注入 41 | - [yaconf](https://github.com/laruence/yaconf) - 配置管理 42 | - [php-mustache](https://github.com/jbboehr/php-mustache) - mustache 解析库 43 | 44 | ## 异步 45 | - [swoole](https://github.com/swoole/swoole-src) - 多进程框架 46 | - [pthreads](https://github.com/krakjoe/pthreads) - 多线程 47 | - [zan](https://github.com/youzan/zan) - 有赞出的异步网络库 48 | - [php-ion](https://github.com/php-ion/php-ion) - 异步执行库 49 | - [event](https://bitbucket.org/osmanov/pecl-event) - 进程间通信 50 | - [parallel](https://github.com/krakjoe/parallel) - 并行运算 51 | 52 | ## 代码分析 53 | - [XHProf](https://github.com/phacility/xhprof) - 性能分析工具 54 | - [Molten](https://github.com/chuan-yun/Molten) - 应用透明链路追踪工具 55 | - [XDebug](https://xdebug.org/) - PHP程序调试器 56 | - [vld](https://github.com/derickr/vld) - 输出PHP脚本生成的中间代码 57 | - [php-spx](https://github.com/NoiseByNorthwest/php-spx) - 自带后台界面的性能分析工具 58 | - [php-memory-profiler](https://github.com/arnaud-lb/php-memory-profiler) - 函数内存使用分析工具 59 | - [php-taint](https://github.com/laruence/taint) - XSS 代码检查 60 | - [php-ast](https://github.com/nikic/php-ast) - AST 抽象语法树 61 | - [php-spy](https://github.com/adsr/phpspy) - 性能分析工具 62 | - [php-meminfo](https://github.com/BitOne/php-meminfo) - 内存分析工具 63 | - [phptrace](https://github.com/Qihoo360/phptrace) - 代码执行分析 64 | - [Molten](https://github.com/chuan-yun/Molten) - zipkin 集成 65 | 66 | ## 扩展编写 67 | - [zephir](https://github.com/phalcon/zephir) - 用 PHP 编写 PHP 扩展 68 | - [php-x](https://github.com/swoole/phpx) - cpp 开发 69 | - [php-cpp](https://github.com/CopernicaMarketingSoftware/PHP-CPP) - cpp 开发 70 | - [php-go](https://github.com/kitech/php-go) - 用 Go 语言编写 PHP 扩展 71 | - [php-rc](https://github.com/rethinkphp/php-rs) - 用 Rust 语言编写 PHP 扩展 72 | 73 | ## 跨语言 74 | - [ffi](https://github.com/dstogov/php-ffi) - 直接编译 c 语言代码 75 | - [v8js](https://github.com/phpv8/v8js) - 用 V8 引擎执行 javascript 76 | - [php-v8](https://github.com/phpv8/php-v8) - 用 V8 引擎执行 javascript 77 | - [PHPython](https://github.com/bullsoft/PHPython) - 执行 python 78 | - [php-python](https://github.com/jparise/php-python) - 运行 python 扩展 79 | - [php-ext-wasm](https://github.com/wasmerio/php-ext-wasm) - 运行 WebAssembly 80 | - [php-webview](https://github.com/siara-cc/php_webview) - 模仿浏览器运行 javascript,有 document 81 | 82 | ## 图片处理 83 | - [php-smartcrop-extension](https://github.com/xymak/php-smartcrop-extension) - smartcrop 图片关键部位查找算法的 PHP 实现 84 | - [php-vips](https://github.com/jcupitt/php-vips) - 图像处理库,封装 libvips 85 | - [php-opencv](https://github.com/hihozhou/php-opencv) - opencv 客户端 86 | 87 | ## 字符串处理 88 | - [php-akm](https://github.com/imaben/php-akm) - 文本查找 89 | - [php_aho_corasick](https://github.com/ph4r05/php_aho_corasick) - Aho-Corasick 算法做字符串匹配 90 | - [pinyin-php](https://github.com/duguying/pinyin-php) - 汉字转拼音 91 | - [php-pinyin](https://github.com/bullsoft/php-pinyin) - 汉字转拼音 92 | - [libsodium-php](https://github.com/jedisct1/libsodium-php) - 加密库,封装 libsodium 93 | 94 | ## 安全检查 95 | - [taint](https://github.com/laruence/taint) - 检查XSS漏洞 96 | - [xmark](https://github.com/fate0/xmark) - 检查多种漏洞 97 | 98 | ## 日志 99 | - [php-yklogger](https://github.com/shukean/php-yklogger) - 记录日志 100 | 101 | ## 地理 102 | - [geohash-php-extension](https://github.com/taogogo/geohash-php-extention) - 经纬度和 geohash 转换 103 | - [geohash](https://github.com/shenzhe/geohash) - geohash 104 | - [geospatial](https://github.com/php-geospatial/geospatial) - 包含一般的地理计算函数 105 | 106 | ## 其他 107 | - [donkeyid](https://github.com/osgochina/donkeyid) - 64位自增id生成器 108 | - [screw-plus](https://github.com/del-xiong/screw-plus) - 基于 screw 对 PHP 代码加密 109 | - [mpl-php-extension](https://github.com/taogogo/mpl-php-extension) - 手机查找归属地 110 | - [php-inotify](https://github.com/arnaud-lb/php-inotify) - 封装 inotify,监控文件状态 111 | --------------------------------------------------------------------------------