Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Symfony Fake 404 Bundle

Symfony Fake 404 Bundle Laravel Package

tourze/symfony-fake-404-bundle

A Symfony bundle for serving configurable fake 404 responses. Mask routes you would rather not advertise, mislead automated scanners, or exercise not-found handling in tests, all without modifying your application's real controllers or routing.

View on GitHub
Deep Wiki
Context7

tourze/symfony-fake-404-bundle disguises restricted or sensitive routes by returning a fake 404 Not Found instead of 401/403, hiding protected endpoints from unauthorised users and scanners.

Rather than revealing that a resource exists but is off-limits, the bundle intercepts configured requests and serves a realistic not-found response. It hooks into Symfony's request lifecycle, so you can target specific paths, controllers, or firewalls without changing existing controllers.

  • Return 404 instead of 401/403 for protected routes
  • Target specific paths, patterns, or firewalls
  • Serve a realistic not-found response to avoid leaks
  • No controller changes — hooks into Symfony's lifecycle
  • Simple configuration-based setup
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core