Latest Laravel/PHP Articles

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


When developing your next project, sometimes it’s better to just start using the Laravel Built-in Server by calling php artisan serve.
Does that send shivers of high-level, computer science theory dread through your body? Another one of those “I should dig into that someday” feelings?
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...
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 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...
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...
Digital Ocean Providing developers and businesses a reliable, easy-to-use cloud computing platform of virtual servers (Droplets), object storage ( Spaces), and more.
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...
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...
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
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...
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...