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 very useful class library recommendations in php?

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article mainly explains "what are the very useful class library recommendations in php", the explanation in the article is simple and clear, easy to learn and understand, please follow the editor's ideas slowly in-depth, to study and learn "which php class library recommendations are very useful" bar!

Snappy

Snappy is used by PHP5 to generate thumbnails, snapshots, PDF,URL or HTML pages. It uses excellent WebKit-based wkhtmltopdf and wkhtmltoimage to adapt to the OSX,Linux window.

Geocoder

Geocoder can help you build geo-aware applications. It provides an abstraction layer, geocoding operation. The library is divided into two parts: HttpAdapter and vendor, which is truly extensible.

Ratchet

Ratchet allows developers to create real-time bidirectional applications between the client and the server through WebSockets. This allows you to build event-driven applications (instead of traditional HTTP request / response applications), fast and EAS

Requests

Requests is a PHP library that uses cURL and fsockopen (as the case may be) to provide consistent API. It simplifies sending requests, accepting HEAD,GET,POST,PUT,DELETE or patching, and adding titles, tabular data + multi-part files.

PHP CPP Library

Hoa

Munee

Munee is an all-in-one library that handles the business of optimizing and manipulating website assets. The library has a powerful caching feature that caches server and client resources. It integrates with PHP's image processing library: imagine resizing or cropping images (caching them afterwards).

Opauth

Opauth is an open source PHP library that eliminates vendor compatibility issues and provides a standardized way to deal with them. Currently, three vendors are almost blocking'n' usage: Google, Weibo + Facebook and more surprises. In addition, there is support for handling any other Opauth provider.

Alice

Alice allows you to create a ton of device / fake data for use in development or test projects. It gives you the necessary tools to make it easy to generate complex data with constraints in a readable, easy-to-modify way so that everyone on your team can adjust the schedule if necessary.

SwiftMailer

SwiftMailer is a feature-rich PHP mail library that sends e-mail from PHP websites and applications. It does not rely on the native mail () class of PHP, reducing resource consumption. Instead, SwiftMailer sends messages quickly and efficiently directly with SMTP servers or MTA binaries.

Unirest

Unirest is a lightweight package of many languages of the HTTP library (in PHP,Ruby, Python's Java and Objective-C). It is supported, and the structure of POST,PUT,UPDATE,DELETE operation and its method + response is the same in all languages.

PHP Password Lib

The goal of PHP-PasswordLib is to have an inclusive encryption library for all encryption. This is for ease of installation and use, but extensible and powerful enough for even the most experienced developers.

PHPSecLib

Phpseclib is designed to be super compatible. It works with PHP4+ (in PHP4, assuming ofPHP_Compat is used) and does not require any extension. For speed, the use of mcrypt if it is available is GMP or bcmath (in that order), but they are not required.

Zebra Image

Zebra_Image is an open source and lightweight image processing library based on PHP. The library is object-oriented, requires only PHP's GD2 extension, and supports scaling, cropping, rotating and flipping operations.

PHP Thumb

PhpThumb is the PHP library used to create thumbnails and can be implemented in just a few lines of code. It accepts images (from the file system, URL or database) and any data source type of all popular image formats. Images can be rotated, cropped, watermarked, and their quality can be defined and even a built-in cache to reduce the load on the server.

Whoops

Whoops is a PHP-based error handling foundation / framework. Out of the box, it provides a very wrong interface to help you debug Web projects, but at its core is a simple but powerful stacking error handling system.

Parody

Parody is a method that can be used to imitate classes and objects and provide work results to support method calls (including objects and static), get properties, instantiated objects, etc., it uses a sequential chain to make the defined class structure and very simple library operations very fast.

Imagine

Imagine is an object-oriented PHP library for processing images and manipulating them. The library can handle common operations such as resizing, cropping, or applying filtering. A color class helps generate RGB values for any given color and is used to draw shapes like arcs, ellipses, lines, pieSlice and more.

PHPFastCache

PhpFastCache is an open source PHP cache. It has multiple methods of caching (APC,memcache, memcached, WINCACHE, file, PDO and MPDO) support, the cache cycle can be defined, there is a very simple API.

Stash

Stash caches expensive features or code results to speed up your code. Some operations, such as database queries or calls to external API, take a lot of time to run, but often have the same results in a very short time. This makes it more efficient to store results and calls them back later.

Mink

Mink allows you to test your Web application and interact properly with the browser. It eliminates the difference in API between the two browser emulators and gives you a more accurate test environment. Mink comes with PHPUnit,Behat and Symfony2 support right out of the box.

Faker

Faker is a PHP library that generates false data for you, whether you need to boot your database, create good-looking XML documents, fill in your persistence stress tests, or anonymously obtain data from production services, Faker can be achieved.

PHP Collection

This library adds the basic collection to PHP. Collections can be seen as arrays that guarantee more specialization for some of these contracts.

PHP Error

PHP Error is an open source PHP library that is often faced with standard PHP error messages in the development process. It is tightly integrated into any PHP environment (applicable in all cases, only in the development environment, only in certain projects, etc.) and highlights errors with syntax.

PHP Markdown

This is a library package, including PHP's price reduction parser and its brother PHP's price reduction additional features. Price reduction is a text-to-HTML conversion tool for web writers. The price reduction allows you to use an easy-to-read, easy-to-write plain text format, and then write the conversion to structurally efficient XHTML (or HTML).

Thank you for your reading, the above is the content of "what are the very useful class libraries recommended in php". After the study of this article, I believe you have a deeper understanding of what very useful class libraries in php recommend this question, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

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