bfg/admin-custom-page
最新稳定版本:0.0.1
Composer 安装命令:
composer require bfg/admin-custom-page
包简介
Admin controls for custom pages
README 文档
README
Install
composer require bfg/admin-custom-page
Admin install
php artisan admin:extension bfg/admin-custom-page --install
Admin menu
In the case where you need to change the location of the "Pages" menu item in the structure of the administrative panel of your application, there is a specialized method for achieving this goal. This method, called bfg_admin_custom_page, allows you to flexibly integrate the "Pages" menu item into any part of your site's management interface. Using this method, you get the opportunity to customize the layout of menu elements in accordance with the administration needs and navigation logic of your web application. Thus, bfg_admin_custom_page provides you with tools for optimizing the workspace of the administrative panel, thereby improving its usability and efficiency of working with the Pages settings of your site:
class Navigator extends NavigatorExtensionProvider implements ActionWorkExtensionInterface { /** * @return void */ public function handle() : void { $this->bfg_admin_custom_page(); // SEO menu item // OR $this->group('Pages group', 'pages_group', function (NavGroup $group) { $group->bfg_admin_custom_page(); // SEO menu item in group })->icon_thumbtack(); $this->makeDefaults(); $this->makeExtensions(); } }
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-06-22