Nine free php libraries

Source: Internet
Author: User
Tags openid php email php excel rss parser
9 Free php library _ turn 9 Powerful free PHP library & amp; 20 you should know the PHP library from: http://coolshell.cn/articles/200.htmlfrom:http://coolshell.cn/articles/455.ht 9 free php library _ turn
9 Powerful free PHP libraries & 20 PHP libraries you should know

From: http://coolshell.cn/articles/200.html

From: http://coolshell.cn/articles/455.html

1. ReCAPTCHA

ReCAPTCHA allows your website to integrate an Advanced CAPTCHA system, which can help you block some junk information. Visual CAPTCHA also has a useful sound function. In addition, in the reCAPTCHA service, this PHP library also contains an API for the "Mailhide" service, which can hide your email address in some programs that capture the email address.

This API is free and easy to use. you need to apply for an api key.

Download ReCAPTCHA | get an API Key | related documentation

2. Akismet

Akismet is a free service project. for some small websites, it is completely free. for some large websites, it is partially free. This library also provides some junk information-related processing functions. It mainly makes a decision by comparing the information that has been identified as spam in its own database. Of course, junk information in the database may be reported on various websites for your convenience. This is a database updated every day and improved every day. Many WordPress libraries are installed.

Implement Akismet

3. Services_JSON

JSON is a very small and agile PHP library, which is mainly used to convert some data formats into easy-to-read formats. Not everyone will like PHP5 (because it has been integrated with JSON since PHP5.20). Therefore, this small PHP library can give you the JSON function in a lower version of PHP.

View Services_JSON

4. Smarty

Smarty is a web template engine that separates programs from interfaces. Smarty provides many powerful functions, such as loops, variables, and a powerful cache system. This database is not a new one. it has been developed for many years. although there are only three release versions, it should be mature.

Download Smarty | view documentation

5. pChart

This is a powerful PHP library for drawing statistical charts, such as some pie charts or bar charts. pChart also allows you to create a statistical chart through SQL query statements or manual input data. Of course, it requires the support of the GD library to create images. At first glance, this database has been designed by many very professional artists, because it can make your statistical chart quite beautiful.

Download pChart | related documentation | View demo

6. SimplePie

SimplePie allows you to easily pull some information, such as RSS feeds. It can also be integrated into different platforms and languages. In addition, you can use many different methods to process remote feeds.

Download SimplePie | related documentation | Extending simpleplepie to Parse Unique RSS Feeds

7. XML-RPC PHP

Our applications sometimes need some "ping"-like functions to detect other sites, such as BLOG trackbacks. In general, this is done through a protocol called XML-RPC. The XML-RPC PHP library allows your site to integrate these features.

Download XML-RPC PHP | documentation

8. Amazon S3

Amazon provides a "cloud service" called "S3". This PHP library allows you to upload large files without third-party plug-ins.

Download Amazon S3 PHP

9. PHPMailer

Many applications need to send emails externally, but PHP's mail () function is not particularly useful. PHPMailer came into being. it is a powerful class that allows you to send emails in different formats and supports attachments and custom mail headers.

Download PHPMailer | related documents

Article: source

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.

  1. PChart-a database that allows you to create statistical charts.
  2. Libchart-this is also a simple statistical Image Library.
  3. JpGraph-an object-oriented image creation class.
  4. 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.

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

  1. PHP Payment Library-support for Paypal, Authorize.net, and 2 Checkout (2CO)
OpenID
  1. 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
  1. ADOdb-database abstraction
  2. Doctrine-Object relational ing Object relational mapper (ORM) requires PHP 5.2.3 +, a very powerful database relational action layer (DBAL ).
  3. Propel-object relationship ing framework-PHP5
  4. 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
  1. 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.

  1. Php-excel-this is a very simple Excel file generation class.
  2. 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.

  1. Swift Mailer-free PHP email library with super-function features.
  2. 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.

  1. SimpleTest-a PHP Unit test and Web testing framework.
  2. PHPUnit-from the xUnit family, provides a framework for you to easily perform unit test case development. The test results can be easily analyzed.

Article: source

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.