PHP开源项目资源大全

PHP资源大全内容包括:库、框架、模板、安全、代码分析、日志、第三方库、配置工具、Web 工具、书籍、电子书、经典博文等。

依赖管理

依赖和包管理库

  • Composer/Packagist:一个包和依赖管理器 Composer官网/[Packagist官网](http://packagist.org/

  • Composer Installers:一个多框架Composer库安装器  https://github.com/composer/installers

  • Pickle:一个PHP扩展安装器  https://github.com/FriendsOfPHP/pickle

其他的依赖管理

其他的相关依赖管理

  • Satis:一个静态Composer存储库生成器  https://github.com/composer/satis

  • Composition:一个在运行时检查Composer环境的库  https://github.com/bamarni/composition

  • Version:语义版本的解析和比较库  https://github.com/herrera-io/php-version

  • NameSpacer:转化下划线到命名空间的库  https://github.com/ralphschindler/Namespacer

  • Patch Installer:使用Composer安装补丁的库  https://github.com/goatherd/patch-installer)

  • Composer Checker:校验Composer配置的工具  https://github.com/silpion/composer-checker

框架

Web开发框架

  • Symfony2:一个独立组件组成的框架  http://symfony.com/

  • Zend Framework 2:另一个由独立组件组成的框架  http://framework.zend.com/

  • Laravel 4:另一个PHP框架  http://laravel.com/

  • Aura PHP:独立组件的框架  http://auraphp.com/

  • Yii2:另一个PHP框架  https://github.com/yiisoft/yii2/

  • Nette:另一个由个体组件组成的框架  http://nette.org/

  • PPI Framework 2:一个互操作性框架  http://www.ppi.io/

  • Phalcon:通过C扩展实现的框架  http://phalconphp.com/en/)、[Github](https://github.com/phalcon/cphalcon

其他框架

其他Web开发框架

  • Symfony CMF:创建自定义CMS的内容管理框架  https://github.com/symfony-cmf/symfony-cmf

  • Knp RAD Bundle:Symfony 2的快速应用程序(RAD)包  http://rad.knplabs.com/

框架组件

来自Web开发框架的独立组件

  • Symfony2 Components:Symfony2组件  http://symfony.com/doc/master/components/index.html

  • Zend Framework 2 Components:ZF2组件  https://packages.zendframework.com/

  • Aura Components:PHP5.4组件包  http://auraphp.github.com/

  • Hoa Project:另一个PHP组件包  http://hoa-project.net/En/

  • Swoft: 基于 Swoole 原生协程的新时代 PHP 全栈式协程框架  https://www.swoft.org/) [GitHub] (https://github.com/swoft-cloud/swoft

微型框架

微型框架和路由

  • Silex:基于Symfony2组件的微型框架  http://silex.sensiolabs.org/

  • Slim:另一个简单的微型框架  http://www.slimframework.com/

  • Bullet PHP:用于构建REST APIs的微型框架  http://bulletphp.com/

  • Fast Route:快速路由库  https://github.com/nikic/FastRoute

  • Pux:另一个快速路由库  https://github.com/c9s/Pux

其他微型框架

其他相关的微型框架和路由

  • Silex Skeleton:Silex的项目架构  https://github.com/fabpot/Silex-Skeleton

  • Silex Web Profiler:Silex web调试工具条  https://github.com/silexphp/Silex-WebProfiler

  • Stack:Silex/Symfony的可堆叠中间件库  https://github.com/stackphp

  • Slim Skeleton:Slim架构  https://github.com/codeguy/Slim-Skeleton

  • Slim View:Slim的自定义视图集合  https://github.com/codeguy/Slim-Views

  • Slim Middleware:Slim的自定义中间件集合  https://github.com/codeguy/Slim-Middleware

  • phy-yaf:一个用C语言编写的php框架  http://www.php.net/manual/en/book.yaf.php

模板

模板化和词法分析的库和工具

  • Twig:一个全面的模板语言  http://twig.sensiolabs.org/

  • Twig Cache Extension:一个用于Twig的模板片段缓存库  https://github.com/asm89/twig-cache-extension

  • Mustache:一个Mustache模板语言的PHP实现  https://github.com/bobthecow/mustache.php

  • Phly Mustache:另一个Mustache模板语言的PHP实现  https://github.com/weierophinney/phly_mustache

  • MtHaml:一个HAML 模板语言的PHP实现  https://github.com/arnaud-lb/MtHaml

  • PHPTAL:一个 TAL 模板语言的PHP实现  http://phptal.org/

  • Plates:一个原生PHP模板库  http://platesphp.com/

  • Lex:一个轻量级模板解析器  https://github.com/pyrocms/lex

静态站点生成器

预处理工具来生成Web页面的内容。

  • Sculpin:转换Markdown和Twig为静态HTML的工具  http://sculpin.io/

  • Phrozn:另一个转换Textile,Markdown和Twig为HTML的工具  http://phrozn.info/

HTTP

用于HTTP和网站爬取的库

  • Guzzle:一个全面的HTTP客户端  https://github.com/guzzle/guzzle

  • Buzz:另一个HTTP客户端  https://github.com/kriswallsmith/Buzz

  • Requests:一个简单的HTTP库  https://github.com/rmccue/Requests

  • HTTPFul:一个链式HTTP库  https://github.com/nategood/httpful

  • Goutte:一个简单的web爬取器  https://github.com/fabpot/Goutte

  • PHP VCR:录制和重放HTTP请求的库  http://php-vcr.github.io/

URL

解析URL的库

  • Purl:一个URL处理库  https://github.com/jwage/purl

  • PHP Domain Parser:一个本地前缀解析库  https://github.com/jeremykendall/php-domain-parser

Email

发送和解析邮件的库

  • SwiftMailer:一个邮件解决方案  http://swiftmailer.org/

  • PHPMailer:另一个邮件解决方案  https://github.com/PHPMailer/PHPMailer

  • Fetch:一个IMAP库  https://github.com/tedivm/Fetch

  • Email Reply Parser:一个邮件回复解析库  https://github.com/willdurand/EmailReplyParser

  • Stampie:邮件服务库,不如 SendGrid, PostMark, MailGunMandrill.  https://github.com/henrikbjorn/Stampie

  • CssToInlineStyles:一个在邮件模板内联CSS的库  https://github.com/tijsverkoyen/CssToInlineStyles

文件

文件处理和MIME类型检测库

  • Gaufrette:一个文件系统抽象层  https://github.com/KnpLabs/Gaufrette

  • Flysystem:另一个文件系统抽象层  https://github.com/FrenkyNet/Flysystem

  • Canal:一个检测互联网媒体类型的库  https://github.com/dflydev/dflydev-canal

  • Apache MIME Types:一个解析Apache MIME类型的库  https://github.com/dflydev/dflydev-apache-mime-types

  • Ferret:一个MIME检测库  https://github.com/versionable/Ferret

  • Hoa Mime:另一个MIME检测库  https://github.com/hoaproject/Mime

  • Lurker:一个资源跟踪库  https://github.com/henrikbjorn/Lurker

  • PHP File Locator:一个在大型项目定位文件的库  https://github.com/herrera-io/php-file-locator

  • PHP FFmpeg:一个用于FFmpeg 视频包装的库.  https://github.com/alchemy-fr/PHP-FFmpeg/

  • CSV:一个CSV数据处理库  https://github.com/nyamsprod/Bakame.csv

处理流的库

  • Streamer:一个面向对象的流包装库  https://github.com/fzaninotto/Streamer

依赖注入

实现依赖注入设计模式的库

  • Pimple:一个小的依赖注入容器  http://pimple.sensiolabs.org/

  • Auryn:另一个依赖注入容器  https://github.com/rdlowrey/Auryn

  • Orno DI:另一个可伸缩的依赖注入容器  https://github.com/orno/di

  • PHP DI:一个使用注释实现的依赖注入  http://mnapoli.github.com/PHP-DI/

  • Acclimate:一个依赖注入容器和服务定位的通用接口  https://github.com/jeremeamia/acclimate

图像

处理图像的库

  • Imagine:一个图像处理库  http://imagine.readthedocs.org/en/latest/index.html

  • PHP Image Workshop:另一个图像处理库  https://github.com/Sybio/ImageWorkshop

  • Intervention Image:另一个图像处理库  https://github.com/Intervention/image

  • GIF Frame Extractor:一个提取GIF动画帧信息的库  https://github.com/Sybio/GifFrameExtractor

  • GIF Creator:一个通过多张图片创建GIF动画的库  https://github.com/Sybio/GifCreator

  • Image With Text:一个在图像中嵌入文本的库  https://github.com/nmcteam/image-with-text

  • Color Extractor:一个从图像中提取颜色的库  https://github.com/php-loep/color-extractor

测试

测试代码和生成测试数据的库

  • PHPUnit:一个单元测试框架  https://github.com/sebastianbergmann/phpunit

  • DBUnit:PHPUnit的数据库测试库  https://github.com/sebastianbergmann/dbunit

  • ParaTest:PHPUnit的并行测试库  https://github.com/brianium/paratest

  • PHPSpec:基于功能点设计的单元测试库  https://github.com/phpspec/phpspec

  • Codeception:一个全栈测试框架  https://github.com/Codeception/Codeception

  • AspectMock:PHPUnit/ Codeception 模拟框架。 https://github.com/Codeception/AspectMock

  • Atoum:一个简单的测试库  https://github.com/atoum/atoum

  • Mockery:一个用测试的模拟对象库  https://github.com/padraic/mockery

  • Phake:另一个用测试的模拟对象库  https://github.com/mlively/Phake

  • Prophecy:一个可选度很高的模拟框架  https://github.com/phpspec/prophecy

  • Faker:一个伪数据生成库  https://github.com/fzaninotto/Faker

  • Samsui:另一个伪数据生成库  https://github.com/mauris/samsui

  • Alice:富有表现力的一代库  https://github.com/nelmio/alice

  • Behat:一个行为驱动开发(BDD)测试框架  http://behat.org/

  • Pho:一个行为驱动开发测试框架  https://github.com/danielstjules/pho

  • Mink:Web验收测试  http://mink.behat.org/

  • HTTP Mock:一个在单元测试模拟HTTP请求的库  https://github.com/InterNations/http-mock

  • Stream:一个用于测试的虚拟文件系统流的包装器 [VFS 官网](https://github.com/mikey179/vfsStream

  • VFS:另一个用于测试虚拟文件系统  https://github.com/adlawson/vfs.php

  • Locust:一个用Python编写的现代加载测试库  http://locust.io/

持续集成

持续集成的库和应用

  • Travis CI:一个持续集成平台  https://travis-ci.org/

  • PHPCI:一个PHP的开源持续集成平台  http://www.phptesting.org/

  • Sismo:一个持续测试服务库  http://sismo.sensiolabs.org/

  • Jenkins-PHP:支持Jenkins的一个持续集成平台  http://jenkins-php.org/index.html

  • JoliCi:一个用PHP编写的由Docker支持的持续集成客户端  https://github.com/jolicode/JoliCi

文档

生成项目文档的库

  • Sami:一个API文档生成器  https://github.com/fabpot/Sami

  • APIGen:另一个API文档生成器  https://github.com/apigen/apigen

  • PHP Documentor 2:一个API文档生成器  https://github.com/phpDocumentor/phpDocumentor2

  • phpDox:一个PHP项目的文档生成器(不限于API文档)  http://phpdox.de/

安全

生成安全的随机数,加密数据,扫描漏洞的库

  • HTML Purifier:一个兼容标准的HTML过滤器  https://github.com/ezyang/htmlpurifier

  • RandomLib:一个生成随机数和字符串的库  https://github.com/ircmaxell/RandomLib

  • True Random:使用 www.random.org生成随机数的库  https://github.com/pixeloution/true-random

  • SecurityMultiTool:一个PHP安全库  https://github.com/padraic/SecurityMultiTool

  • PHPSecLib:一个纯PHP安全通信库  http://phpseclib.sourceforge.net/

  • TCrypto:一个简单的键值加密存储库  https://github.com/timoh6/TCrypto

  • IDS:一个结构化的PHP安全层 [PHP 官网](https://github.com/PHPIDS/PHPIDS

  • PHP-SSH:一个试验的面向对象的SSH包装库  https://github.com/Herzult/php-ssh

  • IniScan:一个扫描PHP INI文件安全的库  https://github.com/psecio/iniscan

  • SensioLabs Security Check:一个为检查Composer依赖提供安全建议的web工具  https://security.sensiolabs.org/

  • Zed:一个集成的web应用渗透测试工具  https://www.owasp.org/index.php/OWASP_Zed_Attack_Proxy_Project

密码

处理和存储密码的库和工具

  • Password Compat:一个新的PHP5.5密码函数的兼容库  https://github.com/ircmaxell/password_compat

  • phpass:一个便携式的密码哈希框架  http://www.openwall.com/phpass/

  • PHP Password Lib:一个生成和校验密码的库  https://github.com/ircmaxell/PHP-PasswordLib

  • Password Policy:一个PHP和JavaScript的密码策略库  https://github.com/ircmaxell/password-policy

  • Password Validator:校验和升级密码哈希的库  https://github.com/jeremykendall/password-validator

  • Zxcvbn PHP:一个基于Zxcvbn JS的现实的PHP密码强度估计库  https://github.com/bjeavons/zxcvbn-php

代码分析

分析,解析和处理代码库的库的工具

  • PHP Parser:一个PHP编写的PHP解析器  https://github.com/nikic/PHP-Parser

  • PHPPHP:一个PHP实现的PHP虚拟机  https://github.com/ircmaxell/PHPPHP

  • PHPSandbox:一个PHP沙盒环境  https://github.com/fieryprophet/php-sandbox

  • Dissect:一个词法和语法分析的工具集合  https://github.com/jakubledl/dissect

  • PHP Mess Detector:一个扫描代码缺陷,次优代码,未使用的参数等等的库。 http://phpmd.org/

  • PHP Code Sniffer:一个检测PHP、CSS和JS代码标准冲突的库  https://github.com/squizlabs/PHP_CodeSniffer

  • PHPCPD:一个检测复制和粘贴代码的库  https://github.com/sebastianbergmann/phpcpd

  • PHP Analyser:一个分析PHP代码查找缺陷和错误的库  https://github.com/scrutinizer-ci/php-analyzer

  • PHP CS Fixer:一个编码标准库  https://github.com/fabpot/PHP-CS-Fixer

  • PHP Manipulator:一个分析和修改PHP源代码的库  https://github.com/schmittjoh/php-manipulator

  • PHP Metrics:一个静态测量库  https://github.com/Halleck45/PhpMetrics

  • PHP Refactoring Browser:一个重构PHP代码的命令行工具集  https://github.com/QafooLabs/php-refactoring-browser

  • UBench:一个简单的微型基准检测库  https://github.com/devster/ubench

  • Athletic:一个基于注释的基准检测库  https://github.com/polyfractal/athletic

  • Mondrian:使用使用图论的代码分析工具  https://github.com/Trismegiste/Mondrian

  • Scrutinizer:一个审查PHP代码的web工具  https://scrutinizer-ci.com/

  • PHPLOC:一个快速测量PHP项目大小的工具  https://github.com/sebastianbergmann/phploc

  • xHprof:另一个PHP分析工具  https://github.com/phacility/xhprof

  • PHPCheckstyle:一个帮助遵守特定的编码惯例的工具。 https://github.com/jbrooksuk/phpcheckstyle

调试

调试代码的库和工具

  • xDebug:一个调试和分析PHP的工具  https://github.com/xdebug/xdebug

  • PHP Debug Bar:一个调试工具栏  http://phpdebugbar.com/

  • PHP Console:一个web调试控制台  https://github.com/Seldaek/php-console

  • Barbushin PHP Console:另一个使用Google Chrome的web调试控制台  https://github.com/barbushin/php-console

  • PHPDBG:一个交互的PHP调试器  http://phpdbg.com/

  • Tracy:一个简单的错误检测,写日志和时间测量库  https://github.com/nette/tracy

构建工具

项目构建和自动化工具

  • Go:一个简单的PHP构建工具  https://github.com/herrera-io/php-go

  • Bob:一个简单的项目自动化工具  https://github.com/CHH/bob

  • Phake:一个PHP克隆库  https://github.com/jaz303/phake

  • Box:一个构建PHAR文件的工具  https://github.com/kherge/Box

  • Phing:一个灵感来自于Apache Ant的PHP项目构建系统  http://www.phing.info/

任务运行器

自动运行任务的库

  • Task:一个灵感来源于Grunt和Gulp的纯PHP任务运行器  http://taskphp.github.io/

  • Robo:一个面向对象配置的PHP任务运行器  https://github.com/Codegyre/Robo

  • Bldr:一个构建在Symfony组件上的PHP任务运行器  http://bldr.io/

导航

构建导航结构的工具

  • KnpMenu:一个菜单库  https://github.com/KnpLabs/KnpMenu

  • Cartographer:一个站点地图生成库  https://github.com/tackk/cartographer

资源管理

管理,压缩和最小化web站点资源的工具

  • Assetic:一个资源管理的管道库  https://github.com/kriswallsmith/assetic

  • Pipe:另一个资源管理的管道库  https://github.com/CHH/pipe

  • Munee:一个资源优化库  https://github.com/meenie/munee

  • JShrink:一个JavaScript最小化库  https://github.com/tedivm/JShrink

  • Puli:一个检测资源绝对路径的库  https://github.com/webmozart/puli

地理位置

为地理编码地址和使用纬度经度的库。

  • GeoCoder:一个地理编码库  http://geocoder-php.org/

  • GeoTools:一个地理工具相关的库  https://github.com/php-loep/Geotools

  • PHPGeo:一个简单的地理库  https://github.com/mjaschen/phpgeo

  • GeoJSON:一个地理JSON的实现  https://github.com/jmikola/geojson

日期和时间

处理日期和时间的库

  • Carbon:一个简单的日期时间API扩展  https://github.com/briannesbitt/Carbon

  • ExpressiveDate:另一个日期时间API扩展  https://github.com/jasonlewis/expressive-date

  • CalendR:一个日历管理库  http://yohan.giarel.li/CalendR

事件

时间驱动或非阻塞事件循环实现的库

  • React:一个事件驱动的非阻塞I/O库  https://github.com/reactphp/react

  • Rx.PHP:一个reactive扩展库  https://github.com/asm89/Rx.PHP

  • Ratchet:一个web套接字库  https://github.com/cboden/Ratchet

  • Hoa WebSocket:另一个web套接字库  https://github.com/hoaproject/Websocket

  • Hoa EventSource:一个事件源库  https://github.com/hoaproject/Eventsource

  • Evenement:一个事件分发库  https://github.com/igorw/evenement

  • FuelPHP Event:另一个事件分发库  https://github.com/fuelphp/event

日志

生成和处理日志文件的库

  • Monolog:一个全面的日志工具  https://github.com/Seldaek/monolog

  • KLogger:一个易用的PSR-3兼容的日志类  https://github.com/katzgrau/KLogger

电子商务

处理支付和构建在线电子商务商店的库和应用

  • OmniPay:一个框架混合了多网关支付处理的库  https://github.com/adrianmacneil/omnipay

  • Payum:一个支付抽象库  https://github.com/payum/payum

  • Sylius:一个开源的电子商务解决方案  http://www.sylius.org/

  • Thelia:另一个开源的电子商务解决方案  http://thelia.net/v2/

  • Money:一个Fowler金钱模式的PHP实现  https://github.com/mathiasverraes/money

  • Sebastian Money:另一个处理货币值的库  https://github.com/sebastianbergmann/money

  • Swap:一个汇率库  https://github.com/florianv/swap

PDF

处理PDF文件的库和软件

  • Snappy:一个PDF和图像生成器库  https://github.com/KnpLabs/snappy

  • WKHTMLToPDF:一个将HTML转换为PDF的工具  https://github.com/antialize/wkhtmltopdf

数据库

使用对象关系映射(ORM)或数据映射技术的数据库交互库

  • Doctrine:一个全面的DBAL和ORM  http://www.doctrine-project.org/

  • Doctrine Extensions:一个Doctrine行为扩展的集合  https://github.com/l3pp4rd/DoctrineExtensions

  • Propel:一个快速的ORM,迁移库和查询构架器  http://www.propelorm.org/

  • Eloquent:Laravel 4 ORM  https://github.com/illuminate/database

  • Baum:一个Eloquent的嵌套集实现  https://github.com/etrepat/baum

  • Spot2:一个MySQL的ORM映射器  https://github.com/vlucas/spot2

  • RedBean:一个轻量级,低配置的ORM  http://redbeanphp.com/

  • Pomm:一个PostgreSQL对象模型管理器  https://github.com/chanmix51/Pomm

  • ProxyManager:一个为数据映射生成代理对象的工具集  https://github.com/Ocramius/ProxyManager

迁移

帮助管理数据库模式和迁移的库

  • PHPMig:另一个迁移管理库  https://github.com/davedevelopment/phpmig

  • Phinx:另一个数据库迁移管理库  https://github.com/robmorgan/phinx

  • Migrations:一个迁移管理库  https://github.com/icomefromthenet/Migrations

  • Doctrine Migrations:一个Doctrine迁移库  http://docs.doctrine-project.org/projects/doctrine-migrations/en/latest/toc.html

NoSQL

处理NoSQL后端的库

  • MongoQB:一个MongoDB查询构建库  https://github.com/alexbilbie/MongoQB

  • Monga:一个MongoDB抽象库  https://github.com/thephpleague/monga

  • Predis:一个功能完整的Redis库  https://github.com/nrk/predis

队列

处理事件和任务队列的库

  • Pheanstalk:一个Beanstalkd 客户端库  https://github.com/pda/pheanstalk

  • HP AMQP:一个纯PHP AMQP库 [P官网](https://github.com/videlalvaro/php-amqplib

  • Thumper:一个RabbitMQ模式库  https://github.com/videlalvaro/Thumper

  • Bernard:一个多后端抽象库  https://github.com/bernardphp/bernard

搜索

在数据上索引和执行查询的库和软件

  • ElasticSearch PHP:ElasticSearch的官方客户端库  https://github.com/elasticsearch/elasticsearch-php

  • Elastica:ElasticSearch的客户端库  https://github.com/ruflin/Elastica

  • Solarium:Solr的客户端库  http://www.solarium-project.org/

  • SphinxQL query builder:Sphinx搜索引擎的的查询库  http://foolcode.github.io/SphinxQL-Query-Builder/

命令行

构建命令行工具的库

  • Boris:一个微型PHP REPL  https://github.com/d11wtq/boris

  • PsySH:另一个微型PHP REPL  https://github.com/bobthecow/psysh

  • Pecan:一个事件驱动和非阻塞内核  https://github.com/mcrumm/pecan

  • GetOpt:一个命令行选择解析器  https://github.com/ulrichsg/getopt-php

  • OptParse:另一个命令行选择解析器  https://github.com/CHH/optparse

  • Commando:另一个简单的命令行选择解析器  https://github.com/nategood/commando

  • GetOptionKit:另一个命令行选择解析器  https://github.com/c9s/php-GetOptionKit

  • Cron Expression:计算cron运行日期的库  https://github.com/mtdowling/cron-expression

  • ShellWrap:一个简单的命令行包装库  https://github.com/MrRio/shellwrap

  • Hoa Console:另一个命令行库  https://github.com/hoaproject/Console

  • Shunt:一个在多台远程机器上并行运行命令行的库  https://github.com/php-loep/shunt

  • Cilex:一个构建命令行工具的微型框架  https://github.com/Cilex/Cilex

身份验证

实现身份验证的库

  • Sentry:一个混合的身份验证和授权的框架库  https://github.com/cartalyst/sentry

  • Sentry Social:一个社交网络身份验证库  http://docs.cartalyst.com/sentry-social-2/introduction

  • Opauth:一个多渠道的身份验证框架  https://github.com/opauth/opauth

  • OAuth2:一个OAuth2身份验证服务,资源服务器和客户端库  https://github.com/php-loep/oauth2-server

  • OAuth2 Server:另一个OAuth2服务器实现  http://bshaffer.github.io/oauth2-server-php-docs/

  • PHP oAuthLib:另一个OAuth库  https://github.com/Lusitanian/PHPoAuthLib

  • TwitterOAuth:一个Twitter OAuth库  https://github.com/ruudk/twitteroauth

  • TwitterSDK:一个完全测试的Twitter SDK  https://github.com/lyrixx/twitter-sdk

  • Hawk:一个Hawk HTTP身份认证库  https://github.com/dflydev/dflydev-hawk

  • HybridAuth:一个开源的社交登陆库  https://github.com/hybridauth/hybridauth

标记

处理标记的库

  • Decoda:一个轻量级标记解析库  http://milesj.me/code/php/decoda

  • PHP Markdown:一个Markdown解析器  https://github.com/michelf/php-markdown

  • CommonMark PHP:一个对 CommonMark spec全支持的Markdown解析器  https://github.com/thephpleague/commonmark

  • Dflydev Markdown:另一个Markdown解析器  https://github.com/dflydev/dflydev-markdown

  • Parsedown:另一个Markdown解析器  https://github.com/erusev/parsedown

  • Ciconia:另一个支持Github Markdown风格的Markdown解析器  https://github.com/kzykhys/Ciconia

  • Cebe Markdown:一个快速的可扩展的Markdown解析器  https://github.com/cebe/markdown

  • HTML5 PHP:一个HTML5解析和序列化库  https://github.com/Masterminds/html5-php

字符串

解析和处理字符串的库

  • ANSI to HTML5:ANSI到HTML5的转化库  https://github.com/sensiolabs/ansi-to-html

  • Patchwork UTF-8:一个处理UTF-8字符串的便携库  https://github.com/nicolas-grekas/Patchwork-UTF8

  • Hoa String:另一个UTF-8字符串库  https://github.com/hoaproject/String

  • Stringy:一个多字节支持的字符串处理库  https://github.com/danielstjules/Stringy

  • Color Jizz:处理和转换颜色的库  https://github.com/mikeemoo/ColorJizz-PHP

  • UUID:生成UUIDs的库  https://github.com/ramsey/uuid

  • Slugify:转换字符串到slug的库  https://github.com/cocur/slugify

  • Urlify:一个Django的 URLify.jsPHP通道  https://github.com/jbroadway/urlify

  • Text:一个文本处理库  https://github.com/kzykhys/Text

  • SQL Formatter:一个格式化SQL语句的库  https://github.com/jdorn/sql-formatter/

  • UA Parser:一个解析用户代理字符串的库  https://github.com/tobie/ua-parser/tree/master/php

数字

处理数字的库

  • Numbers PHP:处理数字的库  https://github.com/powder96/numbers.php

  • Math:处理大数字的库  https://github.com/moontoast/math

  • ByteUnits:在二进制和度量系统中解析,格式化和转换字节单元的库  https://github.com/gabrielelana/byte-units

  • PHP Units of Measure:一个计量单位转换的库  https://github.com/triplepoint/php-units-of-measure

  • PHP Conversion:另一个计量单位转换的库  https://github.com/Crisu83/php-conversion

  • LibPhoneNumber for PHP:Google电话号码处理的PHP实现库  https://github.com/giggsey/libphonenumber-for-php

过滤和验证

过滤和验证数据的库

  • Filterus:一个简单的PHP过滤库  https://github.com/ircmaxell/filterus

  • Respect Validate:一个简单的验证库  https://github.com/Respect/Validation

  • Valitron:另一个验证库  https://github.com/vlucas/valitron

  • Upload:一个处理文件上传和验证的库  https://github.com/codeguy/Upload

  • DMS Filter:一个注释过滤库  https://github.com/rdohms/DMS-Filter

  • MetaYaml:一个支持YAML,JSON和XML的模式验证库  https://github.com/romaricdrigon/MetaYaml

  • ISO-codes:验证各种ISO和ZIP编码的库(IBAN、SWIFT/BIC、BBAN、VAT、SSN、UKNIN)  https://github.com/ronanguilloux/IsoCodes

REST API

开发REST-ful API的库和Web工具

  • Apigility:一个使用Zend Framework 2构建的API构建器  https://github.com/zfcampus/zf-apigility-skeleton

  • Hateoas:一个HOATEOAS REST web服务库  https://github.com/willdurand/Hateoas

  • HAL:一个超文本应用语言(HAL)构建库  https://github.com/blongden/hal

  • Negotiation:一个内容协商库  https://github.com/willdurand/Negotiation

  • Drest:一个将Doctrine实体暴露为REST资源节点的库  https://github.com/leedavis81/drest

  • Restler:一个将PHP方法暴露为RESTful web API的轻量级框架  https://github.com/Luracast/Restler

缓存

缓存数据的库

  • Alternative PHP Cache (APC):打开PHP伪代码缓存  http://www.php.net/manual/en/book.apc.php

  • Cache:一个缓存库(Doctrine部分)  https://github.com/doctrine/cache

  • Stash:另一个缓存库  https://github.com/tedivm/Stash

数据结构和存储

实现数据结构和存储技术的库

  • Ardent:一个数据结构库  https://github.com/morrisonlevi/Ardent

  • PHP Collections:一个简单的集合库  https://github.com/schmittjoh/php-collection

  • Serializer:一个序列化和反序列化数据的库  https://github.com/schmittjoh/serializer

  • PHP Object Storage:一个对象存储库  https://github.com/herrera-io/php-object-storage

  • Fractal:一个转换复杂数据结构到JSON输出的库  https://github.com/php-loep/fractal

  • Totem:一个管理和穿件数据交换集的库  http://github.com/Wisembly/Totem

  • PINQ:一个PHP实时Linq库  https://github.com/TimeToogo/Pinq

  • JsonMapper:一个将内嵌JSON结构映射为PHP类的库  https://github.com/netresearch/jsonmapper

通知

处理通知软件的库

  • Nod:一个通知库(Growl等)  https://github.com/filp/nod

  • Notificato:一个处理推送通知的库  https://github.com/wrep/notificato

  • Notification Pusher:一个设备推送通知的独立库  https://github.com/Ph3nol/NotificationPusher

  • Notificator:一个轻量级的通知库  https://github.com/namshi/notificator

部署

项目部署库

  • Pomander:一个PHP应用部署工具  https://github.com/tamagokun/pomander

  • Rocketeer:PHP世界里的一个快速简单的部署器  https://github.com/Anahkiasen/rocketeer

  • Envoy:一个用PHP运行SSH任务的工具  https://github.com/laravel/envoy

  • Plum:一个部署库  https://github.com/aerialls/Plum

国际化和本地化

国际化(I18n)和本地化(L10n)

  • Aura.Intlhttps://github.com/auraphp/Aura.Intl

第三方API

访问第三方API的库

  • Amazon Web Service SDK:PHP AWS SDK官方库  https://github.com/aws/aws-sdk-php

  • S3 Stream Wrapper:Amazon S3流包装库  https://github.com/gwkunze/S3StreamWrapper

  • Stripe:Stripe官方PHP库  https://github.com/stripe/stripe-php

  • Campaign Monitor:Campaign Monitor官方PHP库  http://campaignmonitor.github.com/createsend-php/

  • Digital Ocean:Digital Ocean API 接口库  https://github.com/toin0u/DigitalOcean

  • Github:Github API交互库  https://github.com/dsyph3r/github-api3-php

  • PHP Github API:另一个Github API交互库  https://github.com/KnpLabs/php-github-api

  • Twitter OAuth:Twitter OAuth工作流交互库  https://github.com/widop/twitter-oauth

  • Twitter REST:Twitter REST API交互库  https://github.com/widop/twitter-rest

  • Dropbox SDK:Dropbox SDK官方PHP库  https://github.com/dropbox/dropbox-sdk-php

  • Twilio:Twilio官方PHP REST API  https://github.com/twilio/twilio-php

  • Mailgun:Mailgun官方PHP REST API  https://github.com/mailgun/mailgun-php)

扩展

帮组构建PHP扩展的库

  • Zephir:用于开发PHP扩展,且介于PHP和C++之间的编译语言  https://github.com/phalcon/zephir

  • PHP CPP:一个开发PHP扩展的C++库  http://www.php-cpp.com/

杂项

不在上面分类中的有用库和工具

  • Spork:一个处理forking的库  https://github.com/kriswallsmith/spork

  • JSON Lint:一个JSON lint工具  https://github.com/Seldaek/jsonlint

  • JSONPCallbackValidator:验证JSONP回调的库  https://github.com/willdurand/JsonpCallbackValidator

  • Pagerfanta:一个分页库  https://github.com/whiteoctober/Pagerfanta

  • Ruler:一个简单的无状态的生产环境规则引擎。 https://github.com/bobthecow/Ruler

  • LiteCQRS:一个CQRS(命令查询责任分离)库  https://github.com/beberlei/litecqrs-php

  • Sslurp:一个使得SSL处理减少的库  https://github.com/EvanDotPro/Sslurp

  • OptionPHP 官网一个可选的类型库

  • Metrics:一个简单的度量API库  https://github.com/beberlei/metrics

  • Sabre VObject:一个解析VCard和iCalendar对象的库  https://github.com/evert/sabre-vobject

  • Annotations:一个注释库(Doctrine部分)  https://github.com/doctrine/annotations

  • Whoops:一个不错的错误处理库  https://github.com/filp/whoops

  • Finite:一个简单的PHP有限状态机  http://yohan.giarel.li/Finite

  • LadyBug:一个dumper库  https://github.com/raulfraile/Ladybug

  • Procrastinator:运行耗时任务的库  https://github.com/lstrojny/Procrastinator

  • Compose:一个功能组合库  https://github.com/igorw/compose

  • SuperClosure:一个允许闭包序列化的库  https://github.com/jeremeamia/super_closure

  • Jumper:一个远程服务执行库  https://github.com/kakawait/Jumper

  • Underscore:一个Undersccore JS库的PHP实现  http://anahkiasen.github.io/underscore-php/

  • PHP PassBook:一个iOS PassBook PHP库  https://github.com/eymengunay/php-passbook

  • PHP Expression:一个PHP表达式语言  https://github.com/Kitano/php-expression

  • RMT:一个编写版本和发布软件的库  https://github.com/liip/RMT

  • Wise:一个配置管理器  https://github.com/herrera-io/php-wise

  • Opengraph:一个开放图库  https://github.com/euskadi31/Opengraph

  • Essence:一个提取web媒体的库  https://github.com/felixgirault/essence

  • Embera:一个Oembed消费库  https://github.com/mpratt/Embera

  • Graphviz:一个图形库  https://github.com/alexandresalome/graphviz

  • Monad PHP:https://github.com/ircmaxell/monad-php) 一个简单Monad库

  • Flux:一个正则表达式构建库  https://github.com/selvinortiz/flux

  • Patchwork:一个重新定义用户的函数库  http://antecedent.github.io/patchwork/

  • Galapagos:语言转换进化  https://github.com/igorw/galapagos

  • Design Patterns PHP:一个使用PHP实现的设计模式存储库  https://github.com/domnikl/DesignPatternsPHP

  • PHPCR:一个Java内容存储库(JCR)的PHP实现  https://github.com/phpcr/phpcr

  • Functional PHP:一个函数式编程库  https://github.com/lstrojny/functional-php

  • ClassPreloader:一个优化自动加载的库  https://github.com/mtdowling/ClassPreloader

  • Lib Country:一个国家和地区数据的库  https://github.com/phine/lib-country

  • Lib Accessor:一个简化访问的库  https://github.com/phine/lib-accessor

  • PHPStack:一个PHP编写的TCP/IP栈概念  http://dunkels.com/adam/phpstack/

  • Nmap:一个Nmap PHP包装器  https://github.com/willdurand/nmap

  • Code Mover:一个移动代码的库  https://github.com/dantleech/code-mover

  • Iter:一个使用生成器提供迭代原语的库  https://github.com/nikic/iter

  • Lambda PHP:一个PHP中的Lambda 计算解析器  https://github.com/igorw/lambda-php

  • Country List:所有带有名称和ISO 3166-1编码的国家列表  https://github.com/umpirsky/country-list

  • PHP-GPIO:用于Raspberry PI的GPIO pin的库  https://github.com/ronanguilloux/php-gpio

  • print_o:一个对象图的可视化器  https://github.com/koriym/print_o

  • Alias:一个类别名库  https://github.com/fuelphp/alias

软件

创建一个开发环境的软件

PHP安装

在你的电脑上帮助安装和管理PHP的工具

  • HomeBrew:一个OSX包管理器  http://mxcl.github.com/homebrew/

  • HomeBrew PHP:一个HomeBrew的PHP通道  https://github.com/josegonzalez/homebrew-php

  • PHP OSX:一个OSX下的PHP安装器  http://php-osx.liip.ch/

  • PHP Brew:一个PHP版本管理和安装器  https://github.com/c9s/phpbrew

  • PHP Env:另一个PHP版本管理器  https://github.com/CHH/phpenv

  • PHP Switch:另一个PHP版本管理器  https://github.com/jubianchi/phpswitch

  • PHP Build:另一个PHP版本安装器  https://github.com/CHH/php-build

  • VirtPHP:一个创建和管理独立PHP环境的工具  http://virtphp.org/

开发环境

创建沙盒开发环境的软件和工具

  • Vagrant:一个便携的开发环境工具  http://www.vagrantup.com/

  • Ansible:一个非常简单的编制框架  http://www.ansibleworks.com/

  • Puppet:一个服务器自动化框架和应用  http://puppetlabs.com/

  • PuPHPet:一个构建PHP开发虚拟机的web工具  https://puphpet.com/

  • Protobox:另一个构建PHP开发虚拟机的web工具  http://getprotobox.com/

  • Phansible:一个用Ansible构建PHP开发虚拟机的web工具  http://phansible.com/

虚拟机

相关的PHP虚拟机

  • HipHop PHP:Facebook出品的PHP虚拟机,运行时和JIT  https://github.com/facebook/hiphop-php

  • HippyVM:另一个PHP虚拟机  http://hippyvm.com/

  • Hack:一个PHP进行无缝操作的 HHVM编程语言  http://hacklang.org/

IDE

支持PHP的集成开发环境

  • Netbeans:一个支持PHP和HTML5的IDE  https://netbeans.org/

  • Eclipse for PHP Developers:一个基于Eclipse平台的PHP IDE  https://www.eclipse.org/downloads/

  • PhpStorm:一个商业PHP IDE  http://www.jetbrains.com/phpstorm/

  • [Sublime Text] :一个轻量级的PHP IDE  http://www.sublimetext.com/

Web应用

基于Web的应用和工具

  • 3V4L:一个在线的PHP shell  http://3v4l.org/

  • DBV:一个数据库版本控制应用  http://dbv.vizuina.com/

  • PHP Queue:一个管理后端队列的应用  https://github.com/CoderKungfu/php-queue

  • Composer as a Service:作为一个zip文件下载Composer包的工具  http://composer.borreli.com/

  • MailCatcher:一个抓取和查看邮件的web工具  https://github.com/sj26/mailcatcher

资源

各种提高你的PHP开发技能和知识的资源,比如书籍,网站,文章

PHP网站

PHP相关的有用网站

  • PHP The Right Way:一个PHP最佳实践的快速指引手册  http://www.phptherightway.com/

  • PHP Best Practices:一个PHP最佳实践指南  http://phpbestpractices.org/

  • PHP Weekly:一个PHP新闻周刊  http://phpweekly.info/archive/

  • PHP Security:一个PHP安全指南  http://phpsecurity.readthedocs.org/en/latest/index.html

  • PHP FIG:PHP框架交互组  http://www.php-fig.org/

  • PHP UG:一个帮助用户定位最近的PHP用户组(UG)的网站  http://php.ug/

  • Seven PHP:一个PHP社区成员采访的网站  http://7php.com/

  • Nomad PHP:一个在线PHP学习资源  http://nomadphp.com/

  • PHP Mentoring:点对点PHP导师组织  http://phpmentoring.org/

其他网站

Web开发相关的有用网站

  • The Open Web Application Security Project (OWASP):一个开放软件安全社区  https://www.owasp.org/index.php/Main_Page

  • WebSec IO:一个Web安全社区资源  http://websec.io/

  • Web Advent:一个Web开发人员日历  http://webadvent.org/

  • Semantic Versioning:一个解析语义版本的网站  http://semver.org/

  • Atlassian Git Tutorials:一个Git教程系列  https://www.atlassian.com/git

  • Hg Init:一个Mercurial教程系列  http://hginit.com/

  • Servers for Hackers:一个关于服务器管理的新闻通讯  http://serversforhackers.com/

PHP书籍

PHP相关的非常好的书籍

  • Scaling PHP Applications:一本Steve Corona关于扩展PHP应用程序的电子书  http://www.scalingphpbook.com/

  • The Grumpy Programmer’s Guide to Building Testable PHP Applications:一本Chris Hartjes关于构建PHP应用程序测试的书  https://leanpub.com/grumpy-testing

  • Grumpy PHPUnit:一本Chris Hartjes关于使用PHPUnit进行单元测试的书  https://leanpub.com/grumpy-phpunit

  • Mastering Object-Orientated PHP:一本Brandon Savage关于PHP面向对象的书  http://www.brandonsavage.net/

  • Signaling PHP:一本Cal Evans关于在CLI脚本捕获PCNTL 信号的书  https://leanpub.com/signalingphp

  • Securing PHP: Core Concepts:一本Chris Cornutt关于PHP常见安全条款和实践的书  https://leanpub.com/securingphp-coreconcepts

  • Modernising Legacy Applications in PHP:一本Paul M.Jones关于遗留PHP应用进行现代化的书  https://leanpub.com/mlaphp

其他书籍

与一般计算和Web开发相关的书

  • The Linux Command Line:William Shotts关于Linux命令行的一本书  http://linuxcommand.org/tlcl.php

  • Understanding Computation:Tom Stuart关于计算理论的一本书  http://computationbook.com/

  • The Tangled Web — Securing Web Applications:Michal Zalewski关于web应用安全的一本书  http://www.amazon.ca/The-Tangled-Web-Securing-Applications/dp/1593273886

  • Elasticsearch: The Definitive Guide:Clinton Cormley和Zachary Tong编写的与Elasticsearch工作的一本指南  http://www.elasticsearch.org/guide/

  • Eloquent JavaScript:Marijin Haverbeke关于JavaScript编程的一本书  http://eloquentjavascript.net/

  • Vagrant Cookbook:Erika Heidi关于创建 Vagrant环境的一本书  https://leanpub.com/vagrantcookbook

  • Pro Git:Scott Chacon和Ben Straub关于Git的一本书  http://git-scm.com/book/en/v2

PHP视频

PHP相关的非常不错的视频

  • Taking PHP Seriously:来自Facebook Keith Adams 讲述PHP优势  http://www.infoq.com/presentations/php-history

  • PHP Town Hall:一个随意的Ben Edmunds和Phil Sturgeon的PHP播客  http://phptownhall.com/

  • Programming with Anthony:http://www.youtube.com/playlist?list=PLM-218uGSX3DQ3KsB5NJnuOqPqc5CW2kW)  Anthony Ferrara的视频系列

PHP阅读

PHP相关的阅读资料

  • Create Your Own PHP Framework:一部Fabien Potencier的关于如何创建你自己的PHP框架的系列文章  http://fabien.potencier.org/article/50/create-your-own-framework-on-top-of-the-symfony2-components-part-1

  • Seven Ways to Screw Up BCrypt:一篇关于纠正BCrypt实现的文章  http://blog.ircmaxell.com/2012/12/seven-ways-to-screw-up-bcrypt.html

  • Preventing CSRF Attacks:一篇组织CSRF攻击的文章  http://blog.ircmaxell.com/2013/02/preventing-csrf-attacks.html

  • Don’t Worry About BREACH:一篇关于BREACH攻击和CSRF令牌的文章  http://blog.ircmaxell.com/2013/08/dont-worry-about-breach.html

  • On PHP 5.3, Lamda Functions and Closures:一篇关于lambda函数和闭包的文章  http://fabien.potencier.org/article/17/on-php-5-3-lambda-functions-and-closures

  • Use Env:一篇关于使用unix环境帮助的文章  http://seancoates.com/blogs/use-env

  • Composer Primer:Composer初级  http://daylerees.com/composer-primer

  • Composer Versioning:一篇关于Composer版本的文章  https://igor.io/2013/01/07/composer-versioning.html

  • Composer Stability Flags:一篇关于Composer稳定性标志的文章  https://igor.io/2013/02/07/composer-stability-flags.html

  • Innocent Villagefolk or a Pillagin’ Pirate?:一篇关于PHP从其他语言获取想法的文章  http://blog.astrumfutura.com/2012/04/php-innocent-villagefolk-or-a-pillagin-pirate/

  • Predicting Random Numbers in PHP:一篇关于生成随机数的文章  http://blog.astrumfutura.com/2013/03/predicting-random-numbers-in-php-its-easier-than-you-think/

  • A 20 Point List for Preventing XSS in PHP:一篇关于组织XSS的文章  http://blog.astrumfutura.com/2013/04/20-point-list-for-preventing-cross-site-scripting-in-php/

  • PHP Sucks! But I Like It!:一篇关于PHP利弊的文章  http://blog.ircmaxell.com/2012/04/php-sucks-but-i-like-it.html

  • PHP Is Much Better Than You Think:一篇关于PHP语言和生态圈的文章  http://fabien.potencier.org/article/64/php-is-much-better-than-you-think

PHP内核阅读

阅读PHP内核或性能相关的资料

  • PHP RFCs:PHP RFCs主页(请求注解)  https://wiki.php.net/rfc

  • PHP Internals Book:一本由三名核心开发编写的关于PHP内核的在线书  http://www.phpinternalsbook.com/

  • Print vs Echo, Which One is Faster?:一篇关于打印和echo性能的文章  http://fabien.potencier.org/article/8/print-vs-echo-which-one-is-faster

  • The PHP Ternary Operator. Fast or Not?:一篇关于三元操作性能的文章  http://fabien.potencier.org/article/48/the-php-ternary-operator-fast-or-not

  • Disproving the Single Quotes Myth:一篇关于单引号,双引号字符串性能的文章  http://nikic.github.com/2012/01/09/Disproving-the-Single-Quotes-Performance-Myth.html

  • You’re Being Lied To:一篇关于内核ZVALs的文章  http://blog.golemon.com/2007/01/youre-being-lied-to.html

  • How Long is a Piece of String:一篇关于字符串原理的文章  http://blog.golemon.com/2006/06/how-long-is-piece-of-string.html

  • Understanding OpCodes:一篇关于伪代码的文章  http://blog.golemon.com/2008/01/understanding-opcodes.html

  • How Foreach Works:StackOverflow 关于foreach回答的详情  http://stackoverflow.com/questions/10057671/how-foreach-actually-works/14854568#14854568

  • When Does Foreach Copy?:一篇关于foreach原理的文章  http://nikic.github.com/2011/11/11/PHP-Internals-When-does-foreach-copy.html

  • How Big Are PHP Arrays (And Values) Really?:一篇关于数组原理的文章  http://nikic.github.com/2011/12/12/How-big-are-PHP-arrays-really-Hint-BIG.html

  • Why Objects (Usually) Use Less Memory Than Arrays:一篇关于对象和数组原理的文章  https://gist.github.com/nikic/5015323

  • PHP Evaluation Order:一篇关于PHP评估顺序的文章  https://gist.github.com/nikic/6699370


原文始发于微信公众号(GitHub):PHP开源项目资源大全

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

文章由极客之家整理,本文链接:https://www.bmabk.com/index.php/post/201305.html

(0)
Java光头强的头像Java光头强

相关推荐

发表回复

登录后才能评论
极客之家——专业性很强的中文编程技术网站,欢迎收藏到浏览器,订阅我们!