Latest Laravel/PHP Articles

Latest Laravel/PHP Articles curated daily from around the web.


I often learn from my mistakes. And I prefer to learn by doing things. Today, I tried to group the rows of the result by a value of one of the columns. Then it...
Today, We want to share with you Laravel 6 Eloquent Has With and WhereHas.In this post we will show you laravel nested relationships, hear for laravel wherehas...
Since Laravel 5.5, there is an easy way to use React in your Laravel Application. By default, a fresh Laravel application comes with Vue JavaScript framework. T...
Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
If we dig deeper into the core code of Laravel, we can see various types that are not that common, for example, iterable and callable. Now let’s take a look at...
After writing about how preloading works, it's time to measure its impact in practice. Before diving into results, we need to make sure we're all on the same pa...
Today I will try to investigate and illuminate (pun intended) me and a few curious people how much overhead does Laravel framework cause on the website performa...
GitHub recently announced a new release of GitHub Actions which allows you to automate workflows in response to events that occur in your repos. One key new fea...
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
Recently I discovered that the default logout functionality in Laravel actually logs the user out from all their devices. This is because upon logout it cycles...
There comes a scenario in your app where there are some fields in your form that are dependent on an another field’s state. For instance, imagine a form with an...
You probably heard the news a few months ago that the JIT compiler will be added to PHP 8. If you haven’t heard, it is this poll. 90% of contributors who voted...
I’ve had trouble knowing what to put in my migrations’ up() and down() functions. The Laravel Docs include a lot of information but I wanted a quick reference g...
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
There are many languages out there that follow different programming paradigms. Some of them strictly force you to follow its paradigm and others give you more...
I'd like to get some beta testers on Laravel Airlock... I have put up initial documentation here:
This is an article on how to solve passing data arrays throughout your applications. I’ll start off with an example of what I’m trying to solve here.This will w...
Phone number stored in database doesn’t have a proper format. This won’t be able to find number because the spaces, +, -, () won’t be escaped.