Latest Laravel/PHP Articles

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


I use PhpStorm for all my projects related to PHP for years now and I can’t imagine myself going back to another IDE. Period. The amount of features it provides...
Developer convenience is at the top of my list when it comes to any new feature and this new artisan test command certainly fits the bill. It provides the devel...
Route Model Binding is one of the coolest and most used features of Laravel. Laravel 7 comes with some welcomed changes which include the new key customization...
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
They say time flies when you’re having fun. I can’t believe I’m writing about my 8th week of coding bootcamp already! Week 8 was a continuation of PHP and Larav...
On a full-stack coding bootcamp, I’ve discovered that it’s a novelty to continue using the same technology the week after being introduced to it. The pace is ve...
Strongly-typed object-oriented code helps me tremendously during refactoring. When I realize I need to pass more information from one place to another, I usuall...
If you are familiar source code version controlling you may heard about GitLab. GitLab is a wonderful ecosystem for any software engineering project to track co...
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
This article assumes you have a basic understanding of the Symfony Framework (make a controller, entities, handle a form, constructor/method injection…), PHP7 a...
In Laravel we always encounter a situation where we need to update a migration table, like add new column, drop a column or update a column. And in order to do...
It’s often the case we want to create a model instance with default values that are added automatically. Let’s see how to append default values to Eloquent mode...
In a previous post, I covered the challenge with session data in a multi-server, load balancing environment when multiple instances of a web application could b...
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.
You surely know that Laravel offers a nice way to bind Eloquent Models to routes thanks to the UrlRoutable contract. Thanks to that, you can do things like this...

www.amitmerchant.com

Multiple constructors in PHP
Constructors are a really important part of the class-based object oriented programming. Through constuctors, a newly created objects initialize properties auto...
The modern web user expects to be informed of everything that happens within the application. You don’t want to be that one website that doesn’t even have the n...
Sometimes it's nice to have some convenience features that don't really add anything new but just make your developer experience better. With this new feature i...