Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the PHP class libraries commonly used in PHP programming

2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article is about PHP programming, PHP library commonly used in what content. Xiaobian thinks it is quite practical, so share it with everyone for reference. Let's follow Xiaobian and have a look.

I. Chart Library

The following libraries make it easy to create complex diagrams and images. Of course, they require GD library support.

1、pChart

A library for creating statistical graphs.

2、Libchart

This is also a simple statistical gallery.

3、JpGraph

An object-oriented image creation class.

4、Open Flash Chart

This is a statistical chart based on Flash.

II. RSS parsing

1、MagpieRSS

Open source PHP RSS parser, said to be powerful, unverified.

2、SimplePie

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

III. Thumbnail generation

1、phpThumb

The function is very powerful, how powerful or to experience it yourself.

IV. PAYMENT

1、PHP Payment Library

Support Paypal, Authorize.net and 2Checkout (2CO)

V. OpenID

PHP-OpenID

A PHP library that supports OpenID. OpenID is a solution that helps you log in to different websites with the same username and password. If you are unfamiliar with OpenID, you can check it out here: openid.net.cn/

VI. Data is abstract/object relational mapping ORM

ADOdb -Database Abstraction

Doctrine -Object relational mapper (ORM), PHP 5.2.3+ required, 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 (ORM) is a technique for solving the mismatch between object-oriented and relational databases. Simply put, ORM is the automatic persistence of objects in programs into relational databases by using metadata that describes the mapping between objects and databases. Essentially, it's about transforming data from one form to another. This also implies additional execution overhead; however, if ORM is implemented as middleware, there are many opportunities for optimizations that do not exist at the handwritten persistence layer. More importantly, metadata to control transformations needs to be provided and managed; but again, these costs are less than maintaining handwritten schemas; and even an ODMG compliant object database still requires class-level metadata.

VII. PDF Generator

FPDF

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

VIII. Excel related

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

PHP Excel Reader-Parses and reads data from XLS files.

IX. E-Mail Related

Swift Mailer-Free, ultra-versatile PHP mail library.

PHPMailer-Super powerful email sending class.

X. Unit Testing

If you are developing your application using a test-driven approach, the following libraries and frameworks will definitely help you with your development.

SimpleTest -A PHP unit test and web testing framework.

PHPUnit -From the xUnit family, PHPUnit provides a framework for easy case development of unit tests. And the test results can be analyzed very easily.

Thank you for reading! About "PHP programming commonly used PHP class library which" this article is shared here, I hope the above content can have some help for everyone, so that we can learn more knowledge, if you think the article is good, you can share it to let more people see it!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report