Purge Cloudflare Cache

CloudFlare is a great service, but their rather agressive caching can be confusing during development. However there is a way to purge the cache thru their API. To set this...

Laravel Dusk and iframes

Testing payments has been a big headache for me lately. Yesterday I found this little nugget that made it possible to test the entire flow from A-Z. This is how...

OmniPay Stripe Payment Intent Example

This weekend I was up late in panic fixing support for Secure Customer Authentication. The Omnipay library is excellent, but some of the documentation is lacking a full example on...

Where is my.cnf? Use locate and mdfind

If you like me have trouble remebering the path to config files, locate is a wonderful little utility. The locate command is a standard and widely-used tool on most...

Override PHP Composer requirements

This is an interesting problem I recently encountered while developing a new package, how to override a requirement? If Package A requires a stable version of a library Package B,...