承接 jeancarloms/filament-release-notes 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

jeancarloms/filament-release-notes

最新稳定版本:v1.0.8

Composer 安装命令:

composer require jeancarloms/filament-release-notes

包简介

Filament plugin to display Git release notes with search, pagination, and Shield permissions.

README 文档

README

Filament plugin that displays a timeline of commits from the current Git repository as a "Release Notes" page.

Includes:

  • real pagination over git log
  • commit message keyword search
  • direct links to commits on GitHub
  • Filament Shield integration
  • per-panel configuration

Requirements

  • PHP 8.2+
  • Laravel 12+
  • Filament 3.3+
  • bezhansalleh/filament-shield
  • local access to the project's Git repository

Installation

composer require JeanCarloMS/filament-release-notes

Git Safe Directory

If you receive this error in your app it is because the owner of the directory and the PHP of the web server are differents

No fue posible leer el historial Git. Git rechazó el repositorio por ownership. El proceso web probablemente corre con otro usuario distinto al dueño del repo. Detalle: fatal: detected dubious ownership in repository at '/var/www/html/ros' To add an exception for this directory, call: git config --global --add safe.directory /var/www/html/ros Solution, run this command:

That command tells Git, at the system-wide level, to trust that directory even if the repository owner does not match the user running the command.
sudo git config --system --add safe.directory /var/www/html/your_project

If you want to revert:

sudo git config --system --unset-all safe.directory /var/www/html/your_project

Custom Filament Theme

If the plugin will be used inside a Filament panel, you must create a custom theme for that panel so Tailwind can include the plugin styles.

Add the following line to that theme's CSS file:

@source '../../../../vendor/jeancarloms/filament-release-notes/resources/views/**/*.blade.php';

This ensures the plugin styles are loaded correctly in the panel.

Publish Configuration

php artisan vendor:publish --tag=filament-release-notes-config

Register The Plugin In Filament

use JeanCarloMS\FilamentReleaseNotes\FilamentReleaseNotesPlugin;

FilamentReleaseNotesPlugin::make()
    ->navigationGroup('System')
    ->navigationSort(11)
    ->navigationIcon('heroicon-o-sparkles')
    ->slug('release-notes')
    ->title('Release Notes')
    ->heading('Release Notes')
    ->subheading('Browse the visual history of changes in the current repository.')
    ->defaultPerPage(100)
    ->perPageOptions([25, 50, 100, 150, 200])
    ->repositoryPath(base_path())

Shield

The page uses HasPageShield, so the required permission is:

page_ReleaseNotes

The plugin will attempt to create that permission automatically if the permissions table exists.

Configuration

File: config/filament-release-notes.php

Available options:

  • git_binary
  • repository_path
  • branch
  • default_per_page
  • per_page_options
  • cache_store
  • cache_ttl
  • date_format

Limitations

  • search only runs against the commit message
  • the repository must exist locally
  • commit links depend on remote.origin.url

Packagist Publishing

  1. Upload this package to a separate public Git repository.
  2. Create a semantic tag, for example v1.0.0.
  3. Register the repository on Packagist.
  4. Run composer require JeanCarloMS/filament-release-notes in the consuming project.

License

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-03-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固