psecio/iniscan
psecio/iniscan is a PHP security scanner that checks your php.ini configuration against recommended security settings. It highlights risky directives and helps harden production environments, making it useful for audits, CI checks, and server reviews.
psecio/iniscan is a mature, MIT-licensed, single-purpose CLI scanner. Adopting it lets us skip building a bespoke php.ini ruleset and instead invest engineering time in product features.php.ini directives (e.g., display_errors, expose_php, allow_url_include, session.cookie_secure) become non-negotiable across environments. The scan output becomes the canonical checklist.Adopt when:
php.ini is hand-managed, on shared hosting, or across heterogeneous fleets.Look elsewhere when:
For executives: A free, MIT-licensed scanner that gives us a credible, repeatable security story around PHP configuration at effectively zero cost. It reduces the risk of misconfiguration-driven breaches, produces audit-ready reports for enterprise buyers, and requires no procurement or vendor lock-in. Low investment, immediate risk reduction, and a tangible compliance artifact.
For engineering and security: One command audits php.ini against community-vetted best practices, with clear pass/fail/warn output and remediation guidance. It drops into CI to catch drift and block insecure deploys, and it's small enough to fork and extend if we need custom rules. Treat it as a hardening baseline—not a substitute for SAST/DAST—and pin the version to insulate us from maintenance risk.
How can I help you explore Laravel packages today?