PHPackages                             webrium/webrium - 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. [Framework](/categories/framework)
4. /
5. webrium/webrium

ActiveProject[Framework](/categories/framework)

webrium/webrium
===============

PHP Framework

3.0.2(1mo ago)122603MITPHPPHP &gt;=8.1.0

Since May 29Pushed 2w ago1 watchersCompare

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

READMEChangelog (10)Dependencies (13)Versions (49)Used By (0)

 [![Webrium Framework](https://repository-images.githubusercontent.com/267562756/9e8d4739-edc9-4d3e-a3e7-c9c209f9cf15)](https://repository-images.githubusercontent.com/267562756/9e8d4739-edc9-4d3e-a3e7-c9c209f9cf15)Webrium
=======

[](#webrium)

### Fast, Lightweight PHP Framework for Modern Web Applications

[](#fast-lightweight-php-framework-for-modern-web-applications)

[![Latest Stable Version](https://camo.githubusercontent.com/6381a92ac16ba3ae93f9b80596682dadb42e2716c035e66731a8d7d84e7362eb/68747470733a2f2f706f7365722e707567782e6f72672f7765627269756d2f7765627269756d2f76)](https://packagist.org/packages/webrium/webrium)[![Total Downloads](https://camo.githubusercontent.com/ba711f6458a2dc17a51dfa7c476d990e9f4eab9c045498f95e03523c56d104f2/68747470733a2f2f706f7365722e707567782e6f72672f7765627269756d2f7765627269756d2f646f776e6c6f616473)](https://packagist.org/packages/webrium/webrium)[![License](https://camo.githubusercontent.com/db1a109e73f3c5ff6765b3e60d8fad1fa7f539d62cd4e61f10948d73bc3924b1/68747470733a2f2f706f7365722e707567782e6f72672f7765627269756d2f7765627269756d2f6c6963656e7365)](https://packagist.org/packages/webrium/webrium)

**Fast · Modular · Elegant**

---

About Webrium
-------------

[](#about-webrium)

**Webrium** is a PHP web application framework built for developers who value simplicity, speed, and clean structure. It provides everything you need to build web applications and REST APIs without unnecessary complexity.

✔ Fast and lightweight
✔ MVC architecture
✔ Powerful routing system
✔ Blade-compatible templating
✔ Built-in database query builder (FoxDB)
✔ Vite + TailwindCSS configured out of the box

---

Installation
------------

[](#installation)

```
composer create-project webrium/webrium my-app
cd my-app && npm install
npm run dev
```

Then open your browser at `http://localhost:8000`

---

Routing
-------

[](#routing)

Webrium's routing API will feel immediately familiar if you've used Laravel.

```
use Webrium\Route;

Route::get('/', function () {
    return 'Hello, World!';
});

Route::get('/users', 'UserController@index');
Route::post('/users', 'UserController@store');
Route::get('/users/{id}', 'UserController@show');

Route::group(['prefix' => '/api', 'middleware' => 'AuthMiddleware@handle'], function () {
    Route::get('/profile', 'ProfileController@index');
});
```

---

Controllers
-----------

[](#controllers)

```
