bafs / parvula
An extremely simple & flexible CMS generated from flat files
Requires
- php: >=5.6 || ^7.0
- ext-mbstring: *
- erusev/parsedown-extra: ^0.7
- league/plates: ^3.3
- paragonie/random_compat: ^2.0
- php-jsonpatch/php-jsonpatch: ^3.0
- pimple/pimple: ^3.0
- psr/container: ^1.0
- slim/slim: ^3.8
- symfony/yaml: ^3.2
- tuupola/slim-jwt-auth: ^2.3
- wikimedia/composer-merge-plugin: ^1.4
Requires (Dev)
- filp/whoops: ^2.1
Suggests
- monolog/monolog: Allow Parvula to log errors and exceptions
This package is auto-updated.
Last update: 2024-11-20 03:28:02 UTC
README
An extremely simple & flexible CMS generated from flat files with a complete API
Parvula with the default galaxy theme
Requirements
- PHP 5.6+
- Composer
- URL Rewriting (recommended)
Installation with Composer
Parvula can be install with this single line :
composer create-project bafs/parvula cms
where cms
is the destination folder. Please check the docs if you need more details.
Quick start
Please read the documentation for more information
Edit pages
All pages are located in data/pages/
. You can also create sub directories to better organize your pages.
The basic configuration file is data/config/site.yml
.
There are 2 bundled themes by default: "simple" and "galaxy".
Pages
- Pages must have a title to be listed (in the menu)
- Pages beginning with
_
are hidden pages, not listed but accessible - You can order pages with the index field
- Each page can have multiple sections
Administration
Administration plugin
You can edit pages online at yoursite.com/admin (admin url can be edited in plugins/Admin/config.php
).
Don't forget to chmod 755 data/pages
and change the default password in data/users/users.php
!