flamarkt/backoffice
Composer 安装命令:
composer require flamarkt/backoffice
包简介
Starting point for Flamarkt extensions.
README 文档
README
An alternative admin panel frontend for extensions.
Things this extension provides:
composer.jsonparameters:extra.flamarkt-backoffice.settingsInBackoffice: whether to redirect admin to backoffice for settingsextra.flamarkt-backoffice.showInBackoffice: whether to show extension in the extension list of backofficeextra.flamarkt-backoffice.hideFromAdmin: whether to hide extension from admin list of extensions
- Global
backofficegate to configure base access to the backoffice. - Patch for flarum/framework#2876 (now fixed).
- Verbatim relationships.
common/utils/KeyboardNavigatable: same as Flarum but exported.common/states/AbstractListState: an alternative to Flarum's PaginatedListState.common/pages/AbstractShowPage: a re-usable page component with pre-build logic for loading single modelscommon/components/AbstractRelationshipSelect: re-usable select input.common/components/AbstractSortDropdown: re-usable component to create sort dropdowns.common/components/ActiveLinkButton: alternative to Flarum'sLinkButtonwith ability to configure which routes will make the buttonactivestate.common/components/Sortable: a Mithril implementation of a re-orderable list.common/components/SortableHandle: to be used withSortable.common/components/UserRelationshipSelect: implementation ofAbstractRelationshipSelectfor user model.backoffice/app: the app object reference forbackofficefrontend.backoffice/states/UserListStatebackoffice/resolvers/ExtensionPageResolver: same as Flarum but exported.backoffice/pages/DashboardPagebackoffice/pages/UserIndexPagebackoffice/pages/UserShowPagebackoffice/components/AbstractList: re-usable component for index pages in backoffice.backoffice/components/BackofficeNav: same usage as Flarum'sAdminNav.backoffice/components/HeaderPrimary: same usage as Flarum'sHeaderPrimary.backoffice/components/HeaderSecondary: same usage as Flarum'sHeaderSecondary.backoffice/components/PermanentDeleteButton: re-usable button with built-in API request.backoffice/components/SoftDeleteButton: re-usable delete/restore button with built-in API request.backoffice/components/SubmitButton: re-usable button with built-in translations.backoffice/components/UserList: implementation ofAbstractListforUserIndexPage.backoffice/components/UserSortDropdown: implementation ofAbstractSortDropdownfor user model.- Optional migrations through
whencallback in migration definition.
To compile the new frontend and import the classes, you'll need to update your webpack.config.js.
See other Flamarkt extensions for an example.
Note: because exports use the package name followed by the frontend name, backoffice is repeated in some exports, for example: import 'flamarkt/backoffice/backoffice/app';.
This package is implemented as an extension because it's the most reliable way to make sure all the logic runs only once and before any of the extensions that will use it.
More documentation will be published once out of beta.
flamarkt/backoffice 适用场景与选型建议
flamarkt/backoffice 是一款 基于 TypeScript 开发的 Composer 扩展包,目前已累计 9.81k 次下载、GitHub Stars 达 3, 最近一次更新时间为 2022 年 03 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「admin」 「panel」 「backoffice」 「flarum」 「flamarkt」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 flamarkt/backoffice 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 flamarkt/backoffice 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 flamarkt/backoffice 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Roadiz sub-package for Document system.
Roadiz base models for entities.
2lenet/EasyAdminPlusBundle
Roadiz is a modern CMS based on a polymorphic content-schema system which can handle many types of services. It’s based on Symfony component and Doctrine ORM for maximum performances and security.
Roadiz CMS backoffice theme
统计信息
- 总下载量: 9.81k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 12
- 依赖项目数: 6
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-03-28