15 Libraries A PHP programmer should know

Source: Internet
Author: User
Tags image processing library php language

The introduction of these libraries, not necessarily all can be used, if as the advanced process, read some of the source of high-quality library resources, these content is very good, learning design ideas and coding norms, deepen the internal strength cultivation.

In the last few years, PHP has become one of the most popular and effective server-side programming languages. The PHP language has been installed on more than 240 million websites and 2.1 million Web servers worldwide, according to a survey published in 2013. PHP stands for Hypertext Preprocessor, which is used primarily to create dynamic Web pages. Of course, PHP has many other uses and is extremely popular among web developers. With the continuous development of related technologies in various fields, PHP developers currently have a very strong market demand.

The PHP Library has an important role to play in extending the core functionality of the language. Libraries are a very useful resource for programmers, including pre-written code, classes, values, message templates, configuration data, and so on. Currently, there are some practical PHP libraries that can execute Web development projects faster and more efficiently. Today, the small series will list 15 such PHP libraries, welcome to the tasting!

1, Mink

Mink is a library of PHP 5.3 that can be used to simulate the interaction between a Web application and a browser in a test. This library enables developers to use a single API to operate on a variety of different browser emulators simultaneously. Mink also provides an effective way to control the browser, traverse pages, and manipulate page elements.

2, Geocoder

Geocoder is a PHP library for building geo-aware applications that provides a powerful abstraction layer for geocoding operations. Geocoder also offers a number of address-based service options, including Bing Maps, Google Maps, MapQuest, TomTom, and Yandex.

3, Ratchet

Ratchet is a powerful PHP library that allows developers to create real-time bidirectional applications between the client and the server through the Web interface. It contains a number of useful components, such as Wamp server, IO Server, session provider, router, HTTP, and so on.

4. Requests for PHP

Requests is an HTTP library written into PHP that allows different HTTP requests, such as head, Get, Post, Put, delete, and patch, to be sent. In addition, you can add headings, tabular data, create multipart files, and access response data. This library also provides features including international domain name/urls, browser-style SSL authentication, and basic/Digest authentication.

5, Munee

Munee is a PHP 5.3 library that uses imagine (OOP library for mirroring operations) and parameter syntax for image resizing, cropping, and padding. The library provides compile and cache resource requests for less, SCSS, and Coffeescript on both the client and server side.

6, Imagine

Imagine is an object-oriented (object-oriented programming) image processing library that you can use imagine to perform various image processing operations, including resizing images, image watermarks, accessing image metadata, and more.

7, Snappy

Snappy is a PHP 5 library that allows you to generate thumbnails, snapshots, or PDFs for URLs or HTML pages.

8, Hoa

HOA is a modular and structured collection of PHP libraries that can be extended to create applications or build users ' own libraries.

9, Php-cpp

Php-cpp basically belongs to a C + + library of a variety of classes with detailed documentation that can be used to create PHP native extensions, which allows you to work with a simple method parameter and return value. You can easily use variables, arrays, functions, objects, classes, interfaces, and namespaces, while also using the various features of C + +, including threading, Ambda expressions, and asynchronous programming.

10, Whoops

Whoops is a PHP library for handling errors and exceptions, and it supports a variety of PHP frameworks, such as Zend and Silex. It provides a function to retrieve information about the frame background, files, and line numbers, and to add annotations to the frame.

11, Swiftmailer

Swiftmailer is a PHP mail repository that sends any email from a Web application or website written in PHP 5. It also has a set of component-based structures, and uses object-oriented methods to provide a range of other functions while sending messages.

12, Stash

Stash is a powerful PHP library for caching result functions or code that can store PHP native data types such as integers, booleans, nulls, strings, data, and objects that can be ordered. It also provides several features for data encoding, nesting, and multi-backend support.

13. Xml-rpc for PHP

Xml-rpc for PHP is a library for encoding and decoding PHP values to XMLRPC. Xml-rpc is a suite of implementation scenarios that allow software programs to program calls to a variety of different operating systems and environments over the Internet, including the transfer, processing, and return of complex data structures.

14, parody

Parody is a simple PHP library for testing, which is used to emulate classes and objects, to provide work results for method invocations (including objects and static classes), to get properties, to instantiate objects, and so on. Parody allows us to apply a defined class to any interface while creating an object and invoking a method.

15. Unirest for PHP

Unirest is a collection of HTTP libraries for many different languages, including Python, PHP, Java, and Ruby. Unirest for PHP provides a number of practical ways to implement method calls, including Get, Post, Put, Delete, Connect, Head, Patch, and trace. In addition, it natively supports basic, Digest, negotiate, and NTLM authentication. Unirest for PHP also supports form parameters, file uploads, and custom entity principals.

15 Libraries A PHP programmer should know

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.