PHP Archive

[Laravel] Compress and Upload Images to S3

Compressing images is easy way to decrease the page loading time and increase performance. Tinify has the better option to compress the images in lossless way to not to lose the quality of the image. Here we gonna use Tinify REST api in laravel to compress the images and directly upload the images to S3 using YsTinifyLaravel package.

How to Install LEMP stack (Linux, Nginx, MySQL, PHP) for Ubuntu 16.04

Here we will go through list of steps to install LEMP for Ubunutu 16.04 in a easy way. After logging into the server using SSH, Step 1: Have to update the default packages. [crayon-61738e0813ae5871554506/] Step 2: Install nginx [crayon-61738e0813af4496146545/] After the installing nginx you can check start the server and know the status for the