Skip to content

Repository files navigation

Webrium Documentation

This repository holds the official documentation for Webrium — a lightweight, modular PHP framework for building web applications and JSON APIs.

The contents of this repository are rendered as the documentation pages on webrium.dev.


What is Webrium?

Webrium is built around four small, focused packages that work together as a full-stack framework — or independently in any PHP project:

PackagePurposeRepository
webrium/coreRouting, controllers, requests, responses, sessions, validation, uploads, HTTP client, JWT, hashing, events, error handlinggithub.com/webrium/core
webrium/foxdbQuery builder, schema/migrations, ORM, relationships, collections, paginationgithub.com/webrium/foxdb
webrium/viewBlade-compatible templating engine with hybrid static cachinggithub.com/webrium/view
webrium/consoleThe webrium CLI for scaffolding, migrations, plugins, and moregithub.com/webrium/console

The webrium/webrium repository is the application skeleton that wires the four packages together with a sensible directory layout, default configuration, and an asset pipeline — a working application you can start building on immediately.

composer create-project webrium/webrium my-app

Each package is also independently usable. If you only need the database layer, install webrium/foxdb. If you only need the templating engine, install webrium/view. The documentation for each module begins with a self-contained introduction covering standalone installation.


Documentation

Getting Started

The full framework — what it is, how to install it, and how a request flows through it.

Core

The framework's core: routing, controllers, requests, responses, sessions, validation, uploads, HTTP client, JWT, hashing, events, filesystem, localization, and error handling.

Database

FoxDB — the query builder, ORM, schema builder, migrations, and seeders.

Template Engine

The view engine — a Blade-compatible templating system with hybrid static caching and an Editor.js parser.

Console

The webrium command-line toolkit — scaffolding, migrations, database management, and plugins.


Contributing

Found a typo, an outdated example, or a section that could be clearer? Pull requests and issues are very welcome. For larger structural changes, please open an issue first to discuss.

License

The documentation in this repository is released under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors