awcodes/filament-addons
Composer 安装命令:
composer require awcodes/filament-addons
包简介
A set of components / fields to extend Filament Admin.
关键字:
README 文档
README
A set of components, fields and layouts to extend Filament Admin.
Installation
composer require awcodes/filament-addons
(Optional) Publish config file
php artisan vendor:publish --tag=filament-addons-config
Themeing
If you are using a custom theme for Filament you will need to add this plugin's views to your Tailwind CSS config. Once this is done you may disable the plugin's stylesheet in the config file by changing 'load_styles' to false.
content: [ ... "./vendor/awcodes/filament-addons/resources/views/**/*.blade.php", ],
Admin
Fixed Sidebar Layout
Just return it directly from your form function in your model resource.
use FilamentAddons\Admin\FixedSidebar; public static function form(Form $form): Form { return FixedSidebar::make() ->schema([ // Main section form components ], [ // Sidebar form components ]); }
Forms
Date Input
use FilamentAddons\Forms\Fields\DateInput; DateInput::make(string $fieldname) ->label('Publish Date') ->withoutTime() //optional
Password Generator
All methods from TextInput are available.
use FilamentAddons\Forms\Fields\PasswordGenerator; PasswordGenerator::make(string $fieldname) ->passwordLength(int $length = 12) ->hasNumbers(bool $hasNumbers = true) ->hasSymbols(bool $hasSymbols = true)
Title With Slug
Creates a TextInput with the ability to modify the slug after creation, but preserves the slug when editing to help with SEO.
use FilamentAddons\Forms\Components\TitleWithSlug; TitleWithSlug::make( string $titleFieldName = 'title', string $slugFieldName = 'slug', string|Closure $basePathForResource = '/' )->columnSpan('full')
Timestamps
Outputs Created At and Updated At information blocks.
use FilamentAddons\Forms\Components\Timestamps; Timestamps::make()
Separator
Just outputs a sensible hr to help separate components.
use FilamentAddons\Forms\Components\Separator; Separator::make()
Heading
use FilamentAddons\Forms\Components\Heading; Heading::make('whatevs')->level('h3')->content('This is a test')
Video Embed
Allows embeded code with preview. This field does not sanitize your values. You are responsible for purifying any raw html input or output.
Supports most of the Textarea field's options.
use FilamentAddons\Forms\Fields\VideoEmbed; VideoEmbed::make(string $fieldname) ->label('label') ->rows()
oEmbed
Allows oembedding a video with preview.
Onlys supports YouTube and Vimeo at the moment.
use FilamentAddons\Forms\Components\OEmbed; OEmbed::make(string $fieldname)
Tables
Title With Status Indicator
use FilamentAddons\Tables\Columns\TitleWithStatus; TitleWithStatus::make(string $fieldname = 'title') ->statusField(string $fieldname = 'status') // optional ->statuses(array | Arrayable (Enum) Status::class) ->colors(array | Arrayable (Enum) Status::colors()) ->hiddenOn(string | null Status::Published->name) //optional
awcodes/filament-addons 适用场景与选型建议
awcodes/filament-addons 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 13.13k 次下载、GitHub Stars 达 30, 最近一次更新时间为 2022 年 06 月 15 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「laravel」 「filament」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 awcodes/filament-addons 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 awcodes/filament-addons 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 awcodes/filament-addons 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
Alfabank REST API integration
Database-driven onboarding for Filament: progress checklists and guided spotlight tours, translatable to any locale.
High-performance, opinionated PHP 8 web framework with O(1) routing, parallel async MySQL, type-safe asset bridge, and React-island frontend
Laravel package for Accurate Online API integration.
The skeleton application for the Geoffrey agent framework.
统计信息
- 总下载量: 13.13k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 30
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-06-15






