PHPackages                             webrium/core - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. webrium/core

ActiveLibrary[Security](/categories/security)

webrium/core
============

A lightweight set of PHP utility classes for common web tasks: routing, HTTP requests and headers, sessions, validation, file uploads, JWT, and hashing.

5.0.6(1mo ago)71.6k25MITPHPPHP ^8.1CI failing

Since May 28Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/webrium/core)[ Packagist](https://packagist.org/packages/webrium/core)[ RSS](/packages/webrium-core/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (5)Versions (124)Used By (5)

 [![Webrium Core Cover](https://repository-images.githubusercontent.com/265541994/1532aafa-589a-40fc-914b-ee9b8c9ab13f)](https://repository-images.githubusercontent.com/265541994/1532aafa-589a-40fc-914b-ee9b8c9ab13f)Webrium Core
============

[](#webrium-core)

### The Lightweight Engine for Modern PHP Applications

[](#the-lightweight-engine-for-modern-php-applications)

[![Latest Stable Version](https://camo.githubusercontent.com/be5500bc176bbc89aaa9cf33946404a8e7d7a10de08637c4bba07c7864ebaf02/687474703a2f2f706f7365722e707567782e6f72672f7765627269756d2f636f72652f763f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/webrium/core)[![Total Downloads](https://camo.githubusercontent.com/a4525ca099d2bd8d4cd7673c5079326c12e558da807fa5b80e0cc641eeeedb7a/687474703a2f2f706f7365722e707567782e6f72672f7765627269756d2f636f72652f646f776e6c6f6164733f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/webrium/core)[![License](https://camo.githubusercontent.com/9d902bf1f5651077be8bab72940c30763fb55aad96925266b3753df0c062587b/687474703a2f2f706f7365722e707567782e6f72672f7765627269756d2f636f72652f6c6963656e73653f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/webrium/core)

**Fast · Modular · Elegant**

[**webrium.dev**](https://webrium.dev) · [Documentation](https://webrium.dev/docs/v5/core/introduction) · [GitHub](https://github.com/webrium)

---

🌟 Overview
----------

[](#-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](https://github.com/webrium/webrium), it is built to be completely **standalone** — drop it into any PHP project and use only what you need.

It provides routing, controllers, requests/responses, sessions, validation, file uploads, an HTTP client, JWT, hashing, events, filesystem helpers, localization, and a unified error handler — with no required dependencies beyond PHP itself.

🚀 Quick Start
-------------

[](#-quick-start)

### 1. Installation

[](#1-installation)

```
composer require webrium/core
```

### 2. Basic Setup (`index.php`)

[](#2-basic-setup-indexphp)

```
