spatie/mixed-content-scanner-cli
CLI tool to detect mixed content on HTTPS sites. Crawls pages and reports HTML elements whose URLs use http:// (images, scripts, iframes, forms, etc.). Install via Composer globally and run: mixed-content-scanner scan .
Adopt When:
Look Elsewhere If:
For Executives: "This lightweight, open-source CLI tool automates the detection of mixed content—HTTP resources loaded on HTTPS pages—which can trigger security warnings, violate compliance standards, and hurt user trust. By integrating it into our CI/CD pipeline, we can catch and fix these issues pre-deployment, reducing manual QA costs and aligning with our security roadmap. It’s a low-risk, high-impact solution with no vendor lock-in, used by teams at [companies like Spatie] to enforce HTTPS best practices."
For Engineering/DevOps:
"The spatie/mixed-content-scanner-cli is a 5-minute setup that replaces manual browser checks or ad-hoc tools. It scans URLs via CLI, outputs clear mixed-content reports, and integrates seamlessly with GitHub Actions/GitLab CI. For example:
mixed-content-scanner scan https://example.com --format=json > report.json
We can use this to:
For Security Teams: "This tool directly addresses mixed-content vulnerabilities (e.g., insecure scripts/stylesheets) that can lead to data leaks or compliance violations. Unlike manual audits, it provides:
How can I help you explore Laravel packages today?