
Local and production should match even for Laravel tools
From No Compromises by Joel Clermont and Aaron Saray
April 11, 2026 · 13 min · Episode 150
About this episode
The episode discusses the importance of matching local and production environments in Laravel tools to ensure security confidence.
Ever installed a Laravel package locally and immediately accessed it, only to wonder later whether your access controls are actually working in production? In the latest episode of the No Compromises podcast, we discuss why tools like Telescope and Horizon behave differently in local environments versus production, and why that inconsistency is a problem worth solving. We make the case that developer convenience should never come at the cost of security confidence. If your gate logic cannot be exercised locally, you cannot truly trust it is protecting your production environment. We also dig into how Aaron worked around the issue by overriding the package's service provider logic, and why Laravel has since made this easier to handle cleanly. (00:00) - Why local and production environments should match (01:42) - How Telescope's gate logic behaves differently locally (03:01) - The risk of untestable access control logic (07:53) - How Aaron overrode the service provider to fix it (10:23) - Silly bit (00:00) Why local and production environments should match (01:42) How Telescope's gate logic behaves differently locally (03:01) The risk of untestable access control logic (07:53) How…
People in this episode
Hosts: Aaron Saray, Joel Clermont
Topics covered
- Laravel tools
- local vs production environments
- access control
- developer convenience
- security confidence
Keywords
- Laravel
- Telescope
- Horizon
- access control
- development
- security
- local environment
- production environment
Mentioned in this episode
Products: Laravel, Telescope, Horizon
More episodes of No Compromises
- How much logic is too much logic in a PHP enum · June 6, 2026 · 13 min
- Your codebase is not a museum for old code · May 23, 2026 · 14 min
- Do you actually own the code you ship? · May 9, 2026 · 15 min
- Do you actually need a multi-tenancy package? · April 25, 2026 · 14 min
- When weird code needs to explain itself · March 28, 2026 · 11 min
- Are you testing your app or just the framework? · March 14, 2026 · 13 min
Explore listener stats, chart rankings, contacts and more on the No Compromises podcast page.