Home  >  Article  >  Backend Development  >  9 PHP Libraries Developers Should Know_PHP Tutorial

9 PHP Libraries Developers Should Know_PHP Tutorial

WBOY
WBOYOriginal
2016-07-15 13:26:29859browse

Most of the 9 PHP libraries that developers should know are foreign resources. However, with the support of these PHP libraries, everyone will be able to speed up their future development without simply duplicating work.

1. ReCAPTCHA

The reCAPTCHA library allows you to create an advanced CAPTCHA system for your website. This system is actually used to generate verification information, even Including voice verification, the picture below is a good example.

Of course there is also the reCAPTCHA service available, which provides an easy-to-use free API and is worth trying on your website.

The reCAPTCHA library allows you to integrate an advanced CAPTCHA system on your website, which helps keep spam bots from posting on your website. The visual CAPTCHA also includes a helpful audio feature .In addition to the reCAPTCHA service, the library also includes an API for the "Mailhide" service which hides emails from spammers.The API is free and easy to implement on your site and also gives back to the community as it translates scanned books.

ReCAPTCHA

Download ReCAPTCHA | Get API Key | Documentation

2. Akismet

Akismet is a free service for small sites. It will be added to the database if it is used to modify the specifications. comments (to prevent malicious comments). This library is being improved all the time.

Akismet is a free service that can be used on most small sites - or used on larger sites for a small fee. The library works by comparing comments to a database of existing spam comments provided by other users . The library can then decide to flag the comment for moderation or allow it through. Everyday the library grows and the service improves.

Akismet

Introducing Akismet

3. Services_JSON

JSON is an information transfer format that can be easily understood by humans. But if you are not using PHP versions after 5.2.0 (since then PHP has official support for JSON), then you should try this library.

JSON is a handy format for transmitting human readable data. Not everyone has made the move to PHP5 which has included JSON support since version 5.2.0. This small library enables you to implement JSON functionality into your own applications if you are not using a recent version of PHP. =JSON src="http://www.bkjia.com/uploadfile/2013/0904/20130904094623255.png" goog_docs_charindex="1583">

Download Smarty

|

View document 5. pChart

pChart

is an extremely famous data graphics library. It provides a variety of beautiful charts for data display. In fact, anyone who uses php will definitely encounter the situation of using it.

In addition to displaying text data in your application, it can also be useful to show data in a more visual format. This can be done with a slew of options like pie charts and bar graphs. pChart is a script that allows you to create charts and graphs from SQL queries or manually provided details. The script is baked by GD to create the images. There is also a main focus on the aesthetics; so it creates some beautiful work.

SimplePie 

下载 SimplePie | 查看文档为独特的RSS Feeds拓展SimplePie 

7. XML-RPC PHP Library

有时你需要使用XML-RPC技术去和其他网站交互,那么试试这个XML-RPC PHP 库吧。

Applications sometimes use functionality to "ping" other sites when an action has occurred (known as trackbacks). This is done by using a protocol called XML-RPC. The XML-RPC PHP library also allows you to integrate the functionality into your website.

XML-RPC 

下载 XML-RPC PHP | 查看文档

8. Amazon S3

Amazon有名的云计算平台叫做“S3”。这里就有Amazon S3 库 让你不用任何附加工具就可以使用云,上传大量数据文件。

Amazon provides a nice service to work in the cloud, called "S3". Nettuts+ even uses it to store the images seen in each article. There is a nice Amazon S3 library that doesn't require any third party tools and allows for large file uploads.

Amazon S3 

下载 Amazon S3 PHP Class

9. PHPMailer

大多数web应用都在使用php的mail()函数。PHPMailer让你更加灵活地处理Email的发出,不但支持任何格式,还可以加入附件并自定义header。

Most applications send out an email in some form, but usually rely on the basic php mail() function. PHPMailer is an existing powerful class that allows you to send different types of emails - from basic text to rich formatted emails. These emails can also include attachments or custom headers.

Sending Mail

Download PHPMailer | View documentation

Original title: 9 PHP libraries you should know

Link: http://www.cnblogs.com/biko-zc/archive/2009/09/10/1563964.html


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/446593.htmlTechArticle9 Most of the PHP libraries that developers should know are foreign resources, but with the support of these PHP libraries , everyone will definitely speed up the development in the future, and will not simply repeat the work...
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