Skip to content

mcroitor/yacms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yacms

Yet another CMS, the 4th iteration.

Rewritten, uses microservices. Default database is sqlite.

how to install

Do this:

git clone https://github.com/mcroitor/yacms
php -t yacms/ -S localhost:8000

Site will be started at http://localhost:8000 using PHP built-in server. Access it and firstly you will be redirected to installation script.

Structure:

yacms
+-- core - default functionality
|   +-- database - defines classes for DB access
|   +-- logger - common logger class
|   +-- router - router class
|   +-- template - simple template filling
|   +-- module.interface.php - common interface for modules
|   +-- modulemanager.class.php - module manager
|   +-- page.class.php - page rendering
|   +-- site.class.php - static class - site agregator
+-- help - documentation
+-- install - installation scripts
|   +-- config.sample.php - configuration file sample
|   +-- index.php - installation script
|   +-- sqlite.sql - initial structure of tables
|   +-- stages.php - installation staging
+-- libs - external libraries
|   +-- api.js - simple ajax requests
+-- modules - extentions
|   +-- article - article sample module
|   +-- user - user module
|       +-- db - install / uninstall
|       +-- templates - module templates
|       +-- user.class.php - module implementation
+-- site templates - common templates
+-- themes - themes
|   +-- default - default theme
+-- config.php - configuration file
+-- index.php - entry point

About

Yet another php+mysql CMS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published