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

Http Status Check Laravel Package

spatie/http-status-check

CLI tool to crawl a website and report HTTP status codes for every link. Scan internal and optionally external URLs, control concurrency for speed, and export failing (non-2xx/3xx) links to a file for quick auditing.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Monitoring & Observability: Automate HTTP status checks for internal/external links (e.g., APIs, third-party services, or marketing pages) to proactively detect broken links, downtime, or misconfigurations.
  • SEO & UX: Integrate into CI/CD pipelines to validate link integrity before deployments, ensuring a seamless user experience and avoiding 404s post-launch.
  • Cost Optimization: Replace manual QA efforts (e.g., spreadsheets or browser-based checks) with a scalable, automated solution—reducing time spent on repetitive tasks.
  • Compliance & Audits: Meet regulatory requirements (e.g., financial or healthcare sites) by ensuring all critical links (e.g., legal disclaimers, payment gateways) are operational.
  • Roadmap Prioritization: Use data from broken links to inform technical debt backlog (e.g., "Fix 50+ deprecated API endpoints" as a high-priority item).
  • Build vs. Buy: Avoid reinventing a crawler from scratch; leverage this lightweight, PHP-native tool instead of adopting a heavier SaaS (e.g., Screaming Frog) or custom solution.

When to Consider This Package

  • Adopt if:

    • Your stack is PHP/Laravel, and you need a developer-friendly, CLI-based tool for internal use (not public-facing reporting).
    • You require customizability (e.g., filtering by status codes, excluding paths, or integrating with Laravel’s task scheduler).
    • Your use case is link-focused (not full SEO audits, JavaScript rendering, or headless browser checks).
    • You want open-source with MIT license (no vendor lock-in) and minimal dependencies.
  • Look elsewhere if:

    • You need visual reports or dashboards (consider Screaming Frog or Ahrefs).
    • Your site relies on JavaScript-rendered content (use Puppeteer or Playwright-based tools).
    • You require scheduling/alerting (pair with Laravel Horizon or a monitoring tool like Datadog).
    • You’re managing large-scale crawls (this package is lightweight; for enterprise needs, evaluate Scrapy or Apache Nutch).
    • Your team lacks PHP expertise (opt for a no-code tool like Dead Link Checker).

How to Pitch It (Stakeholders)

For Executives: "This open-source tool automates the detection of broken links across our websites—saving our team hours weekly and reducing post-launch 404 errors. By integrating it into our CI pipeline, we’ll catch issues early, improve user trust, and cut QA costs. It’s a lightweight, PHP-native solution with no ongoing fees, aligning with our tech stack and compliance needs."

For Engineering: *"Spatie’s HTTP Status Check is a battle-tested CLI tool that crawls links and flags HTTP errors (404s, 500s, etc.). Key benefits:

  • Zero setup: Install via Composer; works out-of-the-box with Laravel.
  • Extensible: Filter by status codes, exclude paths, or hook into Laravel’s scheduler:run.
  • Lightweight: No heavy dependencies; runs in minutes for medium-sized sites.
  • Actionable: Outputs JSON/CSV for easy integration with monitoring or Slack alerts. Use case: Run it nightly in CI to block deployments with broken links, or use it ad-hoc for audits. Example command: http-status-check https://our-site.com --exclude-path=/admin.* Tradeoff: Not for JS-heavy sites or public reporting—pair with existing tools as needed."*
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