定制 sqlsync/laravel-sqlsync-filament 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

sqlsync/laravel-sqlsync-filament

Composer 安装命令:

composer require sqlsync/laravel-sqlsync-filament

包简介

Filament v3 Admin Panel plugin for sqlsync/laravel-sqlsync

README 文档

README

sqlsync/laravel-sqlsync-filament

Filament v3 Admin Panel plugin for sqlsync/laravel-sqlsync.

Adds a full admin panel with live stats, agent monitoring, and record browsing — all auto-refreshing every 30 seconds.

Requirements

  • PHP 8.2+
  • Laravel 10–13
  • sqlsync/laravel-sqlsync ^1.0
  • filament/filament ^3.0

Installation

# 1. Install base package (if not already)
composer require sqlsync/laravel-sqlsync
php artisan sqlsync:install

# 2. Install Filament (if not already)
composer require filament/filament:"^3.0"
php artisan filament:install --panels

# 3. Install this plugin
composer require sqlsync/laravel-sqlsync-filament
php artisan sqlsync-filament:install

Setup

Register the plugin in your Filament Panel Provider (app/Providers/Filament/AdminPanelProvider.php):

use SqlSync\FilamentSqlSync\SqlSyncFilamentPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->default()
        ->id('admin')
        ->path('admin')
        // ... your other config ...
        ->plugins([
            SqlSyncFilamentPlugin::make()
                ->withDashboard()
                ->withAgents()
                ->withLogs()
                ->navigationGroup('SqlSync'),
        ]);
}

What You Get

Dashboard

  • Total records count (active vs inactive)
  • Agents online / total
  • Last sync time
  • Syncs today

Records Table

  • Search by name, barcode, code
  • Filter by preset (Al-Ameen / Al-Bayan) and status
  • View full record details including pricing & extra data
  • Toggle columns

Agents Monitor

  • Live online/offline status (auto-refreshes every 30s)
  • Last heartbeat & last sync time
  • Total records synced per agent

Sync Logs

  • Real-time feed of sync operations
  • Inserted / Updated / Skipped counts per push
  • Status badges

Fluent Configuration

SqlSyncFilamentPlugin::make()
    ->withDashboard(true)          // Show dashboard page
    ->withAgents(true)             // Show agents resource
    ->withLogs(true)               // Show sync logs widget
    ->navigationGroup('My Group')  // Custom sidebar group name

Developer

محمد خلف · +963945235962

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-06-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固