基于 Phalcon PHP 框架的 CMS,具有模块化结构
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.
Check ongoing development process in the branch v2.0.0
For using complete Docker stack check this branch php7.0
Run
composer create-project oleksandr-torosh/yona-cms -s devOr create composer.json file and install dependencies:
{
"require": {
"oleksandr-torosh/yona-cms": "dev-master"
}
}composer installAfter some time, do not forget run composer update for update dependencies:
composer updateComposer is required. It will install required libraries. If you have error with autoload.php file, the reason - missed composer update installation step.
chmod a+w data -R
chmod a+w public/assets -R
chmod a+w public/img -R
chmod a+w public/robots.txtExample of configuration for php-fpm + nginx. Parameter APPLICATION_ENV has value “development”. Don’t forget remove it on production server.
….htaccess file are ready configured
Open http://yona-cms/admin and auth:
Change admin user password and delete yona user.
Edit /app/config/environment/development.php and setup database connection. Import MySQL dump file yona-cms.sql
https://phinx.org/ Library for creation, executing and rollback migrations
Creation migration class in /data/migrations
php vendor/bin/phinx create NewMigrationNameStatus
php vendor/bin/phinx -e development statusExecuting new migrations
php vendor/bin/phinx -e development migrateRollback
php vendor/bin/phinx -e development rollbackYou can set default environment for your localhost user
sudo nano ~/.bashrcAdd line
export PHINX_ENVIRONMENT=developmentCurrent version and updates in CHANGELOG.md
暂无开放 Issues,或尚未同步最近议题。