Joel Clermont
@jclermont@phpc.social
Organizer of Milwaukee PHP. Co-host of No Compromises #podcast. Helping #PHP and #Laravel developers level up their skills.
- Podcast
- https://show.nocompromises.io
- Blog
- https://joelclermont.com
- Training
- https://masteringlaravel.io
- Need Help?
- https://nocompromises.io
Recent public posts
- Ever been tempted to make a property public just so a test can assert on it? Today's tip shares a rule we follow on every project, and the trick that lets you k...
- Ever mock a facade and have your macro mysteriously disappear? Today's tip shows a technique for testing macros you've added to classes you don't own. #php #lar...
- Would you let an AI agent run commands on your production server? In this week's podcast, Aaron and I explain why that's just as reckless as FTPing code straigh...
- In today's video, learn how to keep dev tooling out of your production Docker image by giving each Dockerfile its own ignore file, plus a gotcha in how Docker d...
- In Laravel you reach for Storage::fake() to keep tests from writing real files. But what about code that uses raw fopen or fwrite? Here is the tool for that. #p...
- If you isolate a Valet site to a specific PHP version, your Composer scripts might still run on the system default. One small prefix fixes it. #php #laravel htt...
- A public property in Livewire can be edited from the browser, even one you never put in a form. There's a one-line attribute that stops it, and I keep forgettin...
- I usually push back on pulling code into a method that's only called once. But my service providers are full of them, and I have no problem with it. Here's the ...
- In today's video, stop scrolling through giant test classes and learn the one keystroke that turns any file into a scannable, clickable outline in PHPStorm. #ph...
- Extracting a long method into smaller ones can make it shorter without making it any easier to read. Sometimes the mess was fine. #php #laravel https://masterin...
- Ever stare right at an error message and still miss the answer? A single leading slash cost me 15 minutes of debugging with the Vite asset helper. #php #laravel...
- Formatting numbers to match a style guide can be where we tend to make our own solution. But, Laravel has had a helper for it the whole time. #php #laravel http...
- Does a human partner still matter when AI seems to have all the answers? In this week's podcast, Aaron and I share why working through problems with a real pers...
- In today's video, watch a passing Artisan command test fail after one tiny refactor, and learn why the command never actually ran. #php #laravel https://masteri...
- A 502 error, an empty laravel.log, and code that worked fine locally. The culprit was a PHP extension I never installed, colliding with a Laravel helper. #php #...
- Sometimes it only takes a few hours to fix an issue that has nagged a team for years. But someone has to decide it's worth doing. Here's my advice for handling ...
- We shipped a UI bug that only existed in production. Every developer machine looked perfect, and the fix didn't touch a single line of code. Here's how the orde...
- When Aaron and I open a pull request, we assign a reviewer and ourselves. That second part is obvious to us, but some teams resist it. Here is why we think it's...
- Model strictness checks are great for catching bugs and security issues, but you don't want them blowing up in a user's face. Here is a safer way to enable them...
- Comments tend to read as settled fact once they land in the codebase. Here is a small habit I use to flag the ones that are really just my best guess. #php #lar...