akira/filament-switch-panel
Composer 安装命令:
composer require akira/filament-switch-panel
包简介
This is my package filament-switch-panel
README 文档
README
Installation
You can install the package via composer:
composer require akira/filament-switch-panel
optionally, you can publish the views to customise the switch panel.
php artisan vendor:publish --tag="filament-switch-panel-views"
Filament Compatibility
This package supports both Filament v3.x and Filament v4.x. The package will automatically detect the installed version and work seamlessly with either version.
Customisation
to start your customisation, use the configureUsing method in your service provider's boot method.
use Akira\FilamentSwitchPanel\FilamentSwitchPanel; FilamentSwitchPanel::configureUsing(function (FilamentSwitchPanel $switchPanel) { $switchPanel->modalHeading('Modal Heading') ->modalWidth('md') ->slideOver() ->simple() ->labels([ 'admin' => 'Admin', 'user' => 'User', ]) ->icons([ 'admin' => 'heroicon-o-user', 'user' => 'heroicon-o-user', ], $asImage = false) ->iconSize(32) ->visible(fn (): bool => auth()->user()?->hasAnyRole(['admin',])) ->canSwitchPanels(fn (): bool => auth()->user()?->can('switch-panels')) ->excludes(['user']) ->renderHook('panels::global-search.before') });
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.
akira/filament-switch-panel 适用场景与选型建议
akira/filament-switch-panel 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4.69k 次下载、GitHub Stars 达 5, 最近一次更新时间为 2024 年 01 月 19 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「akira」 「filament-switch-panel」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 akira/filament-switch-panel 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 akira/filament-switch-panel 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 akira/filament-switch-panel 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A clean, modern, and easy-to-use QR code generator for Laravel
Track, query, and act on authentication activity in your Laravel application. Automatically records successful and failed sign-ins, with optional notifications and geolocation context.
A modern, strictly typed, and extensible invoice generator for Laravel 12+ built with PHP 8.4 syntax. This package provides a clean builder pattern API, immutable data objects, and modular design inspired by LaravelDaily/laravel-invoices but rewritten from scratch with SOLID principles and Laravel b
this is a laravel package to handle SISP payment
Commentable is a lightweight and flexible comment system package designed to seamlessly integrate into any Laravel project. Whether you’re building a blog, a forum, or a platform like DevHunter – this package makes it incredibly easy to make any model commentable.
This is my package filament-user-invitation
统计信息
- 总下载量: 4.69k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 22
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-01-19