The purpose of the PHP standard library (SPL) is to provide a set of interfaces that allow developers to take advantage of object-oriented programming in PHP5. So this article we have collected 8 of the best PHP libraries that can assist developers in simplifying their work and serving their development tasks.
1. Whoops: Better PHP Error Reporting Library
Whoops is a PHP library that is easy to handle and debug errors. It provides stack-based error handling and good-looking error interfaces. It has a simple API to handle exceptions, track frames and data, and integrate with any framework (ready-to-use integration and Silex).
2. Phpfastcache
Phpfastcache is an open source PHP cache library that provides a simple PHP file that can be easily integrated into existing projects and supports multiple caching methods including: APC, Memcache, memcached, Wincache, files, PDO and Mpdo 。 A simple API can be used to define the effective time of the cache.
3. Eden: A powerful PHP library
Eden is an open source and free PHP rapid Development class library. It contains many components for automatic loading, event-driven, document systems, caching, templates, internationalization, databases, Web services, payment gateways, loading, and cloud service technologies. To give us the best option, he has implemented the existing functions with Google services (Youtube, Drive, Contacts, Analytics, Checkout, Maps), Facebook (Facebook), Twitter (tweet), TUMBLR (Light blog), PayPal (PayPal), Authorize.Net, FedEx (FedEx), UPS (United Parcel Service company), Amazon + Rackspace Clouds (Amazon +rackspace Cloud) and other services interaction.
4. PHP Error
PHP error is an open source PHP library for converting standard PHP error messages, primarily for debugging in the development process. PHP error is tightly integrated into the PHP environment, displaying error hints with syntax highlighting.
5. Detector
Detector is an open source PHP class library used to detect many things about the user's browser environment. It can be used by the browser and the browser's HTML5 CSS3 function to analyze whether the mobile phone, tablet, desktop or web crawler and other items such as: color depth, viewport size, cookies and other support. Class libraries can automatically adapt to new browsers, versions, and devices using unique user-agent characters for each browser.
6. Opauth
Opauth is an open source PHP library that provides support for OAuth authentication so you don't have to focus on the differences between different Provider and provide a unified standard of access. Google, Twitter and Facebook are currently supported, and other Provider support will be available. It also supports processing of any OAuth authentication provider.
7.pChart
Pchart is a PHP class library used to create a variety of charts, from SQL queries, CSV files, and hand-made data sources for charts. Strength is the rendering quality of the chart, the project is active, new features and bug fixes are available every week.
8. PHP Thumb
PHP Thumb is a PHP class used to generate thumbnails of images. Just a few lines of code, support a variety of image sources, including the file system or database, support most image formats. And the picture can be rotated, cut, watermark and so on. Performs the definition of the quality of the thumbnail, providing the built-in cache to reduce the load on the server.