elohim/laravel-security-check
Laravel security checker that scans your application for common vulnerabilities, misconfigurations, and risky dependencies, then reports actionable fixes so you can harden your app before deployment.
Architecture fit
require-dev package and whether its output becomes a build gate.APP_DEBUG, APP_KEY, session/cookie flags, TLS enforcement, exposed debug tooling). This is distinct from dependency CVE scanning (composer audit, roave/security-advisories, Snyk) and from broader opinionated analysers (Enlightn, Larastan custom rules). Confirm scope overlap before adopting — the value case collapses if Enlightn is already in the pipeline.Integration feasibility
composer require --dev, one artisan command, run in CI. No service, no credentials, no migration..env/config/*.php files statically, it runs anywhere. If it boots the framework and resolves config at runtime, it needs a valid APP_KEY, and CI environments will need a synthetic .env — a small but real setup tax per pipeline.Technical risk
Melhoria no nome das class), not a ruleset, compatibility, or Laravel-version-tracking change. Activity is not the same as maintenance of the security rules.SameSite, trusted proxies/hosts, new debug surfaces). A validator that is not tracking framework releases will gradually certify configurations it no longer understands. 1.0.1 gives no evidence of ruleset evolution.Key questions
Stack fit
require-dev entry in any Laravel 10/11/12 codebase on PHP 8.2+. No runtime coupling, no container changes, no infra changes.composer audit), configuration posture (this package), and infrastructure/secret hygiene (existing IaC and secret scanning). Communicate that framing to avoid the "we already have a scanner" objection.Migration path
bin/security-config-check) rather than scattering the command across pipelines. If the package is abandoned, we swap the implementation behind that script and keep the gate.composer.lock and treat upgrades as reviewed changes, not auto-bumps. 1.0.1 renamed classes in a patch release, which is exactly the class of change that makes auto-bumping a security validator unsafe. Verify no internal class references (custom rules, wrappers, test doubles) break when moving to 1.0.1.Compatibility
.env handling: if the tool reads .env directly, CI must supply a representative file, or findings will reflect the developer's local defaults rather than production posture.Sequencing
.env.example-derived production config. Install at 1.0.1 and diff against 1.0.0 while doing so.Maintenance
Support
Scaling
Failure modes
Ramp-up
.env provisioning, baseline configuration, canary fixture.How can I help you explore Laravel packages today?