Latest Laravel/PHP Articles

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


Laravel’s global mix helper function can be replaced during testing in Laravel 5.8. Here is why, and how, you might want to do this.
Laravel collections have become an essential part of my codebases and I couldn’t imagine working without them. I have found giving collections the voice of the...
One of the most widely used PHP Framework is Laravel, and choosing it for your business website development indeed serves you great benefits. Laravel produces b...
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
One of the most popular ways for building an application using Laravel is the Repository Pattern and use of this pattern has a lots of benefits and most of the...
Laravel Dusk is an expressive, easy-to-use, powerful browser automation and testing tool for Laravel. With Dusk you can programmatically test javascript driven...
As my current project grew, so did my models. In a hunt for thinner models, I realised it was possible to extract model scopes to a dedicated query builder clas...
In this PHP tutorial understand 5 SOLID principles of software engineering deeply with code examples
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Short closures, also called arrow functions, are available in PHP 7.4
A reusable modal can be also used dynamically. It was not easy to make it work dynamically since most of the solutions I’ve found are for single use or hard cod...
Today, after around a month of hacking, I’m pleased to announce my attempt at addressing PHP’s often-criticised weak type system. Some things you may want to kn...
Laravel can bulk insertion using eloquent ORM. Insertion is the very basic feature in all project. When we need to do bulk insertion there is a lot of ways are...
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
As a kind of follow up of my article about how the Authentication works in Laravel, here I will write about the moving parts of the authentication mechanism, li...
Following this article that installs xdebug on PHP7.3 with homebrew, and troubleshooting some problems I had. Navigate to /usr/local/Cellar/php/7.x.x/ removing...
Trying new things it has always been an hobby for me, and today I was looking for new ways to create PHP applications, and in particular how to deal with asynch...
in the third and last chapter published so far, we focused on element optimization, and we did it by reading about filtering functions. And you will do it in th...