When using Cloudflare and Laravel we are unable to use request()->ip() in Laravel because of Cloudflare returns it's own IP in $_SERVER['REMOTE_ADDR']. By defau...
Fat Controller is a term that used when a Controller becomes very large and contains hundreds of lines of code. Best practice is to avoid such a situation or re...
PHP was originally created in 1995, but it is now generally understood to mean “PHP: Hypertext Preprocessor.” Originally it was designed to create dynamic or in...
''; }Step 2. groupBy with Raw ConditionNext, what if you want to group by birth year?
Here’s the visual result for my dummy seeded data:Step 3. groupBy Ra...
Componentization is a great way to build extensible and reliable software systems. It allows us to build large systems that are composed of decoupled, independe...
Once your Laravel Translation package has been built, it is time for you to release it and make it available to the world. In this article, we will describe the...
There are a lot of influencers that you need to follow in 2019 who have worked a lot in PHP community and have gained a lot of fame with their remarkable effort...
PS: Im not super familiar with auto-wiring feature of Symfony DI and not really sure if i really need to have this customised ControllerResolver and BaseControl...
First of all, I want to make sure that you know about my intentions. I am not trying to rant about Laravel or why other frameworks might be better. This article...
PHP is a server side scripting language written in C, originally written by Rasmus Lerdorf. The original purpose was for Lerdorf to monitor the number of viewer...
so today, I'm going to show you some of Laravel open source project that you can use for your upcoming project Akaunting , it a Free and Online accounting softw...
Laravel validation system is great, including auto-populating error messages.
But what if you want to override the names of the :attribute parameter values?
Typ...
Amazon is my outlet for retail therapy where I will drown myself in product research until I am fully satisfied I have selected the holy grail while it’s on sal...
If you have ever used a PHP web development framework, you may have noticed that they all keep an internal representation of Http request and response. In other...
Laravel is the most used PHP frameworks in the market and probably one of the most common back-end setup in the modern web due to it’s stability (latest major v...