phpfour.hashnode.devNew website coming in 2023!Hey 👋🏻 Just a heads up that I will be revamping the site and will launch a new version by 2023! I will be restarting my blogging and will be covering topics on PHP / Laravel. Topics would include: Laravel Core Laravel Livewire Laravel Queues El...Nov 25, 2022·1 min read
phpfour.hashnode.devSymfony: Step Into EnterpriseI presented this talk in the Eskimo Tech Adda meetup a few months ago.Nov 30, 2020·1 min read
phpfour.hashnode.devStructuring Laravel Model with Custom Accessor & MutatorThis is NOT a recommended way to work with Laravel. At the time of writing this, strong typing and static analysis tools were not available – with their wide usage now, there is no need to use hacks like this anymore. In a few recent projects, we h...May 12, 2020·4 min read
phpfour.hashnode.devAuto-restart MariaDB when it diesI am running a small, low-memory VPS where MariaDB is frequently killed by the system due to lack of memory. Since I wanted to keep the budget fixed and didn’t have enough time to look under the hood to find the root cause, I opted in for running a c...Mar 24, 2018·1 min read
phpfour.hashnode.devjQuery noConflictIn a recent project, we had to load jQuery as a part of a chrome extension into an external page where the $ alias has already been used. We tried the classic solution: jQuery.noConflict(), which returns control of $ back to the other library. Howeve...Mar 10, 2018·1 min read