Php common classes _ PHP Tutorial

Source: Internet
Author: User
Tags openid php email php excel rss parser
Sort common php classes. The class library below the chart Library allows you to easily create complex charts and images. Of course, they need the support of the GD Library. PChart-a database that allows you to create statistical charts. Libchart- Chart Library

The following class library allows you to easily create complex charts and images. Of course, they need the support of the GD Library.

PChart-A database that allows you to create statistical charts.

Libchart-This is also a simple statistics Image Library.

JpGraph-An object-oriented image creation class.

Open Flash Chart-This is a Flash-based statistical chart.

RSS Resolution

Interpreting RSS is monotonous, but fortunately you have the following class library to help you easily read RSS feeds.

MagpieRSS-The open-source PHP version RSS parser is said to be powerful and not verified.

SimplePie-This is a fast and easy-to-use RSS and Atom parser library.

Thumbnail generation

PhpThumb-The function is very powerful. let's take a look at it.


Does your website need to handle payment? What is the procedure for connecting to the payment gateway? The following program can help you.

PHP Payment Library-Support for Paypal,, and 2 Checkout (2CO)


PHP-OpenID-A PHP library supporting OpenID. OpenID is a solution that helps you log on to different websites with the same user name and password. If you are not familiar with OpenID, you can look at it here:Http://

Data is abstract/object link ing ORM

ADOdb-Database abstraction

Doctrine-Object relational er ing Object relational mapper (ORM) requires PHP 5.2.3 +, a very powerful database relational action layer (DBAL ).

Propel-Object relationship ing framework-PHP5

Outlet-It is also a tool for object relationship ING.

Note: Object Relational ING (ORM) is a technology designed to solve the mismatch between objects and Relational databases. To put it simply, ORM automatically persists the objects in the program to the relational database by using metadata that describes the ing between objects and databases. In essence, data is converted from one form to another. This also implies additional execution overhead. However, if ORM is implemented as a middleware, there will be many opportunities for optimization, which do not exist in the handwritten persistence layer. More importantly, the metadata used to control the conversion needs to be provided and managed; however, these costs are less than the manual maintenance solution; in addition, even object databases that comply with the ODMG specifications still need class-level metadata.

PDF generator

FPDF-This is a pure PHP class library that allows you to generate PDF files.

Excel problems

Do you need to generate an Excel file for your site? No problem. the following two class libraries allow you to easily achieve this.

Php-excel-This is a very simple Excel file generation class.

PHP Excel Reader-Parse and read data in the XLS file.

E-mail problems

Do not like PHP mail functions? Do you think it is not powerful enough? The following PHP email-related libraries will never disappoint you.

Swift Mailer-Free PHP email library with super-function features.

PHPMailer-Extremely powerful email sending class.

Unit test

If you are developing your program using the test-driven method, the following class libraries and frameworks will definitely help you develop your program.

SimpleTest-A PHP Unit test and webpage test framework.

PHPUnit-From the xUnit family, a framework is provided to facilitate case development for unit testing. The test results can be easily analyzed.

The class library below idea allows you to easily create complex charts and images. Of course, they need the support of the GD Library. PChart-a database that allows you to create statistical charts. Libchart -...

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: 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.