Lightweight
You can read the whole core in one evening. No YAML configs, dependency containers or code generation — just PHP.
- the core is about 330 lines
- install by copying a folder
- no Composer, no vendor/
olala is a minimalist MVC framework. A four-file core with no Composer, no template engine and no magic: a router, controllers, views and a set of modules a website actually needs.
O-la-la!Only 4 files?
Why olala
The framework doesn't hide PHP behind abstractions: you write ordinary classes and ordinary templates, and olala simply wires them together.
You can read the whole core in one evening. No YAML configs, dependency containers or code generation — just PHP.
A request goes straight through: URL → controller → template. There are simply no intermediate layers to waste time.
Modules with controllers and views, shared page layouts and models — a familiar structure with no surprises.
site/, the core in olala/Vibe coding
The olala codebase is so compact that any LLM can read the entire framework in a single pass
and immediately understand how it works. Your assistant doesn't have to dig through vendor/ and thousands of files —
you pay for your site's tokens, not for studying the framework.
33 files, about 60 KB of code. A rough estimate that depends on the model's tokenizer.
Read the olala/ folder — that's the entire framework.
Add a catalog module: a product list at /catalog and a product page at /catalog/:slug.Routing
No route tables for regular pages: a three-part URL points unambiguously to a module, a controller and an action.
site/modules/blog/controllers/postController.phpBlogPostControllershowAction()site/modules/blog/views/show.phpHow it works
Anything that isn't a file is sent to index.php.
kernel::init() turns on autoloading, then config.php is read.
Parses the URL and loads the controller file.
The action prepares data and returns $this->render().
The result goes into the layout's $content and is sent to the browser.
Everything at hand
Your code lives separately from the framework. Common tasks already have modules — just import them with use and they load themselves.
olala.glenn.ru/ ├── index.php # entry point ├── config.php # settings, routes ├── .htaccess ├── olala/ # framework core └── site/ # your site ├── layouts/ │ └── default/ │ └── index.php # layout ├── models/ # models └── modules/ └── blog/ ├── controllers/ └── views/
Copy the framework, run the installer and add your first page. The step-by-step guide walks you through it.