Recommended 25 PHP very useful class library, 25 PHP non-class library _php tutorial

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

Recommended 25 of PHP's most useful class libraries, 25 PHP non-class libraries


Snappy

Snappy is PHP5 used to generate thumbnails, snapshots, pdf,url or HTML pages. It incorporates excellent webkit based wkhtmltopdf and wkhtmltoimage that can be adapted to the windows of the Osx,linux.

Geocoder

Geocoder can help you build a geo-aware application. It provides an abstraction layer for geocoding operations. The library is divided into two parts: Httpadapter and vendors, which are truly scalable.

Ratchet

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

Requests

Requests is a PHP library that uses Curl and fsockopen (as appropriate) to provide a consistent API. It simplifies sending requests, accepting head,get,post,put,delete or patching, and adding headers, tabular data + multipart files.

PHP CPP Library

Hoa

Munee

Munee is an all-in-one library that handles business related to optimizing and manipulating website assets. The library has a powerful caching feature that can slow the presence of server and client resources. It integrates with the image processing library with PHP: 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 handle them. Currently, 3 vendors are almost clogged with ' n ' usage: google, Weibo + Facebook and have more surprises. In addition, there is support for handling any other Opauth providers.

Alice

Alice allows you to create a ton of devices/fake data for use in developing or testing projects. It gives you some of the necessary tools to make it easy in a readable, easy-to-modify way to produce complex data with constraints, so everyone on your team can adjust the schedule if needed.

Swiftmailer

Swiftmailer is a feature-rich PHP Mail library that sends email from PHP websites and applications. It does not rely on the local mail () Class of PHP, which reduces the consumption of resources. Instead, Swiftmailer sends messages directly to and from the SMTP server or MTA binaries quickly and efficiently.

Unirest

Unirest is a pack of lightweight HTTP libraries in many languages (Php,ruby, Python Java and objective-c). It has the structure of obtaining support, post,put,update,delete operations and its methods + responses in all languages.

PHP Password Lib

The goal of Php-passwordlib is to require an all-inclusive cryptographic library for all encryption. This is intended for ease of installation and use, but is scalable and powerful enough even for the most experienced developers.

Phpseclib

The phpseclib is designed to be ultra-compatible. It applies to php4+ (PHP4, assuming that Ofphp_compat is used) and does not require any extensions. 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 and requires only PHP GD2 extensions and supports scaling, cropping, rotating, and flipping operations.

PHP Thumb

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

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 the core is a simple but powerful stacking error-handling system.

Parody

Parody is a method that can be used to mimic classes and objects as well as provide work results to support methods called (both object and static), get properties, instantiate objects, etc., which take the sequential chain, making the defined class structure and very simple library operations very fast.

Imagine

Imagine is an object-oriented PHP library that processes images and manipulates them. The library can handle commonly used operations, such as resizing, cropping, or applying a filter. A color class helps to produce any given color of the RGB value and is used to draw shapes like arcs, ellipses, straight lines, pieslice and more methods exist.

Phpfastcache

Phpfastcache is an open source PHP cache library. It has multiple methods of caching (Apc,memcache, memcached, Wincache, file, PDO and Mpdo) support, the cache cycle can be defined, and there is a very simple API.

Stash

Stash the result of caching expensive features or code, speeding up your code. Some operations, such as database queries or calls to external APIs, require a lot of time to run, but often have the same results for a short time. This makes it more efficient to store the results and calls for them to come back later.

Mink

Mink allows you to test your Web application for normal interaction with your browser. It eliminates the differences in APIs between the two browser emulators, giving you a more accurate test environment. Mink comes with phpunit,behat and Symfony2 support out of the box.

Faker

Faker is a PHP library that gives you the illusion of data, whether you need to boot your database, create nice XML documents, fill in your persistent stress tests, or anonymously obtain data from production services, Faker can be implemented.

PHP Collection

This library adds a basic set of PHP. A collection can be seen as a more specialized array of guarantees for some of these contracts.

PHP Error

PHP error is an open source PHP library for a better solution to the development process that typically faces standard PHP errors. It is tightly integrated into any PHP environment (for all cases, only in the development environment, only in certain projects, etc.), and with syntax highlighting errors.

PHP Markdown

This is a library package that includes PHP's price-reduction parser and its brother PHP's reduced-price additional features. The price reduction is a text-to-HTML conversion tool for Web writers. The price reduction allows you to use easy-to-read, easy-to-write plain text formatting, and then convert it to a structure-efficient XHTML (or HTML).


Excuse me. php, PHP comes with the extension and class library is a thing?

1. Generally speaking, PHP's class library is written in PHP language, so it is generally used include/require import.

2. The import of PHP extension library is generally imported in Php.ihi, for example, GD2 library loading:

[PHP_GD2]
Extension=php_gd2.dll

The official PHP extension class library is pear and pecl, and you can search for relevant information.

How PHP Customizes class libraries

Write all the functions you want to use into a library, which is a special file, and then call it when you want to use it.

http://www.bkjia.com/PHPjc/887351.html www.bkjia.com true http://www.bkjia.com/PHPjc/887351.html techarticle recommended 25 PHP Very useful class library, 25 PHP non-class library Snappy Snappy is PHP5 used to generate thumbnails, snapshots, pdf,url or HTML pages. It uses the excellent WebKit-based Wkht ...

  • 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.