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

Laravel Github Webhooks Laravel Package

spatie/laravel-github-webhooks

Handle GitHub webhooks in Laravel with signature verification, automatic logging to the database, and easy job/event dispatching per webhook type. Configure handlers, queue processing, and access the webhook payload via a stored call model.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature Development: Enables real-time integration with GitHub events (e.g., PR merges, issue creation, deployments) without manual polling, reducing latency and improving responsiveness.
  • Roadmap Prioritization: Critical for teams building CI/CD pipelines, developer tooling, or collaborative platforms where GitHub event-driven workflows are core.
  • Build vs. Buy: Eliminates the need to build custom webhook handlers from scratch, saving dev time and reducing technical debt. MIT license allows for customization if needed.
  • Use Cases:
    • Automated CI/CD triggers (e.g., deploy on PR merge).
    • Developer portal notifications (e.g., sync issues/PRs to internal tools).
    • Security monitoring (e.g., alert on suspicious repo activity).
    • Analytics dashboards (e.g., track repo activity trends).

When to Consider This Package

  • Adopt if:
    • Your Laravel app needs to react to GitHub events in real time (e.g., webhooks for PRs, issues, or deployments).
    • You require built-in GitHub signature verification and logging for security/auditing.
    • Your team lacks bandwidth to build/maintain custom webhook infrastructure.
    • You’re using Laravel and want a battle-tested, queue-friendly solution (supports ShouldQueue).
  • Look elsewhere if:
    • You need support for non-GitHub webhooks (e.g., GitLab, Bitbucket).
    • Your event volume is low, and polling (e.g., GitHub API) is sufficient.
    • You require advanced webhook routing beyond Laravel’s ecosystem (e.g., non-PHP backends).
    • Your compliance needs mandate self-hosted webhook handling (this package relies on Spatie’s infrastructure for some features).

How to Pitch It (Stakeholders)

For Executives: "This package lets us tap into GitHub’s real-time events (e.g., code merges, issue updates) to automate workflows like deployments or notifications—without writing custom infrastructure. It’s secure (verifies GitHub signatures), scalable (queues events), and saves dev time. For example, we could auto-deploy staging environments on PR merges or sync GitHub issues to our internal tools instantly. Low risk (MIT license, widely used), high ROI for teams relying on GitHub."

For Engineering: *"Spatie’s Laravel-GitHub-Webhooks gives us a turnkey way to handle GitHub webhooks with:

  • Security: Automatic signature verification and logging.
  • Scalability: Queue jobs for high-volume events (e.g., large repos).
  • Flexibility: Define custom handlers for any GitHub event (e.g., push, pull_request, issue_comment).
  • Maintenance: Actively updated (last release 2026), with tests and docs. Tradeoff: Tightly coupled to Laravel/GitHub, but if we’re already using Laravel, this is a no-brainer for event-driven workflows."*
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