basementdevs/filament-webhooks 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

basementdevs/filament-webhooks

最新稳定版本:6.0.0

Composer 安装命令:

composer require basementdevs/filament-webhooks

包简介

A Filament plugin to log and inspect inbound webhooks in your admin panel

README 文档

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

A Laravel package that adds Filament v4 resources to view and manage inbound webhooks. It provides:

  • A configurable Filament navigation entry for "Webhooks" under a Logs group
  • Storage/model for inbound webhook payloads
  • Enum of supported webhook providers with icons/colors for the Filament UI

Note: This readme documents what is detectable from the codebase. Where details are unclear, TODO notes are added for follow-up.

Requirements

  • PHP ^8.3
  • Laravel (Illuminate Contracts) ^11.0 or ^12.0
  • Filament ^4.0
  • Composer

Development dependencies (repo contributors): Pest, PHPStan, Larastan, Testbench, Pint

Installation

Install via Composer in a Laravel application:

composer require basementdevs/filament-webhooks

The package auto-registers its service provider via the extra.laravel.providers entry in composer.json.

Migrations

This package discovers and loads its migrations. Run your app migrations after installing:

php artisan vendor:publish --tag="filament-webhooks-migrations"
php artisan migrate

Configuration

Publish the config file if you need to customize defaults:

php artisan vendor:publish --tag="filament-webhooks-config"

Config options (config/filament-webhooks.php):

  • navigation_group: default "Logs"
  • navigation_label: default "Webhooks"
  • navigation_icon_inactive / navigation_icon_active: Filament Heroicon enums
  • navigation_sort: default 100
  • model: Eloquent model class used to store inbound webhooks (defaults to Basement\Webhooks\Models\InboundWebhook)
  • providers_enum: Enum class of supported providers (defaults to Basement\Webhooks\Enums\InboundWebhookSource)

Views

If the package ships views under a publish tag, they can be published with:

php artisan vendor:publish --tag="filament-webhooks-views"

Note: The presence and contents of views are not confirmed in the current repo. TODO: Document available views/components.

Usage

Once installed in a Filament-enabled Laravel application, a "Webhooks" section should appear in your Filament admin navigation (by default under the "Logs" group). From there you can review inbound webhooks stored by your application.

How inbound webhooks are stored depends on your app integration. This package provides supporting types and actions, including:

  • Model: Basement\Webhooks\Models\InboundWebhook
  • Enum: Basement\Webhooks\Enums\InboundWebhookSource
  • Action: Basement\Webhooks\Actions\StoreInboundWebhook (implementation details depend on your app)

Running Tests

This repository uses Pest for testing:

composer test

To generate coverage:

composer test-coverage

Changelog

See CHANGELOG.md for recent changes.

Contributing

Please see CONTRIBUTING for details. If this file is missing, TODO: add contribution guidelines or update this section.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities. If your repository does not include this path, TODO: add SECURITY.md and update the link.

License

The MIT License (MIT). See LICENSE.md for more information.

统计信息

  • 总下载量: 2.4k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固