20 Practical PHP libraries (Charts, images, data, etc)

Source: Internet
Author: User
Tags php email php excel rss parser
PHP development technology is still very popular over the past few years, and more developers have joined the PHP development camp in the face of complicated frameworks and redundant code, selecting the appropriate PHP library is especially important. excellent PHP library can save you a lot of code and coding time.

The following are some very useful PHP class libraries. I believe they will certainly provide a better and faster way for your WEB development.

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 statistical 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-open-source PHP version RSS parser, said to be powerful, not verified.
SimplePie-this is a fast and easy-to-use RSS and Atom parser library.
Thumbnail generation

PhpThumb-powerful functions. Feel free to know how powerful it is.
Payment

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, Authorize.net, and 2 Checkout (2CO)
OpenID

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 here: http://openid.net.cn/
Data is abstract/object link ing ORM

ADOdb-database abstraction
Doctrine-Object relational 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-is also a tool for object link 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-parses and reads 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-powerful Mail 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 Web testing framework.
PHPUnit-from the xUnit family, provides a framework for you to easily perform unit test case development. The test results can be easily analyzed.

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.