rectitude-open/filament-contact-logs 问题修复 & 功能扩展

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

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

rectitude-open/filament-contact-logs

最新稳定版本:v1.4.0

Composer 安装命令:

composer require rectitude-open/filament-contact-logs

包简介

A Filament plugin to display website contact form submissions with a read-only interface.

README 文档

README

Filament Contact Logs Banner

Filament Contact Logs

Do not use Tests PHPStan Latest Version on Packagist Total Downloads PRs Welcome

Filament Contact Logs is a Filament plugin designed to display contact form submissions collected from your website. Ideal for "Contact Us" pages or similar modules, it provides a read-only interface for viewing user-submitted information such as name, email, subject, and message.

This package is also a standalone part of a CMS project: FilaPress.

Resource Page Cluster Migration Model Config View Localization

Installation

You can install the package via composer:

composer require rectitude-open/filament-contact-logs

You can publish and run the migrations with:

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

You can publish the config file with:

php artisan vendor:publish --tag="filament-contact-logs-config"

Optionally, you can publish the translations using

php artisan vendor:publish --tag="filament-contact-logs-translations"

This is the contents of the published config file:

return [
    'filament_resource' => RectitudeOpen\FilamentContactLogs\Resources\ContactLogResource::class,
    'model' => RectitudeOpen\FilamentContactLogs\Models\ContactLog::class,
    'navigation_sort' => 101,
    'navigation_icon' => 'heroicon-o-envelope-open',
    'datetime_format' => 'Y-m-d H:i:s',
    'navigation_badge' => true,
];

Usage

The package provides a resource page that allows you to view Contact Logs in your Filament admin panel.

To use the resource page provided by this package, you need to register it in your Panel Provider first.

namespace App\Providers\Filament;

use RectitudeOpen\FilamentContactLogs\FilamentContactLogsPlugin;

class AdminPanelProvider extends PanelProvider
{
    public function panel(Panel $panel): Panel
    {
        return $panel
            ->plugins([
                FilamentContactLogsPlugin::make()
            ]);
    }
}

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-18