webrium/core

PHP Framework

Maintainers

Package info

github.com/webrium/core

pkg:composer/webrium/core

Statistics

Installs: 1 062

Dependents: 5

Suggesters: 0

Stars: 3

Open Issues: 0


README

Webrium Core Cover

Webrium Core

The Lightweight Engine for Modern PHP Applications

Latest Stable Version Total Downloads License

Fast. Modular. Elegant.

🌟 Overview

Webrium Core is a high-performance PHP component library designed to simplify web development. While it serves as the backbone of the Webrium Framework, it is built to be completely standalone. Whether you're building a microservice or a full-scale web app, Webrium Core provides the essential tools without the bloat.

📚 Comprehensive Documentation (Wiki)

Explore the full power of Webrium Core through our detailed guides:

🚀 Core Essentials

🌐 Request & Response

🛡️ Security & Validation

🛠️ Files, Storage & Utilities

  • File Manager: Read, write, stream, download, and manage files and directories.
  • Session Manager: Store and retrieve session data, flash messages, and counters.
  • File Upload: A streamlined way to handle file uploads safely.

🚀 Quick Start

1. Installation

Get started via Composer:

composer require webrium/core

2. Basic Setup (index.php)

<?php
require_once __DIR__ . '/vendor/autoload.php';

use Webrium\App;
use Webrium\Debug;
use Webrium\Route;

Debug::enableErrorDisplay(true);
Debug::initialize();

App::initialize(__DIR__);

Route::get('/', function() {
    return "Welcome to Webrium Core! 🚀";
});

App::run();