Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Mixed Content Scanner Cli Laravel Package

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 .

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Security & Compliance: Automates detection of mixed content (HTTP/HTTPS inconsistencies) to align with modern web security standards (e.g., PCI DSS, GDPR, or internal security policies).
  • Performance & UX: Identifies mixed content that can degrade page load times or trigger browser warnings, improving user trust and SEO.
  • DevOps/Automation: Integrates into CI/CD pipelines (e.g., GitHub Actions, GitLab CI) to enforce HTTPS compliance pre-deployment, reducing manual QA effort.
  • Legacy Migration: Prioritizes remediation of mixed content during platform upgrades (e.g., moving from HTTP to HTTPS or modernizing legacy systems).
  • Build vs. Buy: Justifies open-source adoption over custom solutions for teams lacking security expertise, with minimal maintenance overhead.
  • Roadmap Alignment: Enables feature flags for "secure-by-default" configurations (e.g., blocking mixed content in production) as part of a broader security roadmap.

When to Consider This Package

  • Adopt When:

    • Your application serves mixed content (HTTP resources on HTTPS pages) and lacks automated detection tools.
    • Security audits or compliance requirements mandate HTTPS enforcement (e.g., financial, healthcare, or regulated industries).
    • You manage multiple domains/subdomains and need scalable, repeatable scans (e.g., during mergers or large-scale migrations).
    • Your team prioritizes developer productivity with CLI tools over manual browser inspections or third-party services.
  • Look Elsewhere If:

    • Your stack relies on JavaScript-heavy SPAs (e.g., React, Vue) where mixed content is rare or handled via build tools (e.g., Webpack).
    • You need real-time monitoring (consider tools like Sqreen or Datadog) or deep protocol analysis (e.g., Wireshark for network-level issues).
    • Your organization requires enterprise support/SLA (this is MIT-licensed with no vendor backing).
    • You’re scanning internal networks or non-HTTP protocols (e.g., WebSockets, FTP).

How to Pitch It (Stakeholders)

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:

  • Block mixed content in staging/prod via feature flags.
  • Add a pre-deploy check to fail builds with mixed content.
  • Prioritize fixes in legacy systems during our HTTPS migration. It’s PHP-based but works cross-platform, and the MIT license means no hidden costs."

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:

  • Automated, reproducible scans of all environments.
  • Actionable output (e.g., URLs, line numbers) to remediate issues.
  • Alignment with standards like PCI DSS (Requirement 4.1) and GDPR (Article 32). We can use it to audit third-party integrations or post-merger acquisitions where mixed content is a common oversight."
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport