Latest Articles

Guzzle http client GET and POST request example in Laravel 5

today we will learn how to send request to server using Guzzle http client in laravel 5 application. As we know sometimes we require to use api of other website like facebook, instagram, wordpress etc, and we have to use their api then we have to two options curl and another is http guzzle. So i think laravel provide Guzzle http client composer package and it's amazing. we simply use that package .....

Posted On July 31, 2017

Laravel 5 Chart example using Charts Package

It's always good fit for understand if we use some graphical way display our progress report using chart. So if you are working with laravel 5 framework then you can use chart very simple way and best layout. There are several js library available for chart like chartjs, highcharts, google, material, chartist, fusioncharts, morris, plottablejs etc. in this example we will just use one laravel "Con.....

Posted On July 29, 2017

How to compress PNG image using pngquant in PHP?

Today, In this tutorial, we will learn how to reduce png image size while uploading in core PHP. You can simply use this script in other PHP framework like Laravel, codeigniter, cake PHP etc. compress file size is very important for our server. If you have 4MB image then you have take large memory space to store and another thing it take time to load when you display on web page or application. B.....

Posted On July 28, 2017

Laravel 5 datatables example from scratch

Data Tables is a plug-in for the jQuery Javascript library. DataTables provide us flexibility to search, list, sort and pagination using jquery. We can also simply use ajax with datatables too. So in this tutorial, i will tell you how to use datatables in laravel 5 application, after this you can simply use with all version like 5.1 to upcomming laravel 5.5 So, in this example i will use yajra/la.....

Posted On July 26, 2017

Laravel - chmod(storage/oauth-private.key): Operation failed: Operation not permitted

It's always make us mud less when we got strange issue or error. Same thing here describe. i got following error when i did work with git repository. I pushed my code and my friend pull that code and when he run he got following error: "chmod(storage/oauth-private.key): Operation failed: Operation not permitted" I google and try to run bellow command: <pre> php artisan passport:install </pre> Bu.....

Posted On July 25, 2017