PHPMemo

Post for: #Laravel (6 Posts)

Demystifying Laravel's Higher Order Messaging

February 2, 2025 Enxas
Design Patterns Laravel PHP

I was browsing some Laravel project codebases when I came across code that looked like this: $participants = collect([...]); $team2Participants = $participants->filter->belongsToTeam(2); $totalScore = $team2Participants->sum->score;…

Read more →

How to Insert 1 Million Records Lightning-Fast

December 12, 2024 Enxas
Laravel MySQL PHP

When working with large datasets, inserting a massive number of records into a database can become painfully slow. Fortunately, MySQL provides an optimized solution: the…

Read more →

Identifying and Logging Duplicate Queries in Laravel Requests

December 10, 2024 Enxas
Debug Laravel PHP

When developing your Laravel application, you want to avoid unnecessarily making duplicate requests for performance reasons. However, it can be challenging to identify how many…

Read more →

Lesser Known Design Patterns

December 7, 2024 Enxas
Design Patterns Laravel PHP

There are numerous lesser-known patterns that can significantly enhance your system design. This blog post will delve into some of them. The Laravel Pipeline pattern…

Read more →

Troubleshooting PHP JIT: A Definitive Guide to Enabling Performance Boost When Configuration Fails

November 30, 2024 Enxas
Docker JIT Laravel PHP

Many posts online suggest that enabling PHP JIT is as simple as adding some values to the php.ini file, but that's not exactly the case.

Read more →

Setting up Laravel Dusk for Laravel Sail Project with Decoupled Vue Frontend on Windows

November 17, 2024 Enxas
Docker Dusk Laravel Testing Vue WSL

Requirements Laravel Sail project Vue project with Vite WSL Installation Steps 1. In your docker-compose.yml file, add these ports to the "selenium" section: ports: -…

Read more →

© 2024 PHPMemo. Find me on GitHub.