10 awesome PHP libraries you should know about (Part 1)

Ngoc Huynh

Initially released in 1995, the PHP language is now of legal drinking age, but this doesn’t stop it from still being one of the most popular languages out there, and the first choice of many back-end developers. Here are our picks for the 10 most useful and interesting open-source PHP libraries that you should check out

1. PChart

www.pchart.net/download

PChart is an impressive PHP library that helps generate text data in the form of a visual chart. The data can be displayed in the form of bar charts, pie charts, and other formats. The PHP script generates charts and graphs using SQL queries that help in creating amazing charts and graphs..

2. PHP-ML

https://github.com/php-ai/php-ml

An interesting library for experimenting with Machine Learning, PHP-ML gives you an easy to use API for training your bot and making it do predictions based on input data. It offers a variety of different algorithms for pattern recognition and complex statistics calculations.

3. Opauth

https://github.com/opauth/opauth

Library for enabling users to authenticate themselves via their account in social networks or other services. Of course all the big names are available: Google, Facebook, Twitter, Github, Instagram, LinkedIn.

Opauth is supported by many PHP frameworks (vanilla (plain) PHP applications, CakePHP, CodeIgniter, FuelPHP, Laravel, PrestaShop…) so it can be easily integrated in most PHP apps.

4. PHPMailer

https://github.com/PHPMailer/PHPMailer

No PHP library collection is complete without PHPMailer. This project is backed by a huge community and is implemented in popular systems such as WordPress and Drupal, making it the safest choice for sending emails in PHP. It has SMTP support, can do HTML-based emails, and much more.

5. ImageWorkshop

http://phpimageworkshop.com/

ImageWorkshop is an Open Source library that lets you manipulate images with layers. With it you can resize, crop, make thumbnails, add watermarks and more. Here is an example:

ImageWorkshop is developed to make easy the most common cases for manipulating images in PHP. If you need something more powerful though, you should look at the Imagine library.

Share the news now

Source : https://techtalk.vn