All Projects → alexander-torosh → Yona Cms

alexander-torosh / Yona Cms

Licence: other
CMS based on Phalcon PHP Framework with modular structure

Labels

Projects that are alternatives of or similar to Yona Cms

docker-env
使用Docker搭建的PHP7的开发环境,支持Phalcon、Yaf等C语言框架
Stars: ✭ 30 (-91.98%)
Mutual labels:  phalcon
dashninja-fe
Dash Ninja Front-End (Public Rest API+HTML+JS)
Stars: ✭ 22 (-94.12%)
Mutual labels:  phalcon
Zephir
Zephir is a compiled high level language aimed to the creation of C-extensions for PHP.
Stars: ✭ 3,086 (+725.13%)
Mutual labels:  phalcon
php-orm-benchmark
The benchmark to compare performance of PHP ORM solutions.
Stars: ✭ 82 (-78.07%)
Mutual labels:  phalcon
phalcon-micro-rest-api-skeleton
This is a basic API REST skeleton written on Phalcon PHP. Great For building an MVP for your frontend app (Vue, react, angular, or anything that can consume an API)
Stars: ✭ 57 (-84.76%)
Mutual labels:  phalcon
Core
Free, easy to setup PBX for small business based on Asterisk 16 core
Stars: ✭ 190 (-49.2%)
Mutual labels:  phalcon
alconSeek
alconSeek is an Application Skeleton (Phalcon+Xunsearch) for Develop Full-text Search Api.
Stars: ✭ 16 (-95.72%)
Mutual labels:  phalcon
Vokuro
Sample application for Phalcon Framework (Acl, Auth, Security)
Stars: ✭ 350 (-6.42%)
Mutual labels:  phalcon
homebrew-tap
Official Homebrew tap for Phalcon PHP Framework (brew install phalcon)
Stars: ✭ 14 (-96.26%)
Mutual labels:  phalcon
Manaphp
ManaPHP Framework: Swoole+FPM
Stars: ✭ 271 (-27.54%)
Mutual labels:  phalcon
phalcon-throttler
Phalcon Throttler is a Rate Limiter for the PHP Phalcon Framework.
Stars: ✭ 19 (-94.92%)
Mutual labels:  phalcon
phalconist
Resources catalog for Phalcon Framework
Stars: ✭ 28 (-92.51%)
Mutual labels:  phalcon
phalcon
[WIP] Phalcon Framework. Work will continue after release of v5.0
Stars: ✭ 138 (-63.1%)
Mutual labels:  phalcon
blog
Phalcon Framework's blog
Stars: ✭ 32 (-91.44%)
Mutual labels:  phalcon
Docs
Phalcon Framework documentation
Stars: ✭ 305 (-18.45%)
Mutual labels:  phalcon
falconplus
falconplus - for phalcon+plus
Stars: ✭ 14 (-96.26%)
Mutual labels:  phalcon
element
Element CMF
Stars: ✭ 16 (-95.72%)
Mutual labels:  phalcon
Forum
Phalcon official Forum
Stars: ✭ 358 (-4.28%)
Mutual labels:  phalcon
Invo
Sample application for the Phalcon PHP Framework
Stars: ✭ 342 (-8.56%)
Mutual labels:  phalcon
phalcon-authmiddleware
Auth Middleware component for Phalcon.
Stars: ✭ 27 (-92.78%)
Mutual labels:  phalcon

Yona CMS

Build Status Scrutinizer Code Quality

Yona CMS - open source content management system (CMS). Written in Phalcon PHP Framework (version 3.x supported)

Has a convenient modular structure. Has simple configuration and architecture. Can be easily modified for any task with any loads.

Project website

New Modern Yona CMS 2 with Phalcon 4.0 and PHP 7.3

Check ongoing development process in the branch v2.0.0

PHP 7 support, Docker

For using complete Docker stack check this branch php7.0

Installation

Composer

Run

composer create-project oleksandr-torosh/yona-cms -s dev

Or create composer.json file and install dependencies:

{  
    "require": {  
        "oleksandr-torosh/yona-cms": "dev-master"  
    }  
}
composer install

After some time, do not forget run composer update for update dependencies:

composer update

Composer is required. It will install required libraries. If you have error with autoload.php file, the reason - missed composer update installation step.

How to install Composer

Permissions

chmod a+w data -R
chmod a+w public/assets -R
chmod a+w public/img -R
chmod a+w public/robots.txt

Nginx

Example of configuration for php-fpm + nginx. Parameter APPLICATION_ENV has value “development”. Don’t forget remove it on production server.

server {

    listen   80;
    server_name yona-cms.dev;

    index index.php;
    set $root_path '/var/www/yona-cms/public';
    root $root_path;

    try_files $uri $uri/ @rewrite;

    location @rewrite {
        rewrite ^/(.*)$ /index.php?_url=/$1;
    }

    location ~ \.php {
        fastcgi_pass unix:/var/run/php5-fpm.sock;
        # fastcgi_pass 127.0.0.1:9000;

        fastcgi_index index.php;

        include /etc/nginx/fastcgi_params;

        fastcgi_split_path_info       ^(.+\.php)(/.+)$;
        fastcgi_param PATH_INFO       $fastcgi_path_info;
        fastcgi_param APPLICATION_ENV "development";
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    }

    location ~* ^/(css|img|js|flv|swf|download)/(.+)$ {
        root $root_path;
    }

    location ~ /\.ht {
        deny all;
    }

}

Apache

.htaccess file are ready configured

Admin dashboard

Open http://yona-cms/admin and auth:

  • login: yona
  • password: yonacmsphalcon

Change admin user password and delete yona user.

Database

Edit /app/config/environment/development.php and setup database connection. Import MySQL dump file yona-cms.sql

Phinx migrations

https://phinx.org/ Library for creation, executing and rollback migrations

Creation migration class in /data/migrations

php vendor/bin/phinx create NewMigrationName

Status

php vendor/bin/phinx -e development status

Executing new migrations

php vendor/bin/phinx -e development migrate

Rollback

php vendor/bin/phinx -e development rollback

You can set default environment for your localhost user

sudo nano ~/.bashrc

Add line

export PHINX_ENVIRONMENT=development

Features

  • Yona CMS saves a lot of time in starting necessary basic functionality for any project
  • The modular structure with a convenient hierarchy that is based on namespaces
  • Each module can serve as a separate independent component. Have its own routes, helpers, css, js assets
  • Multi-lingual. Manage an unlimited number of languages and translations directly from admin
  • Yona CMS is really fast!

Current version and updates in CHANGELOG.md

Requirements

  • php 5.6+
  • phalcon 3.0.0+
  • mysql
  • php-intl
  • apache (+mod_rewrite) or nginx
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].