athphane/filament-support
Composer 安装命令:
composer require athphane/filament-support
包简介
Helper traits, base component configs, and shared utilities.
README 文档
README
Helper traits, base component configs, and shared utilities for Filament.
Installation
You can install the package via composer:
composer require athphane/filament-support
You can publish the config file with:
php artisan vendor:publish --tag="filament-support-config"
Configuration
The published config file allows you to enable/disable specific modifiers:
// config/filament-support.php return [ 'modifiers' => [ 'forms' => env('FILAMENT_SUPPORT_MODIFIER_FORMS', true), 'actions' => env('FILAMENT_SUPPORT_MODIFIER_ACTIONS', true), 'tables' => env('FILAMENT_SUPPORT_MODIFIER_TABLES', true), 'infolists' => env('FILAMENT_SUPPORT_MODIFIER_INFOLISTS', true), 'summarizers' => env('FILAMENT_SUPPORT_MODIFIER_SUMMARIZERS', true), ], ];
All modifiers are enabled by default.
Features
Modifiers
The package provides automatic configuration for Filament components:
- Forms: Auto-title labels, trim text input values, native date pickers, helper icons
- Actions: Set icon positions and default icons
- Tables: Title case labels, non-native filters, hidden on relation manager macro
- Infolists: Title case labels, enum display macro
- Summarizers: Default money summarizer
Components
Coordinate (Form Component)
A Google Maps coordinate picker for Filament forms.
use Athphane\FilamentSupport\Forms\Components\Coordinate; Coordinate::make('coordinates') ->defaultCoordinates(4.1749, 73.5079) ->mapHeight(500);
PublishStatusSelect (Form Component)
A dropdown for content publishing status.
use Athphane\FilamentSupport\Forms\Components\PublishStatusSelect; PublishStatusSelect::make('status');
SpatieMediaLibraryFileUpload (Form Component)
Enhanced file upload with automatic disk configuration.
use Athphane\FilamentSupport\Forms\Components\SpatieMediaLibraryFileUpload; SpatieMediaLibraryFileUpload::make('attachment');
CoordinateMap (Infolist Component)
Read-only coordinate map display.
use Athphane\FilamentSupport\Infolists\Components\CoordinateMap; CoordinateMap::make('coordinates');
Enums
PublishStatuses
Enum for content publishing status with Filament integration.
use Athphane\FilamentSupport\Enums\PublishStatuses; // Options: DRAFT, PENDING, PUBLISHED, REJECTED // Includes color, icon, and label methods for Filament
Traits
FilamentAdminUrls
Generate admin URLs for model records.
use Athphane\FilamentSupport\Traits\FilamentAdminUrls; class Post extends Model { use FilamentAdminUrls; // Disable admin URL generation if needed public function disableAdminUrlGeneration(): bool { return true; } } // Usage $adminUrl = $post->getAdminUrl('edit');
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.
athphane/filament-support 适用场景与选型建议
athphane/filament-support 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 88 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 02 月 25 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「filament」 「athphane」 「filament-support」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 athphane/filament-support 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 athphane/filament-support 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 athphane/filament-support 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
This is my package filament-editorjs
Alfabank REST API integration
Database-driven onboarding for Filament: progress checklists and guided spotlight tours, translatable to any locale.
Let users easily report things in your application that don't go according to plan
Laravel package for Accurate Online API integration.
Create-project starter for a Laravel application with the public Capell CMS foundation.
统计信息
- 总下载量: 88
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 25
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-25