kiksaus/kikcms 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

kiksaus/kikcms

Composer 安装命令:

composer require kiksaus/kikcms

包简介

A CMS based on the Phalcon Framework

README 文档

README

Tests codecov

This video will show you the general UX used for the KikCMS and DataTables created inside the CMS.

KikCMS UX overview

Check out the docs at: https://kikcmsdocs.kiksaus.nl

What is KikCMS and who is it for?

KikCMS is a CMS and high level framework based on the Phalcon framework.

I created it to allow myself to quickly build websites and webapplications without repeating myself, this includes:

  • Login to a backend
  • Managing an online file database
  • Handling multilingual pages and editing content (CMS functionality)
  • Handling pages and templates in the frontend (Frontend CMS functionality)
  • Creating editable DataTables (enabling CRUD, search, sort with a few lines of code)
  • Forms
  • Storing forms data DB
  • Resizing images

KikCMS is for anyone who wants to create a website or webapplication fast without any constriction to style the frontend, while not having to do much to create a really powerful backend.

I estimate that the framework can be used for any project where your client would pay you between $1.000 and $100.000. In cases lower than 1.000 Wordpress might be a better choice, and in cases above 100.000 a lower-level framework might be a better choice for more flexibility. But who knows, I myself haven't reached the upper limit of it's capabilities yet.

When to use KikCMS:

  • You care about performance
  • You want the best user experience for your clients
  • You want to build your own templates (or use standalone templates)
  • You want to be able to build a custom back-end quickly
  • You know how to code

When not to use the KikCMS:

  • You just want to pick some template
  • You don't want to code yourself

Required knowledge

You'll need to know PHP 7.1+, MySQL and HTML. Those are the most important. Twig is used for templates so that might come in handy but is very easy to learn.

Other technologies you don't need to know but might come in handy if you do:

  • SCSS (Styling, like CSS but more powerful)
  • JavaScript (Frontend development)
  • Composer (for loading additional packages)
  • Git (Version control)
  • Gulp (Concat JS/CSS)
  • Docker (For dev enviroment, or even production, though I don't do this myself)
  • Phalcon (The framework KikCMS is build upon)

Guide to setting up a new project from scratch

Boilerplate code

  1. Let's get some boilerplate code, run this in the directory you want your project to be: git clone https://github.com/krazzer/kikcms-boilerplate.git . && rm -rf ./.git
  2. If you haven't already, install composer and make sure the composer command works.
  3. Run composer install
  4. Create symlink for cms assets ln -s ../vendor/kiksaus/kikcms/resources public_html/cmsassets

Docker

  1. Install Docker: https://www.docker.com/get-started

  2. Start Docker, and make sure it is running

  3. Make sure MySQL and Log dirs are created: mkdir ~/.docker-kikdev && mkdir ~/.docker-kikdev/mysql && mkdir ~/.docker-kikdev/logs

  4. and a network is started: docker network create kikdev

  5. Create MySQL and Mailhog containers, replace <password> with your desired password: PASS=<password> docker-compose -f vendor/kiksaus/kikcms/docker/docker-compose-services.yml up -d

  6. Create app container, replacing <password> with desired password again, and <port> with the desired port (e.g. 9001), and <name> with the name of your project: SITE_PORT=<port> docker-compose -f vendor/kiksaus/kikcms/docker/docker-compose-site.yml -p <name> up -d

Setting up DB

Use your favorite GUI like (SequalPro, Navicat, Workbench or PHPMyAdmin) and connect to the MySQL container with these settings, where <password> is the same a you used to setup the MySQL container:

Host: localhost  
Port: 3306
User: root
Pass: <password>
  1. Create a database
  2. Now run the sql from install.sql which came with your boilerplate code. You can remove this file afterwards.
  3. Now edit env/config.ini and replace [DB-PASS] and [DB-NAME]

Test run

Now you're good to go! Test if the app is working in the browser: https://localhost:9001 (or another port if you chose to)

CMS

To be able to login to the CMS, make sure you create a user in the cms_user table, with an e-mail address and role set to developer.

Now go to https://localhost:9001/cms to login (use password lost to activate your account)

How to's

kiksaus/kikcms 适用场景与选型建议

kiksaus/kikcms 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 743 次下载、GitHub Stars 达 59, 最近一次更新时间为 2020 年 07 月 09 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 kiksaus/kikcms 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 kiksaus/kikcms 我们能提供哪些服务?
定制开发 / 二次开发

基于 kiksaus/kikcms 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 59
  • Watchers: 7
  • Forks: 13
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-07-09