netbrothers-gmbh/nbcsb-bundle
NetBrothers Content Security Bundle (NBCSB) adds Content Security Policy support to Symfony apps. Configure CSP directives, nonces, and reporting from bundle configuration to restrict allowed content sources and improve protection against XSS and injection attacks.
This is an initial assessment based only on the v3.0.0 release notes; package source, docs, and prior assessment were not provided. The release is best treated as a platform-compatibility gate rather than a feature release.
>=7 <8 in composer.json is a hard runtime boundary. It aligns the package with Symfony 7-era applications, which in the Laravel ecosystem generally means Laravel 11+ and PHP 8.2+. It does not fit Laravel 10/Symfony 6.4 applications without a framework upgrade..gitignore additions are packaging/repo hygiene and have no runtime or API impact.composer.lock is shared across services, or where teams attempt to bypass platform requirements. Release notes are thin: they do not confirm Laravel support matrix, API changes, deprecations, or migration steps.TPM recommendation: Treat v3.0.0 as adoptable only after confirming the Laravel/Symfony/PHP support matrix. Do not schedule it as a routine dependency bump; schedule it as part of a framework modernization or verify that the product is already on a compatible stack.
composer show, composer why, and CI dependency checks. Confirm whether the package is direct or transitive. Upgrade PHP and Laravel/Symfony first in a branch, then update the package, run the full test suite, and deploy to staging/canary before production. Keep a lockfile-based rollback to v2.x.laravel/framework or illuminate/* constraints, service-provider auto-discovery, config/migration publishing, and any public APIs the product calls. The .gitignore change needs no integration work..gitignore change. Legacy consumers pinned to v2 need an explicit support and security posture.How can I help you explore Laravel packages today?