Testing Packages on Composer with Specific Commit Before Creating New Tag

Composer, which is a modern developer tool for dependency management for PHP. It is used to declare the dependencies your project depends on it and it manages them very well for you. It is incredibly flexible to manage the dependencies in various stage of your project. Let's suppose...
Read more...
Laravel 5.6 Login, Register

Laravel 5.6 Login, Register, Activation with Username or Email Support

This is another interesting blog post about Laravel 5.6 login, register with username or email support. I've already published two articles about customizing the laravel authentication process. In this article, I will be helping you to build following things below, with Laravel v...
Read more...
PayPal Integration with PHP

PayPal Integration – Omnipay PayPal PHP Library v3.0 with Laravel

This is my third blog post about PayPal Integration with Omnipay payment processing library. In this article, I will mainly cover about the recent release v3.0, which is finally available for developers around the world. I'm sure many developers around the world were eagerly waiting f...
Read more...

PSR-2 Coding Standard – Automatically Format in Sublime Text

It is always really nice when a code editor allows fixing your code to PSR2 coding standard by just hitting a single command. At my work, we heavily use Laravel framework, which follows the PSR-2 coding standard. So, every day we create new packages, add new classes we firs...
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...

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