opctim/symfony-csp-bundle
A Symfony bundle that simplifies adding Content-Security-Policy headers to responses. Configure directives, generate nonces and hashes for inline scripts/styles, and collect violation reports to help harden your app against XSS and other injection attacks.
composer require vendor/package:^2.0. Use --with-all-dependencies if Composer reports conflicts from Symfony/Laravel constraints.README.md, UPGRADE.md/CHANGELOG.md, the package composer.json, the service provider, and any publishable config file. These reveal required bindings, config keys, and extension points faster than browsing source.config/ and environment-specific values in .env. After changing env values, run php artisan config:clear locally and ensure deployment scripts rebuild config cache.handle() method or inject it via the container; do not serialize the service itself. Pass IDs or scalar payloads between jobs.EventServiceProvider or via discovery.composer update vendor/package --with-all-dependencies, then run the full test suite, Larastan/PHPStan, and a smoke test of the main package workflow.composer why symfony/* and composer show symfony/* before upgrading; older Laravel applications may still be locked to Symfony 5.4 or early 6.x components.composer update --with-all-dependencies rather than editing only the package constraint. Major Symfony changes often require coordinated updates of related components.composer show vendor/package, php artisan about, Telescope logs, and a minimal reproduction test. Avoid debugging through the full application when a single service-level test can isolate the package.composer.lock for applications and test both --prefer-lowest and --prefer-stable in CI. This catches constraint mistakes introduced by the new Symfony support range.How can I help you explore Laravel packages today?