github上50个最受欢迎的php开源项目【2019】
1、laravel
laravel是一个为web开发者打造的php开发框架。
github stars: 43.5k+
网址:https://github.com/laravel/laravel
相关推荐:
laravel 5.8 中文文档手册
laravel视频教程
2、symfony
symfony是一个web应用开发框架,包含一组可重用的php组件。symfony已经应用于上千个web应用,包括blablacar.com和spotify.com以及大多数流行的php项目中,例如drupal和magento。
github stars: 17.8k+
网址:https://github.com/symfony/symfony
3、codeigniter
codeigniter 是一个web应用开发框架,它的目标是让开发者可以使用其提供的功能丰富的库来实现项目的快速开发。codigniter允许你使用最少的代码来完成任务,从而保证你聚焦于项目本身。
github stars: 16k+
网址:https://github.com/bcit-ci/codeigniter
4、faker
faker是一个模拟数据生成库。如果你需要一些数据填充你的数据库、创建看起来像模像样的xml文档、写入持久化数据进行压力测试等等,就是使用faker的时候。
github stars: 16k+
网址:https://github.com/fzaninotto/faker
5、composer
composer帮助你声明、管理并安装php依赖。
github stars: 14.9k+
网址:https://github.com/composer/composer
相关推荐:
composer国内全量镜像大全
composer使用教程
6、guzzle
guzzle是一个php的http客户端,它使得在php代码中发送http请求变得极其简单。
github stars: 12.9k+
网址:https://github.com/guzzle/guzzle
7、yii 2
yii 2 是一个现代的php框架,可用于作为你的php应用的基础。
github stars: 12k+
网址:https://github.com/yiisoft/yii2
相关推荐:
yii2视频教程
8、phpmailer
phpmailer是php经典的电子邮件发送开发库。
github stars: 11k+
网址:https://github.com/phpmailer/phpmailer
9、phpunit
php unit是php的单元测试框架。
github stars: 10k+
网址:https://github.com/sebastianbergmann/phpunit
10、phalcon
phalcon是一个开源的web框架,作为php语言的c扩展提供,因此具有高性能、低资源消耗的特点。
github stars: 8.9k+
网址:https://github.com/phalcon/cphalcon
11、parsedown
parsedown是一个php版本的markdown解析器。
github stars: 7.9k+
网址:https://github.com/erusev/parsedown
12、mobile detect
mobile detect是一个轻量级的php类,用于检测包括平板在内的移动设备的类型。它使用user-agent字符串以及特定的http头来检测移动环境。
github stars: 7.9k+
网址:https://github.com/serbanghita/mobile-detect
13、cakephp
cakephp是一个php的快速开发框架,它使用了一些常见设计模式例如mvc等。cakephp的目标是提供一个结构化的框架,以便各种水平的php开发者都可以快速开发出鲁棒的web应用,并且不失灵活性。
github stars: 7.5k+
网址:https://github.com/cakephp/cakephp
14、whoops
whoops是一个php的错误处理框架,开箱即用。
github stars: 7k+
网址:https://github.com/filp/whoops
15、laravel debugbar
laravel debugbar是一个用于laravel 5的php调试栏。它包含了一个serviceprovider来注册调试栏并挂接输出。可以使用laravel发布资产并进行配置。
github stars: 7k+
网址:https://github.com/barryvdh/laravel-debugbar
16、intervention image
intervention image是一个php图像处理和操作库,它提供了简单明了的api用于图像的创建、编辑及整合。intervention image包含了serviceprovider和facades用于集成入laravel。
github stars: 7k+
网址:https://github.com/intervention/image
17、october
october 是一个内容管理系统(cms)和一个web平台,它的目的就是简化你的开发工作流。
github stars: 7k+
网址:https://github.com/octobercms/october
18、wechat
微信的php sdk。
github stars: 6.5k+
网址:https://github.com/overtrue/wechat
19、php-parser
一个使用php开发的php解析器。
github stars: 6.5k+
网址:https://github.com/nikic/php-parser
20、goutte
goutte是一个php版本的web爬虫库。
github stars: 6k+
网址:https://github.com/friendsofphp/goutte
21、workerman
workerman是一个异步事件驱动的高性能php框架,用于构建快速、可伸缩的网络应用。workerman支持http、websocket、ssl及其他定制协议,支持libevent、hhvm和reactphp。
github stars: 6k+
网址:https://github.com/walkor/workerman
22、 php coding standards fixer
这是一个自动修复php代码规范问题的工具。
github stars: 6k+
网址:https://github.com/friendsofphp/php-cs-fixer
23、php-ml
php-ml是一个php语言的机器学习库。
github stars: 5.5k+
网址:https://github.com/php-ai/php-ml
24、deployer
deployer是一个使用php开发的部署工具,预置了对流行的开发框架的支持。
github stars: 5.5k+
网址: https://github.com/deployphp/deployer
25、magento2
magento2是一个先进的、功能丰富的电子商务解决方案。
github stars: 5.5k+
网址:https://github.com/magento/magento2
26、 swift mailer
swift mailer是php语言的一站式邮件工具。
github stars: 5.5k+
网址:https://github.com/swiftmailer/swiftmailer
27、 mockery
mockery 是一个简单但灵活的php模拟框架,用于单元测试,支持phpunit、phpspec等测试框架。mockery的核心目标是提供一个可以采用dsl定义模拟行为的测试框架。
github stars: 5k+
网址:https://github.com/mockery/mockery
28、google apis client library for php
这是用来访问google api的php客户端开发包。
github stars: 5k+
网址:https://github.com/google/google-api-php-client
29、twig
twig是一个灵活、高速安全的模板语言。
github stars: 5k+
网址:https://github.com/twigphp/twig
30、 php-pm
php-pm是一个用于php应用的进程管理器和负载均衡器。
github stars: 5k+
网址:https://github.com/php-pm/php-pm
31、php_codesniffer
php_codesniffer用来检查php、javascript和css文件是否不符合预定义的代码规范。
github stars: 4.9k+
网址:https://github.com/squizlabs/php_codesniffer
32、dompdf
dompdf是php语言的html/pdf转换器。
github stars: 4.5k+
网址:https://github.com/dompdf/dompdf
33、 predis
predis是php版本的redis客户端,灵活而且功能完整。
github stars: 4.5k+
网址:https://github.com/nrk/predis
相关推荐:
redis视频教程
34、respect/validation
php语言的验证引擎。
github stars: 4.5k+
网址:https://github.com/respect/validation
35、typecho
typecho是一个php博客平台,简单强大。
github stars: 4k+
网址:https://github.com/typecho/typecho
36、lychee
lychee是一个美观易用的照片管理系统,你可以部署在自己的服务器上,
管理或分享照片。
github stars: 4k+
网址:https://github.com/electerious/lychee
37、prophecy
prophecy是一个php的模拟框架。
github stars: 4k
网址:https://github.com/phpspec/prophecy
38、emojione
emojione包含了一组库来帮助用户找到并替换应用或网站中的系统emoji表情。
github stars: 3.9k+
网址:https://github.com/emojione/emojione
39、thanks
thanks是一个php包管理器。
github stars: 3.5k+
网址:https://github.com/symfony/thanks
40、phpstan — php static analysis tool
phpstan是php静态分析工具,无需运行php代码就可以发现其中的bug。
github stars: 3.5k+
网址:https://github.com/phpstan/phpstan
41、php oauth 2.0 server
league/oauth2-server是一个php开发的oauth2.0验证服务器实现。你可以轻松地配置一个oauth 2.0服务器来使用访问token保护你的api,或者允许客户端来请求新的访问token。
github stars: 3.5k+
网址:https://github.com/thephpleague/oauth2-server
42、countries
coutries是一个php开发的数据集,以多种格式提供全球国家数据:json, csv, xml 和yaml。
github stars: 3.5k+
网址:https://github.com/mledoze/countries
43、botman
botman是一个用来简化对话机器人开发的php库,支持多种消息平台,包括slack、telegram、microsoft bot framework、mexmo、hipchat、facebook messenger和微信。
github stars: 3.5k+
网址:https://github.com/botman/botman
44、 silex
sliex是一个基于symfony组件的php微框架。
github stars: 3.5k+
网址:https://github.com/silexphp/silex
45、chat api
chat api提供了访问whatsapp的开发接口。
github stars: 3.5k+
网址:https://github.com/mgp25/chat-api
46、random_compat
随机数发生器。
github stars: 3.5k+
网址:https://github.com/paragonie/random_compat
47、bolt
bolt是一个简单的cms系统,它基于symfony组件,使用twig和sqlite/mysql/postgresql。
github stars: 3.5k+
网址:https://github.com/bolt/bolt
48、phinx
phinx用来简化你的php应用的数据库迁移操作。在5分钟内,你就可以安装phinx并创建第一个数据库迁移。phinx只负责迁移,它不是一个orm。
github stars: 3k+
网址:https://github.com/cakephp/phinx
49、 codeception
codeception是一个现代的php全栈测试框架, 受bdd的启发,它提供了一种新的方式来编写单元测试。codeception基于phpunit实现。
github stars: 3k+
网址:https://github.com/codeception/codeception
50、 phpword
phpword是一个使用php开发的office文档读写库,支持ms office xml(ooxml或openxml)、
oasis开放文档格式、富文本格式(rtf)、html和pdf。
github stars: 3k+
网址:https://github.com/phpoffice/phpword
以上星数最多的50个github开源项目,如果你感兴趣,就下载试试吧!
相关推荐:
1. 最常用的100 个 php 函数排行榜
2. 2019年php面试题大汇总(收藏)
