加载中

The goal of the Standard PHP Library-or SPL, in brief-is to provide a standard library of interfaces which allows developers to take full advantage of object-oriented programming in PHP 5. Therefore in this article we have collected 8 of the best PHP Libraries which will assist and help developers to simplify their work and serve their development tasks.

If you like the article you might be interested in our other article on 8 Best Php Tools and Applications for Developers”

PHP标准库 (SPL)的目的就是提供一组接口,让开发者在PHP5中充分利用面向对象编程。因此本文我们搜集了8个最好的,能辅助开发者简化他们的工作,为他们的开发任务服务的PHP库。

如果你喜欢本文,也许你对我们的其他文章感兴趣:8个给开发者的最好的PHP工具和应用

1. Whoops : Library for Better PHP Error Reporting

whoops
Whoops is a PHP library for handling errors and debugging them much easily. The library provides stack-based error handling with a good-looking error interface. It has a simple API for dealing with exceptions, trace frames + their data and can integrate with any framework (ready-to-use integrations exist for end and Silex).

Source

1. Whoops : 更好的php错误报告库

whoops

Whoops是一个易于处理和调试错误的PHP库 。它提供基于堆栈的的错误处理和好看的错误界面。它有个简单的API来处理异常,跟踪帧和数据,并能和任何框架整合(随时可用的集成端和Silex)。

Source

2. PhpFastCache

phpfastcache
phpFastCache is an open source PHP caching library that comes as asingle-file and can be integrated so quickly. It has support for multiple caching methods (apc, memcache, memcached, wincache, files, pdo and mpdo), the period of caching can be defined and has a very simplified API.

Source

2. PhpFastCache

phpfastcache

phpFastCache 是一个开源的 PHP 缓存库,只提供一个简单的 PHP 文件,可方便集成到已有项目,支持多种缓存方法,包括:apc, memcache, memcached, wincache, files, pdo and mpdo。可通过简单的 API 来定义缓存的有效时间。

Source

3. Eden : A Feature Rich PHP Library

eden-php-library
Eden is an open source and free PHP library for developing fast. It includes lots of components for auto-loading, event driven, file systems, caching, templating, i18n, databases, web services, payment gateways, shipping and cloud technologies. To give a better opinion, it has ready-to-use functions for working with Google services (Youtube, Drive, Contacts, Analytics, Checkout, Maps), Facebok, Twitter, Tumblr, PayPal, Authorize.net, FedEx, UPS, Amazon + Rackspace Clouds and much more.

Source

3. Eden : 功能强大的 PHP 库

eden-php-library

Eden是一个开源且免费的PHP快速开发类库。它包含很多组件用来自动加载、事件驱动、文档系统、缓存、模板、国际化、数据库、web服务、支付网关、装载和云服务技术。为了给我们最好的选择,他已经将现有的函数实现了与谷歌服务(Youtube, Drive, Contacts, Analytics, Checkout, Maps),Facebook(脸谱), Twitter(推特), Tumblr(轻博客), PayPal(贝宝), Authorize.net, FedEx(联邦快递), UPS(联合包裹服务公司), Amazon + Rackspace Clouds(亚马逊+Rackspace 云)等服务的交互。

Source

4. Php Error

php-error
PHP Error is an open source PHP library for converting the standard PHP error messages -that are usually faced during the development process- into better ones. It integrates tightly into any PHP environment (works on all cases, only in development environment, only in some projects, etc.) and displays the errors with syntax highlighting.

Source

4. Php Error

php-error

PHP Error 是一个开源的 PHP 库,用于转换标准的 PHP 错误信息,主要用于开发过程中的调试。PHP Error 紧密集成到 PHP 环境中,显示带语法高亮的错误提示。

Source

5. Detector

detector
Detector is an open source PHP library for detecting many things about the browsing environment of a user. It can get the browser used and browser’s HTML5-CSS3 capabilities, analyze whether it is mobile, tablet, desktop or a spider and other stuff like color depth, viewport dimensions, cookie support, etc. The library can automatically adapt itself to new browsers, versions and devices using the unique user-agent string of each browser.

Source

5. Detector

detector

Detector是一个开源的PHP类库用于检测关于用户的浏览器环境的许多东西。它可以获得浏览器的使用和浏览器的html5 css3功能,分析是否移动电话、平板电脑、桌面或网页爬虫和其他项如:颜色深度, 视口尺寸、cookie等支持。类库可以自动适应新的浏览器、版本和设备对每一个浏览器使用独特的用户代理字符。

Source

6. Opauth

opauth
Opauth is an open source PHP library that removes the inconsistencies between providers and offers a standardized method for dealing with them. Currently, 3 providers are almost plug ‘n’ play: Google, Twitter + Facebook and there are more to come. Also, there is support for dealing with any other Opauth provider.

Source

6. Opauth

opauth

Opauth 是一个开源的 PHP 库,提供了 OAuth 认证的支持,让你无需关注不同 Provider 之间的差别,提供统一标准的访问方法。目前支持 Google、Twitter 和 Facebook,其他的 Provider 支持也将陆续提供。同时也支持处理任何 OAuth 认证提供方。

Source

7.pChart

pchart
pChart is a PHP class oriented framework designed to create aliased charts. Most of todays chart libraries have a cost, pChart is intended to be free. Data can be retrieved from SQL queries, CSV files, or manually provided. Focus has been put on rendering quality introducing an aliasing algorithm to draw eye candy graphics. This project is still under development and new features or fix are made every week.

Source

7.pChart

pchart

pChart 是一个 PHP 类库用来创建各种图表,可从 SQL 查询、CSV 文件以及手工提供图表的数据来源。强项是图表的渲染质量,该项目开发活跃,每周都有新特性和 bug 修复。

Source

8. Php Thumb

phpthumb
phpThumb is a PHP library that handles all the hard work on creating thumbnails with only few lines of code. It accepts any source types for images (from the filesystem, URL or database) and all popular image formats. Images can be rotated, cropped, watermarked, their quality can be defined and there is even a built-in caching to minimize the server load.

Source

8. Php Thumb

phpthumb

PHP Thumb 是一个 PHP 的类用来生成图片的缩略图。 只需数行代码即可,支持多种图片来源,包括文件系统或者数据库,支持大多数图片格式。并可对图片进行旋转、剪切、加水印等等。可执行定义缩略图的质量,提供内建的缓存以降低服务器的负载。

Source
返回顶部
顶部