Latest Laravel/PHP Articles

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


While developing the web application you are often faced a situation where you need to reuse the form validations. First, same form used in 2 different pages. F...
In this example, we are going to create a contacts table inside our project Mysql database using Laravel migrations and we will store and fetch data from it usi...
When the Laravel 5 version was released, the last implementation of command bus also got implemented. If you want to do a command, you have to call it somewhere...
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
For a recent project, I had to generate JSON files in a sensible, structured, and extensible way. In the course of doing so, I developed a neat bit of syntactic...
Reduce, Reuse, and Recycle! You probably already recognize Laravel as a flagship framework in the modern developer ecosystem. One of the best macro-features tha...
Logging are useful when auditing your system applications; it can help us identify weaknesses, vulnerabilities, and account our system activities which enables...
PHP has never truly had a uniform standard for writing code. Everyone follows their own naming conventions and coding style guidelines. Coding Standards are an...
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
Lumen is a micro framework and it is a light version of Laravel itself, it keeps only what is essential like routing, error handling, logging, caching, validati...
Certified Laravel | PHP | Magento Developer.
One of the major issue while handling requests in MVC controllers is to take care of undefined value or undefined attributes in the request payload. Eloquent fr...
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
In this example, we have to add an extra six fields in the “users” table. Now time to add extra fields in the migration file. Open the migration file and add th...
Before we can start on this exercise and to save time.I consider that we already created an existing Laravel-Project and should have a basic Knowledge of the fr...
So my story begins by trying to fix a bug, while doing this i noticed the code needed to be reshape a bit, so i will describe my journey. Why this exist? why we...
One of the challenges we face when we have a lot of projects being worked on at the same time is managing composer update which leaves us the question; do we re...