PHPnews.io

Overview for 'mwop'

TailwindCSS Tips

Written by Matthew Weier o'Phinney / Original link on Apr. 26, 2022

I've been dabbling in CSS my entire career. In the early days, it was relatively simple, as our browsers were fairly limited. But over the years, CSS has become more and more capable, allowing styles to target only tags with specific tag attributes, only apply at specific screen sizes, and even per…





Caddy as a Secure Reverse Proxy

Written by Matthew Weier o'Phinney / Original link on Dec. 6, 2021

I've been using Caddy as a front-end reverse proxy for several years now, on the advice of Marco Pivetta. Somewhere along the line version 2 was released, and I updated at some point, but evidently didn't quite understand some of its configuration options, particularly around HSTS support and provi…


Tinker-like REPL for Mezzio

Written by Matthew Weier o'Phinney / Original link on Mar. 31, 2021

Today in the Laminas Slack, somebody asked if there was an equivalent to Laravel's Tinker REPL. The short answer is "no", but I had a suggestion for them. PHP REPL The first part of my answer to the question was suggesting they use the PHP REPL. PHP has had a REPL since version 5.1.0, which you can…