The Interesting Case Of Laravel Silent Crash
So I worked on this website at work, where users need to enter a card key they purchased in order to login. In the admin dashboard I needed to add a page where the admin can view each card in the system, and every user that had used each card.
The way I initially implemented this usecase is by paginating the Cards and eager loading the users associated with each card. It was easy, simple and I managed to get all the data I need in one trip to the Database. It worked fine on my local machine. I can’t imagine a card being used by more than 20,50,100 users, so eager loading the users seemed to make sense…….
Read More »The Interesting Case Of Laravel Silent Crash