承接 eugenec138/cakephp-cms 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

eugenec138/cakephp-cms

最新稳定版本:v1.0.4

Composer 安装命令:

composer require eugenec138/cakephp-cms

包简介

Cms plugin for CakePHP

README 文档

README

Build Status Latest Stable Version Total Downloads Latest Unstable Version License codecov

About

Content management plugin for CakePHP 3+.

Developed by Qobo, used in Qobrix.

Requirements

Plugins:

Setup

You can install this plugin into your CakePHP application using composer.

The recommended way to install composer packages is:

Install plugin

composer require qobo/cakephp-cms

Load required plugins

bin/cake plugin load Qobo/Utils --bootstrap
bin/cake plugin load Muffin/Trash
bin/cake plugin load Muffin/Slug
bin/cake plugin load Burzum/FileStorage
bin/cake plugin load CakephpTinymceElfinder --routes

Load plugin

bin/cake plugin load Cms --routes --bootstrap

Run migrations

bin/cake migrations migrate -p Burzum/FileStorage
bin/cake migrations migrate -p Cms

Configure AdminLTE theme as per the instructions in Qobo/Utils plugin.

Load CakePHP TinyMCE elFinder helper from initialize() method of src/View/AppView.php:

public function initialize()
{
    $this->loadHelper('Form', ['className' => 'AdminLTE.Form']);
    $this->loadHelper('CakephpTinymceElfinder.TinymceElfinder');
}

To load site management UI component add below lines to your application's bootstrap file.

// config/bootstrap.php
use Cake\Event\EventManager;
use Cms\Event\View\SitesManageListener;
EventManager::instance()->on(new SitesManageListener());

Note, that some of the plugin functionality relies on user authentication being implemented. You can either follow the instructions here or update the references to the Auth component in relevant controllers, models, and template.

Once all is done, navigate to /cms/sites/ to get started with the content management.

WYSIWYG editor

The plugin's WYSIWYG editor is tinyMCE 4.* which is used to create/edit the article content.

Documentation

For documentation see the docs directory of this repository.

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-06-27