24 Useful PHP class Library sharing, 24php class Library _php Tutorial

Source: Internet
Author: User
Tags image processing library oauth provider rss parser ruby on rails

24 Useful PHP class libraries to share, 24php class library

Currently, PHP is the most popular scripting language for Web development. You can find a lot of information about PHP on the Internet, including documentation, tutorials, tools, and more. PHP is not only a feature-rich language, it also helps developers to easily create better network environments. In order to further help developers, the small series will share with you some free and high-quality PHP library, hope to help everyone. What are you waiting for, let ' s go!


Phpfastcache is a high-performance, distributed object caching system designed to accelerate dynamic Web applications to reduce database load.


Pchart is an open source chart generation library, mainly involving 3 Class:pChart.class, Pdata.class, Pcache.class, can generate more than 20 kinds of simple or complex charts, support Png,jpg,gif general image format.


Munee is a PHP library that integrates image resizing, css-js merging/compressing, caching, and more. Resources can be cached on both the server side and the client. It integrates the PHP picture manipulation Library Imagine to achieve picture resizing and clipping, and then caches it. Munee can automatically compile less, scss, and Coffeescript, and can combine css+js files into a single request, and you can also fine-scale these css-js files for better performance. The library can also be easily integrated with any code.


Gantti is an open source PHP class for quickly generating Gantt charts.


Whoops error capture and debugging PHP libraries for PHP environments. It provides a beautiful error interface that can help developers debug Web projects, but at the 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 the user's browser. This class provides some simple settings such as directories, root path URLs, and so on, and then calls the compression function for each image.


Wideimage is an open source PHP image processing library. Developed with pure PHP5 without any other external library. The features offered include: resize, crop, rotate, mask, sharpen, merge, draw text. Load pictures from file system, database, URL, etc., save pictures to file system, database.


Imagine is an object-oriented PHP class library for picture manipulation. This class library can handle some commonly used operations such as resizing, cropping, applying filters, and so on. Its color class library can be used to generate RGB values for any pairs of colors. It also provides some ways to draw graphs such as arcs, ellipses, lines, slices, etc. 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 free-to-use PHP class that is considered to be based on layer image editing software. It has the ability to overlay multiple layers, put one image on the other to move, resize, crop, write and so on.


Detector is an open source PHP class library that detects many things about the user's browser environment, and it can get browser usage and browser HTML5 and CSS3 functionality. Class libraries can automatically adapt to new browser versions and devices, using unique user-agent characters for each browser.


Opauth is an open-source PHP class library that eliminates inconsistencies between provider and provides a standard way to handle them. Opauth supports any OAuth provider in addition to Google, Twitter, and Facebook. In addition, it can be integrated with some common PHP development frameworks, including: Cakephp,yii, etc.

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 the mail () function that comes with PHP because it consumes a high amount of system resources when sending multiple messages. Swift communicates directly with the SMTP server, with very high transmission speed and efficiency.

Ratchet Websocket for PHP

Ratchet is a loosely coupled PHP library that provides support for creating real-time, bidirectional client server WebSockets applications.


Hybridauth is an open source PHP class library that provides verification capabilities via Weibo/social networking sites and IDs to enable simultaneous login site functionality. It is easy to integrate with existing sites and can be logged in by referencing a file and adding a few lines of code. Once verified, Hybridauth will provide standardized information for connecting users. Furthermore, in addition to the validation feature, this class library allows us to interact with the social API client that the user connects to.


PHP Thumb is a PHP class used to generate thumbnails of images in just a few lines of code. Support a variety of image sources, including the file system or database, but also support the majority of image formats, and can be rotated, cut, watermark and so on. At the same time, PHP Thumb also performs a definition of the quality of thumbnails, providing built-in caches to reduce server load.


Requests is a library that simplifies HTTP requests. With this library, developers can send head, GET, POST, PUT, delte, and patch HTTP requests, as well as add files and parameters through an array, and access all the appropriate data.


Htmlpurifier is an HTML filtering library that protects developers ' code from XSS attacks with powerful whitelisting and aggregation analysis. It also ensures that the output markings conform to the standard.


CakePHP is a free and open source PHP-based rapid development framework that was first inspired by the Ruby on Rails framework. CakePHP provides the basic architecture that programmers need, so programmers can use it to create Web applications faster and with less flexibility.


Fpdf this PHP class allows programmers to use pure PHP (or, more specifically, no pdflib) to generate PDF files. Features include: selectable unit size, page format and margins, header and footer management, automatic pagination, automatic line wrapping with text, support for JPEG and PNG image formats, support for coloring and file hyperlinks, support for truetype,type1 and encoding Support page compression.


ADODB is the abbreviation for active data Objects data base, which is a function component of PHP Access database.


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 that is primarily used by web developers to generate data-bound grid controls.


PHPUnit is a lightweight PHP testing framework. It is a complete transplant of the JUNIT3 series version under the PHP5, a member of the Xunit Test framework family (both of which are based on the design of model pioneer Kent Beck).

http://www.bkjia.com/PHPjc/928614.html www.bkjia.com true http://www.bkjia.com/PHPjc/928614.html techarticle 24 Useful PHP class libraries to share, 24php class library Currently, PHP is the most popular scripting language for Web development. You can find a lot of information about PHP on the Internet, including documentation, teaching ...

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.