Laravel’s parallel testing on multiple DB connections
In this blog post, I’m going to tackle the problem of running parallel tests on a Laravel codebase using multiple database connections. This solution addresses a MariaDB/MySQL setup.
Personal thoughts on technical learnings and life in Tokyo.
In this blog post, I’m going to tackle the problem of running parallel tests on a Laravel codebase using multiple database connections. This solution addresses a MariaDB/MySQL setup.
I had a large untested side project at the beginning of 2022 which I wanted to start getting under automated tests. My target for this year wasn’t to get it to complete test coverage which I thought may be too ambitious, but just to write 1,000 PHPUnit tests before 2023.
Learnings from migrating a fulltext index into a Meilisearch instance with Laravel Scout.
Learned something about how `dispatch_sync()` works.
This week’s pet project has been moving an awful fulltext index on a 19 million row table into Meilisearch with Laravel Scout.
For a recent project, I had to figure out how to support a private broadcasting Pusher channel that does not require user authentication. However, Laravel does not permit non-authenticated users to access private channels.