PHP is not only a rich language, it can also help developers easily create a better network environment. In order to further help developers, small series will share with you some free and high-quality PHP class library, hope to be able to help everyone. What are we waiting for, let ' s go!
Phpfastcache
Phpfastcache is a high-performance, distributed object caching system designed to speed up dynamic Web applications to reduce database load.
Pchart
Pchart is an open source chart generation library, which covers 3 Class:pChart.class, Pdata.class, Pcache.class, generates more than 20 simple or complex graphs, and supports the png,jpg,gif common picture format.
Munee
Munee is a set of picture size adjustment, Css-js merging/compression, caching and other functions in a PHP library. You can cache resources on both the server side and the client. It integrates the PHP image manipulation Library Imagine to achieve picture resizing and shearing, and then caching. Munee can automatically compile less, scss, and Coffeescript, and you can combine CSS+JS files into a single request, and you can also make these css-js files lean to perform better performance. The library can also be easily integrated with any code.
Gantti
Gantti is an open source PHP class for quickly generating Gantt charts.
Whoops
Whoops is suitable for error capture and debug PHP libraries for PHP environments. It provides a pretty bad interface to help developers debug Web projects, but its core is a simple but powerful overlay error-handling system.
PHP Image Cache
Image cache is a lightweight PHP class that can compress, move, and cache images in a user's browser. This class provides simple settings such as directory, root path URL, and so on, and then invokes the compression function for each picture.
Wideimage
Wideimage is an open source PHP image processing library. Use pure PHP5 development without any other external library. Features available include: Resize, crop, rotate, mask, sharpen, merge, draw text. Load pictures from file system, database, URL, etc., save pictures to file system, database.
Imagine
Imagine is an object-oriented PHP class library for picture manipulation. This class library can handle a number of commonly used operations such as: sizing, cropping, application filters, and so on. Its color class library can be used to generate RGB values for any set of colors. Some methods are also provided to draw graphs such as arcs, ellipses, lines, slices, and so on. In addition, you can use a flexible font class to load any font file, and then insert the text into the picture.
PHP Image Workshop
PHP Image Workshop is a freely available PHP class that is thought to be based on layer image editing software. It has the ability to overlay multiple layers, and put one image onto another to move, resize, crop, and write.
Detector
Detector is an open source PHP class library that detects many things about the user's browser environment, and it can get the browser's use and browser's HTML5, CSS3 functions. Class libraries can automatically adapt to new browser versions and devices, using unique user agent characters for each browser.
Opauth
Opauth is an open-source PHP class library that eliminates inconsistencies between provider and provides a standard way to deal with them. In addition to supporting Google, Twitter and Facebook, Opauth also supports arbitrary oauth provider. In addition, it can be integrated with some common PHP development frameworks, including: Cakephp,yii and so on.
Mobile Detect
Mobile detect is a lightweight PHP class that can help you accurately detect client devices (including tablets). It uses a combination of specific HTTP headers to detect user agent strings in a mobile environment.
Swift Mailer
Swift Mailer is an object-oriented PHP mail delivery package that does not rely on PHP's own mail () function because it consumes a high amount of system resources when sending multiple messages. Swift communicates directly with the SMTP server, with very high delivery speed and efficiency.
Ratchet Websocket for PHP
Ratchet is a loosely coupled PHP library that provides support for creating real-time, bi-directional client server websockets applications.
Hybridauth
Hybridauth is an open source PHP class library, which is used to provide authentication functions via microblogging/social networking sites and IDs to achieve the function of synchronous login sites. It can be easily integrated with existing Web sites, as long as a reference to a file and add a few lines of code to achieve login. Once validated, Hybridauth will provide standardization-related information to connect users. In addition, in addition to the validation capabilities, this class library allows us to interact with the social API client that the user is connected to.
Phpthumb
PHP Thumb is a PHP class that is used to generate thumbnail images of a picture, just a few lines of code. Support a variety of image sources, including file systems or databases, but also support most picture formats, and can rotate, cut, watermark and so on. At the same time, PHP thumb can also perform the quality of defining thumbnails, providing built-in caching to reduce server load.
Requests
Requests is a library that simplifies HTTP requests. With this library, developers can send head, gets, POST, put, delte, and patch HTTP requests, as well as add files and parameters to the array, and access all the appropriate data.
Htmlpurifier
Htmlpurifier is an HTML filter library that protects developers ' code from XSS attacks through powerful whitelist and aggregation analysis. It also ensures that output tags conform to standards.
Cakephp
Cake is a free, open-source, and fast-growing framework based on PHP, initially inspired by the Ruby on Rails framework. Cake provides the basic architecture that programmers need, so programmers can use it to create network applications faster and without losing flexibility.
Fpdf
Fpdf this PHP class allows programmers to use pure PHP (or rather, pdflib) to generate PDF files. Its features include: Selectable unit size, page format and margins, header and footer management, automatic pagination, automatic line wrapping and text alignment, support for JPEG and PNG picture formats, shading and file hyperlinks, support for truetype,type1 and encoding , support page compression.
Adodb
ADODB is the abbreviation for the active data Objects data base, which is a functional component of PHP access to the database.
Magpierss
Magpierss provides an xml-based RSS parser that supports rss0.9,rss1.0,rss2.0 and atom.
PHP Data Grid
PHP data Grid is a simple, innovative, and powerful tool, primarily used by web developers to generate data-bound grid controls.
Phpunit
PHPUnit is a lightweight PHP testing framework. It is a complete transplant of the JUNIT3 series under PHP5 and is a member of the Xunit Test framework family (they are all based on the design of the model pioneer Kent Beck).
The above is a summary of the 24 very useful PHP class library, reasonable use of them, can greatly shorten the progress of our development.