🚀 A lightweight, elegant PHP framework for building modern websites with minimal setup.
- 🎨 Built-in theme system with 15 beautiful color schemes
- 📱 Fully responsive design out of the box
- 📝 Markdown support for content creation
- 🔒 Built-in XSS protection
- 🧩 Component-based architecture
- 📦 Zero external dependencies
- 🎯 Simple API for rapid development
Install via Composer:
composer require kornineqnetwork/xevmium
<?php
require_once 'vendor/autoload.php';
use kornineqnetwork\Xevmium\Run;
$app = new Run();
$app->register();
// Build a simple page
$app->buildSite(
pageTitle: 'My Website',
fileTitle: 'Home',
themeName: 'blue',
navItems: [
['url' => '/', 'title' => 'Home'],
['url' => '/about', 'title' => 'About']
],
content: '<h1>Welcome to my website!</h1>',
copyright: 'Your Name'
);
- blue (default)
- green
- purple
- orange
- red
- teal
- pink
- yellow
- gray
- indigo
- cyan
- amber
- lime
- brown
- deepPurple
$xevmium->createButton('Click Me', '/destination', 'custom-class');
$headers = ['Name', 'Age', 'Location'];
$rows = [
['John Doe', '25', 'New York'],
['Jane Smith', '30', 'London']
];
$xevmium->addTable($headers, $rows);
$markdownParser = new MarkdownParser();
$markdownParser->loadMarkdownPage('content.md');
$app = new Run();
$app->register();
$app->settheme('purple');
$xevmium = $app->build('My Website', 'Custom Page');
$xevmium->buildHeader();
$xevmium->center('start');
$xevmium->createButton('Learn More', '#', 'custom-btn');
$xevmium->center('stop');
$xevmium->buildFooter('Your Company');
Apache 2.0 License. See LICENSE for more information.
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
Give a ⭐️ if this project helped you!