/hummingbird-cms

A cms built with PHP Phalcon 4 and UIkit 3

Primary LanguageJavaScript

Hummingbird CMS (ALPHA)

The CMS based on Phalcon v4 and UIKit v3

Requirements

  • Nginx
  • PHP >= 7.2
  • MySql >= 5.7.9
  • Phalcon >= 4.1.0
  • PHP ZIP extension
  • Composer
  • Swoole (optional for the web socket)

Included

Core features

  • Multilingual
  • Universal Content Manager
  • Custom fields
  • Menus
  • Widgets
  • Plugins
  • Mailer (Thanks phpmailer/phpmailer)
  • Users, roles, permissions
  • Templates (support assignment for menus)
  • Custom admin URL
  • ...

Core applications

  • Web application
  • Api application
  • Fly application (all fly localed at src/app/Console/Fly)
    • Plugin php fly plugin:Cms/Backup: Run a backup under console Official Backup plugin
    • QueueJob php fly queueJob:all: execute all the queue jobs
    • Schedule php fly s:5: run the task every 5 seconds
    • Socket php fly socket host=0.0.0.0 port=2053: Thanks Swoole, Official Chat Sample plugin
    • Tinker php fly tinker: A runtime developer console, interactive debugger and REPL for PHP.

Install packages channel

Core assets

  • Mini query js (official)
  • UIkit v3.6.18

Installation for Development

Clone this repo

git clone https://github.com/mvanvu/hummingbird-cms.git

Add current user to www-data group (to fix write config file during install)

sudo usermod -a -G www-data $USER

Chmod permissions

cd hummingbird-cms
sudo chgrp -R www-data src
sudo chmod -R g+w src
sudo chmod -R g+s src

Composer install

cd src
composer install

Build with the docker

cd ../
docker-compose build
docker-compose up -d

Run the fly from the docker

docker-compose exec ubuntu-18.4 bash
cd /var/www/hummingbird.local
php fly tinker

Start to install

Browse this URL http://localhost:9000/ and enjoy

Official plugins ([group] - [name]: [URL])