Tag: php
-
Dynamically Macro A Class To A Laravel Macroable Class
Laravel Macros I was recently working on a project where I wanted to make a classes functions available inside of the built in Laravel Str:: helper. Laravel Macros are the answer to this issue. However, I wanted to make adding additional methods an easy experience and needing to write and maintain a separate macro with…
-
Moving Back To WordPress From Hugo – Performance
I was a bit worried that in moving this blog from Hugo hosted on Render.com I would suffer a performance drop. The short answer is nope. I am using a linode $5 a month server with the litespeed web server and MySQL. The only caching tool I am using is the Litespeed WordPress addon. I…