Browse category Blog
Are You Down With CSP?
CSP is the Content Security Policy for your website’s pages. Think of it as a foreman on a construction site, checking all the material loads coming to the gate, verifying that they meet the requirements and sources defined by you, the architect. Accepting pine paneling for oak paneling in the specs would be disastrous for […]
PHP Fibers: The Game-Changer That Makes Async Programming Feel Like Magic
Picture this: You’re sitting in front of your computer, watching your PHP application crawl through a list of RSS feeds one by one. Each request takes half a second, and with twenty feeds to process, you’re looking at ten seconds of your users staring at loading spinners. You’ve heard about async programming, but every time […]
How PHP Really Reads Your Code (Abstract Syntax Tree (AST))
Do you ever wonder how PHP parses your code? Wonder no longer because in this video, Scott Keck-Warren from the PHP Architect Channel shows you how to inspect your code using the AST with the PHP-Parser library. How PHP Really Reads Your Code (Using ASTs) When we pass our source code to the php […]
Atomic Commits Explained: Stop Writing Useless Git Messages
This might be an unpopular option, but one of the parts I enjoy most about being a developer is having to debug problems. It’s always interesting because you get to be a “detective in a crime movie where you are also the murderer” to quote Filipe Fortes. Once you track down the problem you might […]
Working With Value Objects in Laravel 12.x
If you’re like me, you’re always on the lookout for tools and techniques that can reduce the chances that your code has bugs and make it easier to maintain. Value objects are one of my go-to techniques for making my code easier to maintain, and you can use some of the tools built into Laravel to […]
Super Charging Development with DocBlock
At its core, PHP provides many ways to make your code extremely easy to write and maintain, but it also provides many ways to shoot yourself in the foot. Over the 7.x and 8.x releases, the core developers have added features like return types and parameter types that make it easy for our IDEs and […]
Automated Backups 101 with rsync
In this episode, Scott discusses why backups are important and uses #rsync to create an automated backup using #cron. PHP Tek is looking for sponsors! Contact see https://phptek.io/blog/elevate-your-brand-sponsorship-phptek-2025 for more information. Links: HoneyBadger.io – https://HoneyBadger.io Our Discord – https://discord.gg/aMTxunVx Scott’s Social Media: Bluesky – https://bsky.app/profile/scottkeckwarren.bsky.social LinkedIn – https://www.linkedin.com/in/scott-keck-warren-91689810/ Mastodon – https://phpc.social/@scottkeckwarren
This Week At PHP Architect: Optimizing A Query
This week, a client complained about a long-running query, and we needed to fix it. While I can’t divulge the actual query, I can give an idea of its nastiness, which we inherited when we took over the project. The query itself doesn’t matter, so don’t overanalyze it. Depending on the id’s used, this query […]
Markdown for Developers
Markdown for Developers One of my guiding principles as a developer is that our ability to communicate is one of the most important tools we developers have in our toolbox. There are lots of ways we communicate with others in code, documentation, and blog posts. What we need is a way to write our documentation […]
Git New
Git. It’s the lifeblood of modern software development. After several years of navigating through code repositories and juggling various project versions, it’s easy for seasoned developers to settle into a comfortable routine with familiar tools. Git, the ubiquitous version control system, is no exception to this rule. It’s a tool that many of us use […]


