trending.jpg

How to Create A Trending Articles List using Google Analytics with Laravel

In this article, I will guide you about building top trending articles using Google Analytics API with Laravel framework. Recently I built this feature for my own blog, if you would like to view it open up the home page of my blog and see around the right sidebar. I have used the po...
Read more...
rss.png

Publishing Facebook Instant Articles via RSS Feed with Laravel

If you want to publish your web articles to Facebook Instant Articles platform and looking for the best way to export your quality articles from your blog to Instant Articles platform without worrying much about configurations, then you're at the right place now. In this post, I will...
Read more...

Define Your Google Preferred Domain with Laravel Middleware

This is my second blog post about setting up Google preferred domain from code context for your Laravel application. In my previous post, I have explained a really simple way of doing it with almost no configuration available to set up the preferred version of your choice. In this pos...
Read more...

Easily Switch PHP versions on Linux with Script

If you are looking for best way to switch multiple PHP versions on your machine, you're at the right place to get the best solution for your requirement. Let's say on your working computer you have installed multiple PHP versions (for eg: PHP 7.0 and PHP 7.2). As a default version, t...
Read more...

PayPal Instant Payment Notification (IPN) Handling with Laravel

This is a follow-up article from my previous post A guide to Integrate Omnipay PayPal with Laravel, at the end of that article I have mentioned that I will be writing about handling PayPal Instant Payment Notification (IPN) with Laravel. So finally it is published, so you can go throu...
Read more...

Disabling CSRF on Specific Route via Middleware

I was lately working with PayPal API on my Laravel project. In the process of coding and testing for Instant Payment Notification (IPN) part, I got an issue with csrf token. The issue was mainly with the POST request to the application via external service, so it threw TokenMismatchEx...
Read more...

Eloquent: Query Builder Compare Two Date Columns

I regularly share my knowledge about Laravel, Web Development tips, and tutorials via my blog. Now, here in this article, I am going to cover about comparing two different timestamp columns to filter out records from the database. Recently I was working on filtering some API ac...
Read more...

Adding Custom Header with Response in Laravel

I was working out for the best way to add some custom header to my application for most of the view responses, I wanted the header to be "Cache-Control: no-cache, must-revalidate". I came up with the best solution with a laravel middleware and decided to share the code snippets...
Read more...

Automatically Posting to Facebook Page via Laravel Notifications

 A powerful feature that came out with Laravel v5.3 was Laravel Notifications. There are several numbers of notification channels created by the contributors in a github organization called laravel-notification-channels. The notifications feature is fully available with lat...
Read more...

Generating Never Expiring Facebook Page Access Token

I’ve been working on the new feature for my own blog to auto-posting the posts from the website to the facebook page via Facebook Graph API. My logic was just to make the process automated when I publish new blog post on my website end. Below, I will cover the processes that ar...
Read more...