20 Very useful PHP class libraries

Source: Internet
Author: User
Tags openid php excel rss parser
20 Very useful PHP class libraries

    Here are some of the most useful PHP class libraries, and it's sure to provide a better and faster way for your web development.

    Chart Library

    The following class library allows you to create complex diagrams and pictures with minimal complexity. Of course, they require the support of the GD library.

    Pchart-a library that can create a chart.

    Libchart-This is also a simple statistical gallery.

    Jpgraph-an object-oriented picture creation class.

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

    RSS parsing

    Explaining RSS is a tedious thing to do, but fortunately you have the following class library to help you easily read RSS feeds.

    Magpierss-Open Source PHP version of the RSS parser, is said to be powerful, not verified.

    Simplepie-This is a very fast and easy-to-use RSS and Atom parsing library.

    Thumbnail generation

    Phpthumb-The function is very powerful, how strong or oneself to realize it.

    Pay

    Does your website need to deal with payment matters? Need a program for and payment gateways? The following program can help you.

    PHP Payment Library-Support for PayPal, Authorize.Net and 2Checkout (2CO)

    Openid

    Php-openid-a PHP library that supports OpenID. OpenID is a solution that helps you sign in to different websites with the same username and password. If you are unfamiliar with OpenID, you can look here: http://openid.net.cn/

    Data for abstract/Object Relational mapping ORM

    ADODB-Database Abstraction

    Doctrine-Object Relational mapping Object Relational Mapper (ORM), requires a PHP 5.2.3+ version, a very powerful database abstraction layer (DBAL).

    Propel-Object Relational mapping framework-PHP5

    Outlet-is also a tool for object relational mapping.

    Note: Object Relational mapping (objects relational Mapping, or ORM) is a technique to solve the mismatch between object-oriented and relational databases. In a nutshell, ORM automatically persists objects in a program to a relational database by using metadata that describes the mapping between the object and the database. Essentially, it's converting data from one form to another. This also implies additional execution overhead, however, if ORM is implemented as a middleware, there are many opportunities for optimizations that do not exist in the handwritten persistence layer. More importantly, the metadata needed to control the transformation needs to be provided and managed, but again, this is less expensive than maintaining handwriting, and even an object database that adheres to the ODMG specification still requires class-level metadata.

    PDF Generator

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

    Excel related

    Do you need to generate Excel for your site? No problem, here are two classes of libraries that will make it easy for you to do this.

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

    PHP Excel Reader-can parse and read data from an XLS file.

    e-Mail related

    Don't like Php's Mail function? Feel not strong enough? The following PHP mail-related libraries will never disappoint you.

    Swift Mailer-Free ultra-versatile PHP Mail library.

    Phpmailer-Super powerful mail sending class.

    Unit Test

    If you are using a test-driven approach to develop your program, the following class libraries and frameworks can help you with your development.

    SimpleTest-A framework for a PHP unit test and Web testing.

    PHPUnit-From the Xunit family, provides a framework that allows you to easily conduct unit test case development. And it is very easy to analyze its test results.

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