bearcms/bearframework-addon
Composer 安装命令:
composer require bearcms/bearframework-addon
包简介
Bear CMS addon for Bear Framework
README 文档
README
Addon for Bear Framework
This addon enables you add CMS functionality to your Bear Framework powered website. Learn more at bearcms.com.
Standalone version
There is a standalone version that is easier to install and update. You can download the installer from your bearcms.com account.
Install via Composer
composer require bearcms/bearframework-addon
Enable the addon
Enable the addon for your Bear Framework application.
$app->addons->add('bearcms/bearframework-addon'); $app->bearCMS->initialize([ 'serverUrl' => 'https://example.bearcms.com/', 'appSecretKey' => '...', 'language' => 'en' ]);
Documentation
Full documentation is available as part of this repository.
Components
<component src="bearcms-elements" />
Creates an elements block.
<component src="bearcms-blog-posts-element" />
Creates a block that renders a list of blog posts.
<component src="bearcms-heading-element" />
Creates a heading.
<component src="bearcms-html-element" />
Renders HTML code.
<component src="bearcms-image-element" />
Creates an image.
<component src="bearcms-image-gallery-element" />
Creates an image gallery.
<component src="bearcms-link-element" />
Creates a link.
<component src="bearcms-navigation-element" />
Creates a navigation.
<component src="bearcms-text-element" />
Creates a text block.
<component src="bearcms-video-element" />
Creates a video block.
Configuration
Here is a list of the configuration options of the CMS:
serverUrl
The URL of the CMS server. Can be found at your Bear CMS account.
appSecretKey
The site secret key. Can be found at your Bear CMS account.
language
The language of the CMS admin interface. Available values: en, bg.
features
An array containing the enabled CMS features. Available values:
ALL Enables all features.
ADDONS Enables addons.
FILES Enables user files management (uploads, sharing, etc.).
BLOG Enables blog posts.
PAGES Enables managing pages.
ELEMENTS Enables creating elements.
ELEMENTS_HEADING Enables the heading element.
ELEMENTS_TEXT Enables the text element.
ELEMENTS_LINK Enables the link element.
ELEMENTS_IMAGE Enables the image element.
ELEMENTS_IMAGE_GALLERY Enables the image gallery element.
ELEMENTS_VIDEO Enables the video element.
ELEMENTS_NAVIGATION Enables the navigation element.
ELEMENTS_HTML Enables the HTML element.
ELEMENTS_BLOG_POSTS Enables the blog posts element.
ELEMENTS_COLUMNS Enables the columns element.
THEMES Enables themes management.
ABOUT Enables viewing the system information about the website.
SETTINGS Enables managing settings.
USERS Enables users.
USERS_LOGIN_DEFAULT Enables users the login the default way (login form, lost password form, etc.)
USERS_LOGIN_ANONYMOUS Enables anonymous user login (by calling the CMS server with code).
USERS_MANAGE_ACCOUNT Enables the user to manage his account (change password and emails).
adminPagesPathPrefix
The path prefix for the administrators login, lost password and invite pages. The default value is "/admin/".
blogPagesPathPrefix
The path prefix for the blog posts pages. The default value is "/b/".
autoCreateHomePage
Automatically create editable elements container in the home page if no other response is defined. The default value is true.
License
This project is licensed under the MIT License. See the license file for more information.
Author
This addon is created and maintained by the Bear CMS team. Feel free to contact us at support@bearcms.com or bearcms.com.
bearcms/bearframework-addon 适用场景与选型建议
bearcms/bearframework-addon 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.55k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2016 年 06 月 17 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「Bear Framework addon」 「Bear CMS」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 bearcms/bearframework-addon 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 bearcms/bearframework-addon 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 bearcms/bearframework-addon 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
This composer plugin enables installation of GravityForms WordPress plugin and its addons.
Emails addon for Bear Framework
Bear CMS standalone
Dropzone field for Laravel Backpack
This ConcreteCMS/concrete5 addon installs a block type that when added to a page allows you to redirect visitors to this page to another page that you specify or an external URL.
统计信息
- 总下载量: 1.55k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 6
- 依赖项目数: 19
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-06-17