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
- Moving to a new database server is a great time to clean up warnings hiding in your schema. Let's see how to find them and fix them before the import. #php #lar...
- Pinning your GitHub Actions to a commit hash is more secure, but who wants to update all those hashes by hand? Let's look at how to automate it. #php #laravel h...
- Importing a big database dump can leave you staring at a silent terminal, wondering if anything is happening. Let's look at a small tool that fixes that. #php #...
- Once you pin a GitHub Action to a specific commit, how do you find out if that version has a security problem? Let's look at a tool that can tell you. #php #lar...
- Aaron and I disagreed about how to reference third-party actions in our GitHub workflows. One side has a real-world attack to point at. Let's look at both argum...
- Not every factory field requires a named state. Here's the simple rule I use to decide which ones do, and why I still add a state for the default value. #php #l...
- Here's a fun little exercise to see if your code could be improved. Read it out loud. Let's look at an example that demonstrates it. #php #laravel https://maste...
- Ever notice that some Docker containers stop instantly while others hang for ten seconds? I'll explain why and show how to fix it. #php #laravel https://masteri...
- Laravel doesn't require a primary key on a pivot table, and the relationship works fine without one. Here's why I add one anyway, and the replication problem it...
- After adding Compose watch to a project, every rebuild paused for ten seconds before the new container came up. If your restarts drag like that, here's a workar...
- When another site loads your built JS assets, Laravel never sees the request, so its CORS config can't help. Here's how to add the headers in Nginx for just tho...
- I joined a project where the Vue front end was built into the Docker image with no bind mount, so every change meant a manual rebuild. One addition to the compo...
- Ever handed off a feature request with barely any detail and expected the developer to just figure it out? In this week's podcast, Aaron and I make the case for...
- If another site loads a script built by your Laravel app, switching to Vite can quietly break it. Here's the CORS gotcha we hit and how we fixed it. #php #larav...
- Laravel serializes a model's loaded relationships when you queue a job, but not when you queue a collection of models. Here's the right way to load relationship...
- Sometimes multiple controller actions need the same guard logic, but it doesn't belong in a policy or form request. Here's a clean way to share redirect logic w...
- Pennant defaults to the database driver, but not every feature flag needs a table row and a query. Today's tip shows when the array driver is the lighter choice...
- Converting an Eloquent casts property to the newer casts method looks like a pure style choice for which syntax you prefer, but here's a real-world example wher...
- Dropping an index in a down migration usually means guessing at its name. Today's tip shows a cleaner way that lets Laravel figure it out for you. #php #laravel...
- Laravel redirects back to the previous page when validation fails, but what happens when there is no sensible previous page? Today's tip covers a redirect loop ...