github上有哪些受欢迎的优秀php开源项目?
GitHub上50个受欢迎的PHP开源项目
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
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
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
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开源项目,如果你感兴趣,就下载试试吧!
更多相关知识,请访问 PHP中文网!!

Outils d'IA chauds

Undresser.AI Undress
Application basée sur l'IA pour créer des photos de nu réalistes

AI Clothes Remover
Outil d'IA en ligne pour supprimer les vêtements des photos.

Undress AI Tool
Images de déshabillage gratuites

Clothoff.io
Dissolvant de vêtements AI

AI Hentai Generator
Générez AI Hentai gratuitement.

Article chaud

Outils chauds

Bloc-notes++7.3.1
Éditeur de code facile à utiliser et gratuit

SublimeText3 version chinoise
Version chinoise, très simple à utiliser

Envoyer Studio 13.0.1
Puissant environnement de développement intégré PHP

Dreamweaver CS6
Outils de développement Web visuel

SublimeText3 version Mac
Logiciel d'édition de code au niveau de Dieu (SublimeText3)

Sujets chauds

Dans ce chapitre, nous comprendrons les variables d'environnement, la configuration générale, la configuration de la base de données et la configuration de la messagerie dans CakePHP.

PHP 8.4 apporte plusieurs nouvelles fonctionnalités, améliorations de sécurité et de performances avec une bonne quantité de dépréciations et de suppressions de fonctionnalités. Ce guide explique comment installer PHP 8.4 ou mettre à niveau vers PHP 8.4 sur Ubuntu, Debian ou leurs dérivés. Bien qu'il soit possible de compiler PHP à partir des sources, son installation à partir d'un référentiel APT comme expliqué ci-dessous est souvent plus rapide et plus sécurisée car ces référentiels fourniront les dernières corrections de bogues et mises à jour de sécurité à l'avenir.

Pour travailler avec la date et l'heure dans cakephp4, nous allons utiliser la classe FrozenTime disponible.

Pour travailler sur le téléchargement de fichiers, nous allons utiliser l'assistant de formulaire. Voici un exemple de téléchargement de fichiers.

Dans ce chapitre, nous allons apprendre les sujets suivants liés au routage ?

CakePHP est un framework open source pour PHP. Il vise à faciliter grandement le développement, le déploiement et la maintenance d'applications. CakePHP est basé sur une architecture de type MVC à la fois puissante et facile à appréhender. Modèles, vues et contrôleurs gu

Visual Studio Code, également connu sous le nom de VS Code, est un éditeur de code source gratuit – ou environnement de développement intégré (IDE) – disponible pour tous les principaux systèmes d'exploitation. Avec une large collection d'extensions pour de nombreux langages de programmation, VS Code peut être c

Le validateur peut être créé en ajoutant les deux lignes suivantes dans le contrôleur.
