We recommend 25 useful php class libraries and 25 non-class libraries in php.
Snappy
Snappy is PHP5 used to generate thumbnails, snapshots, PDF, URLs, or HTML pages. It uses excellent WebKit-based wkhtmltopdf and wkhtmltoimage to adapt to Windows in OSX and Linux.
Geocoder
Geocoder helps you build a geographical awareness application. It provides an abstraction layer for geocoding operations. The library is divided into two parts: HttpAdapter and supplier, which are truly scalable.
Ratchet
Ratchet allows developers to create real-time two-way applications between the client and the server through WebSockets. This enables the construction of event-driven applications (rather than traditional HTTP Request/response applications), fast and EAS
Requests
Requests is a PHP library that uses cURL and fsockopen (depending on the situation) to provide the same API. It simplifies sending requests, accepts HEAD, GET, POST, PUT, DELETE, or patching, and adds titles, table data, and multiple files.
Php cpp Library
Hoa
Munee
Munee is a full-featured database used to process related optimization and operations on website assets. This database has a powerful caching function that can be cached on server and client resources. It integrates with PHP image processing libraries: Imagine resizing or cropping images (caching them afterwards ).
Opauth
Opauth is an open-source PHP library used to eliminate compatibility issues between vendors and provide a standardized approach to deal with them. Currently, three vendors are almost blocking 'n' usage: Google, Weibo + Facebook, and more surprises. In addition, there is support for processing any other Opauth provider.
Alice
Alice allows you to create a ton of device/false data for use in development or test projects. It gives you some necessary tools to make it easy to generate complex data with constraints in a readable and easy-to-Modify way, so that everyone can contact your team, you can adjust the schedule as needed.
SwiftMailer
SwiftMailer is a function-rich PHP mail library that sends emails from PHP websites and applications. It does not rely on PHP's local mail () class, reducing resource consumption. On the contrary, SwiftMailer directly sends emails to SMTP servers or MTA binary files quickly and efficiently.
Unirest
Unirest is a lightweight HTTP library package of many languages (PHP, Ruby, Python Java and Objective-C. It is supported. The POST, PUT, UPDATE, and DELETE operations are the same as the method + response structure in all languages.
PHP Password Lib
The goal of PHP-PasswordLib is to require an inclusive encryption library for all encryption. This is for ease of installation and use, but it is scalable and powerful enough, even for the most experienced developers.
PHPSecLib
Phpseclib is designed to be super compatible. It applies to PHP4 + (in PHP4, if ofPHP_Compat is used) without any extension. For speed, mcrypt is used if it is available in GMP or bcmath (in this 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. It only requires the PHP GD2 extension and supports scaling, cropping, rotation, and flip operations.
PHP Thumb
PhpThumb is a PHP library used to create thumbnails. It can be implemented with only a few lines of code. It accepts images (from file systems, URLs or databases) and any data source type of all popular image formats. Images can be rotated, cropped, and watermarked. Their quality can be defined and even has a built-in cache to reduce server load.
Whoops
Whoops is a PHP-based error handling framework. Out-of-the-box installation and out-of-the-box use. It provides a very bad interface that can help you debug Web projects, but the core is a simple but powerful stack error handling system.
Parody
Parody is a method that can be used to simulate classes and objects, provide method calls (including objects and static ones) for working results, obtain attributes, and instantiate objects. It uses sequential method chains, 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. This library can handle common operations, such as resizing, cropping, or application filtering. A color class is used to generate RGB values of any given color and draw shapes like arcs, ovans, straight lines, pieSlice and more methods.
PHPFastCache
PhpFastCache is an open-source PHP cache library. It supports multiple caching methods (APC, memcache, memcached, WINCACHE, file, PDO, and MPDO). The cache cycle can be defined and there is a very simple API.
Stash
Stash caches expensive functions or code results to speed up your code. Some operations, such as database query or calling external APIs, require a lot of time to run, but often have the same results for a short time. This makes it more effective to store results and calls them back later.
Mink
Mink allows you to test the normal interaction between your Web application and your browser. It eliminates API differences between two browser simulators and gives you a more accurate test environment. PHPUnit, Behat, and Symfony2 provided by Mink can be used out-of-the-box.
Faker
Faker is a PHP library that generates hypothetical data for you. Whether you need to guide your database, create good-looking XML documents and fill them in your persistent stress test, or the data obtained from the production service anonymously can be implemented by Faker.
PHP Collection
This library adds a basic set of PHP. A collection can be seen as a more dedicated array for some of the contracts.
PHP Error
PHP Error is an open-source PHP library for better solutions to standard PHP Error messages during development. It is tightly integrated into any PHP environment (applicable in all cases, only in the development environment, only in some projects, etc.) and with syntax highlighting errors.
PHP Markdown
This is a library package, including the PHP price reduction parser and its brother PHP price reduction additional features. Price reduction is a text-to-HTML Conversion Tool, network writers. Price reduction allows you to use easy-to-read, easy-to-write plain text format, and then convert it into a valid XHTML (or HTML) structure ).
In PHP, is the extension and class library provided by PHP a kind of thing?
1. Generally, php class libraries are written in php, so include/require is generally used for import.
2. the php extension library is generally imported in php. ihi. For example, the gd2 library is loaded:
[PHP_GD2]
Extension = php_gd2.dll
The official extension libraries for PHP are PEAR and PECL. You can search for relevant materials.
How does php customize class libraries?
Write all the functions to be used into a library, that is, a special file, and then call the function during use.