multiplane/cockpit-cms-multiplane
Composer 安装命令:
composer require multiplane/cockpit-cms-multiplane
包简介
Addon to add frontend logic to the headless Cockpit CMS v1
关键字:
README 文档
README
This addon is currently in a rewrite stage. Information below may not be accurate.
Main part of Multiplane to add frontend logic to the headless Cockpit CMS v1.
This addon should be installed as part of the multiplane/multiplane repository. See installation instructions over there.
Features
TODO: cleanup/update
- pages and sub pages (e. g. posts)
- multilingual with language prefix, e. g.:
example.com/en/my-page - 2 modes for structured content
- one collection per content type, e. g. a collection named
pagesand a collection namedposts - a single collection named
pages- each entry has a typepageorpost(experimental)
- one collection per content type, e. g. a collection named
- maintenance mode with option for allowed ips
- simple content preview while editing pages
- two basic responsive themes with scss files
- simple privacy notice banner, that gets enabled when clicking on video link
- contact forms - fully functional without javascript
- pre-rendering of markdown fields
- multiple ways to change everything
- full-text search
- sitemap
- atom feeds (experimental)
- ...
Requirements
- PHP >= 8.0
- PDO + SQLite (or MongoDB - not tested)
- GD extension
- pecl intl extension (optional)
- mod_rewrite, mod_versions enabled (on apache)
Make also sure that $_SERVER['DOCUMENT_ROOT'] exists and is set correctly.
Installation
This addon should be installed as part of the multiplane/multiplane repository. See installation instructions over there.
Installation as arbitrary cockpit addon (not recommended)
Copy this repository into /addons and name it Multiplane or use the cli.
via git
cd path/to/cockpit
git clone https://codeberg.org/multiplane/cockpit-cms-Multiplane.git addons/Multiplane
via cp cli
cd path/to/cockpit
./cp install/addon --name Multiplane --url https://codeberg.org/multiplane/cockpit-cms-Multiplane/archive/main.zip
via composer
Make sure, that the path to cockpit addons is defined in your projects' composer.json file.
{
"name": "my/cockpit-project",
"extra": {
"installer-paths": {
"addons/{$name}": ["type:cockpit-module"]
}
}
}
cd path/to/cockpit-root
composer create-project --ignore-platform-reqs raffaelj/cockpit .
composer config extra.installer-paths.addons/{\$name} "type:cockpit-module"
composer require --ignore-platform-reqs multiplane/cockpit-cms-multiplane
Config
Create a profile, name it my-profile and set multiplane to the profile name.
Example config/config.php:
return [
'app.name' => 'My app',
// define Multiplane config via profile
'multiplane' => [
'profile' => 'my-profile',
],
// content i18n
'i18n' => 'en',
'languages' => [
'default' => 'English',
'de' => 'Deutsch',
],
// app i18n
'babel' => [
'languages' => [
'de' => 'Deutsch',
'fr' => 'Francais',
],
],
];
Reserved routes
TODO: cleanup/update
/login- Callingexample.com/loginreroutes to the admin folder, e. g.example.com/cockpit/search- full-text search/getImage- Calling/getImage?src=assets_id?w=100&h=100&m=thumbnailreturns images/thumbnails with predefined settings, that can be adjusted with params/submit/form_nameand/form/form_name- for forms/clearcacheto clear cockpit's cache (only in debug mode)
Copyright and License
Copyright 2019 Raffael Jesche under the MIT license.
See LICENSE for more information.
Credits and third party resources
Without Cockpit CMS, Multiplane couldn't exist. Thanks to Artur Heinze and to all contributors.
multiplane/cockpit-cms-multiplane 适用场景与选型建议
multiplane/cockpit-cms-multiplane 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 11 次下载、GitHub Stars 达 0, 最近一次更新时间为 2023 年 01 月 23 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「cms」 「frontend」 「cockpit」 「multiplane」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 multiplane/cockpit-cms-multiplane 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 multiplane/cockpit-cms-multiplane 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 multiplane/cockpit-cms-multiplane 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
GraphQL authentication for your headless Craft CMS applications.
Set Links with a specific language parameter
Supercharged text field validation.
Query filtering in your frontend
Article CSS-ID Frontend Output Optimization
Frontend support for the MultiColumnWizard
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 7
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-01-23