sebastianks / volcano
A micro flat-file website and blog constructor.
1.0.0
2021-02-14 10:22 UTC
Requires
- php: >=8.0.0
- erusev/parsedown: ^1.7
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.18
This package is auto-updated.
Last update: 2024-11-06 20:29:19 UTC
README
A micro flat-file blog and website constructor.
Features
- No database
- Fast
- Easy to use
- You write your content in beautiful Markdown
- Great with custom designs
Requirements
- PHP 8.0.0 or higher
- Support for
mod_rewrite
(how to set up)
Getting Started
cd ~/path/to/project composer require sebastianks/volcano # IMPORTANT # Copy a slim starter template bundled with Volcano. cp -r vendor/sebastianks/volcano/setup/* .
Volcano will now serve your app from /site/theme/index.php
which at it's lightest can be as slim as:
<?php # Get our App instance $app = require __DIR__ . '/../../app.php'; # This is where the magic happens 🧙♂️ echo $app->render();
That is Volcano at it's barebones. A more realistic real-life example can be found in the Wiki.
What's next?
You just created your first app with Volcano🎉 Now you can go ahead and make a beautiful theme, start composing some content or something else you fancy. It's all up to you.
A couple of resources if you need some information and/or inspiration: