Home >Backend Development >PHP Tutorial >24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:11:29990browse

24 useful PHP libraries to share, 24php libraries

Currently, PHP is the most popular scripting language used for web development. You can easily find a lot of information about PHP on the Internet, including documentation, tutorials, tools, etc. PHP is not only a feature-rich language, it also helps developers create better web environments easily. In order to further help developers, the editor will share with you some free and high-quality PHP libraries, hoping to help everyone. What are you 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.

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

pcchart

PCchart is an open source chart generation library, mainly involving 3 Classes: pChart.class, pData.class, pCache.class. It can generate more than 20 simple or complex charts and supports PNG, JPG, and GIF common image formats. .

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

Munee

Munee is a PHP library that integrates image resizing, CSS-JS merging/compression, caching and other functions. Resources can be cached on the server side and client side. It integrates the PHP image manipulation library Imagine to realize image resizing and cropping, and then caches it. Munee can automatically compile LESS, SCSS and CoffeeScript, and merge CSS+JS files into a single request. In addition, it can also minify these CSS-JS files to give them better performance. The library can also be easily integrated with any code.

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

Gantti

Gantti is an open source PHP class used to quickly generate Gantt charts.

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

Whoops

Whoops is a PHP library suitable for error capture and debugging in PHP environments. It provides a nice error interface to help developers debug web projects, but at its core is a simple yet powerful overlay error handling system.

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

 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 directory, root path URL, etc., and then calls the compression function for each image.

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

 Wideimage

Wideimage is an open source PHP image processing library. Developed using pure PHP5, no other external libraries are needed. The functions provided include: resize, crop, rotate, mask, sharpen, merge, and draw text. Load images from file systems, databases, URLs, etc., and save images to file systems and databases.

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

Imagine

Imagine is an object-oriented PHP class library for image manipulation. This class library can handle some commonly used operations such as resizing, cropping, applying filters, etc. Its Color class library can be used to generate RGB values ​​for any given color. It also provides some methods to draw graphics such as arcs, ellipses, lines, slices, etc. In addition, a flexible font class can be used to load any font file and then insert text into the image.

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

 Php Image Workshop

Php Image Workshop is a freely available PHP class considered a layer-based image editing software. It has functions that allow overlaying multiple layers, placing one image on top of another, moving, resizing, cropping, writing, etc.

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

Detector

Detector is an open source PHP class library used to detect many things about the user's browser environment. At the same time, it can obtain the use of the browser and the browser's html5 and css3 functions. The library can automatically adapt to new browser versions and devices, using unique user agent characters for each browser.

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

Opauth

Opauth is an open source PHP class library that eliminates inconsistencies between Providers and provides a standard method to handle them. In addition to supporting Google, Twitter and Facebook, Opauth also supports any Oauth provider. In addition, it can also be integrated with some commonly used PHP development frameworks, including: CakePHP, Yii, etc.

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

 Mobile Detect

Mobile Detect is a lightweight PHP class that can help you accurately detect client devices (including tablets). It uses specific HTTP headers to detect user agent strings in mobile environments.

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

Swift Mailer

Swift Mailer is an object-oriented PHP email sending package that does not rely on PHP's own mail() function, because this function takes up a lot of system resources when sending multiple emails. Swift communicates directly with the SMTP server, with very high sending speed and efficiency.

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

 Ratchet Websocket For Php

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

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

Hybridauth

Hybridauth is an open source PHP class library that is used to provide verification functions through Weibo/social networking sites and IDs to achieve synchronous website login functions. It can be easily integrated with existing websites. You only need to reference a file and add a few lines of code to log in. Once authenticated, Hybridauth provides standardized information about the connected user. Furthermore, in addition to the authentication functionality, this library allows us to interact with social API clients to which the user is connected.

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

Phpthumb

PHP Thumb is a PHP class that is used to generate thumbnails of images with just a few lines of code. It supports a variety of image sources, including file systems or databases, and also supports most image formats, and can rotate, cut, add watermarks, etc. to images. At the same time, PHP Thumb can also define the quality of thumbnails and provide built-in caching to reduce server load.

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

Requests

Requests is a library that simplifies HTTP requests. With this library, developers can send HEAD, GET, POST, PUT, DELTE, and PATCH HTTP requests while adding files and parameters via arrays and accessing all corresponding data.

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

Htmlpurifier

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

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

Cakephp

CakePHP is a free and open source rapidly developing framework based on PHP. It was originally inspired by the Ruby On Rails framework. CakePHP provides the basic architecture that programmers need so they can create web applications more quickly without losing flexibility.

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

 Fpdf

 The Fpdf PHP class allows programmers to use pure PHP (more precisely, without using PDFlib) to generate PDF files. Its features include: selectable unit size, page format and margins; header and footer management; automatic paging; automatic word wrapping and automatic text alignment; support for JPEG and PNG image formats; support for coloring and file hyperlinks ;Supports TrueType, Type1 and encoding; supports page compression.

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

Adodb

 Adodb is the abbreviation of Active Data Objects Data Base. It is a functional component for PHP to access the database.

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

Magpierss

MagpieRSS provides an XML-based RSS parser, supporting RSS0.9, RSS1.0, RSS2.0 and Atom.

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

 Php Data Grid

Php Data Grid is a simple, innovative and powerful tool mainly used by web developers to generate data-bound grid controls.

24 useful PHP class libraries to share, 24php class libraries_PHP tutorial

Phpunit

PHPUnit is a lightweight PHP testing framework. It is a complete port of the JUnit3 series version under PHP5 and is a member of the xUnit test framework family (they are all based on the design of pattern pioneer Kent Beck).

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/928614.htmlTechArticle24 useful PHP libraries to share, 24php libraries Currently, PHP is the most popular for web development Scripting language. You can easily find a lot of information about PHP on the Internet, including documentation, tutorials...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn