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
composer create-project webrium/webrium my-app cd my-app && npm install npm run dev
Then open your browser at http://localhost:8000
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'); });
<?php namespace App\Controllers; class UserController { public function index() { $users = User::all(); return view('users.index', compact('users')); } public function show($id) { return view('users.show', ['user' => User::find($id)]); } public function store() { User::create(input()); return ['status' => 'created']; } }
The full documentation lives at webrium.dev/docs, organized into five sections:
- Getting Started — installation, configuration, request lifecycle
- Core — routing, controllers, requests/responses, sessions, validation, uploads, HTTP client, JWT, hashing, events, filesystem, localization, error handling
- Database — query builder, ORM, relationships, migrations, seeders
- Template Engine — syntax, layouts, components, hybrid caching
- Console — the
webriumCLI: scaffolding, migrations, plugins
The same documentation is also maintained as plain Markdown in the webrium/docs repository — useful for offline reading, contributing fixes, or integrating with AI assistants (an llms.txt and a Claude .skill package are bundled there).
Webrium is powered by webrium/core — a standalone PHP component library that can be used independently in any project.
Webrium is open-sourced software licensed under the MIT license.