Latest Laravel/PHP Articles

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


Namespaces essentially prevent class name or function name collision. Using an analogy: It is like when you have 2 files with the same name, your operating syst...
You get a Class does not exist exception sometimes when running projects. Let’s see such a case today. We are calling userTableSeeder.php from DatabaseSeeder.ph...
Here is a real simple guide to creating a Laravel/React app, and getting the page loaded in no time. Assumptions: You need to have a few things already installe...
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
Let me start by saying running a laravel Project using Windows 7 can be frustrated. The tables your migration will create will not be complete, and that will fr...
CORS stands for Cross-origin resource sharing. The concept is related to the same origin policy which all browsers implement. In a nutshell, this policy says th...
My last published article was about Laravel in production where we deployed to Heroku. Now we’ll proceed to add the database configuration for our Laravel app o...
It is very easy to create QR code in Laravel Voyager. Once you installed the Laravel framework and Voyager, you can edit the base controller of Voyager to enabl...
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
This is my second article about seeding in laravel . Finally we need to hit artisan commands to generates seed files for tables.
High load projects — marketplaces, social networks, tracking systems, search engines, etc. — imply hundreds of thousands user-generated requests. Simple system...
In PHP you have the option to use a function called “set_time_limit()”. The purpose of this function is to set your PHP script execution time to a certain set p...
On my last post about sending email notification using observer, I forgot to add its test when building it. Our team adopted TDD and although I am not a big fan...
Digital Ocean Providing developers and businesses a reliable, easy-to-use cloud computing platform of virtual servers (Droplets), object storage ( Spaces), and more.
Hi, i am new to Laravel and as of my knowledge i have tried to Create a basic laravel application with default Laravel’s Registration, Login/Logout. But interms...
When using Laravel Eloquent queries normally we use !$result to check if a retrieved result is empty or not, but what will we do if we need to check the count o...
Laravel Resource is one of the best features in Laravel. It makes it easy to modify the output of the result. If you’re using an API, you need to have a status...
Professionalism means going the extra mile in making a difference. Have you ever longed to change the default verification email but don’t know how? In this pos...