PHPackages                             rila/rila - 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. [Templating &amp; Views](/categories/templating)
4. /
5. rila/rila

ActiveWordpress-plugin[Templating &amp; Views](/categories/templating)

rila/rila
=========

An extensible object-oriented theme framework for WordPress.

0.11(9y ago)181843[3 issues](https://github.com/RadoslavGeorgiev/rila-framework/issues)[1 PRs](https://github.com/RadoslavGeorgiev/rila-framework/pulls)MITPHPPHP &gt;=5.3.0

Since Sep 3Pushed 8y ago2 watchersCompare

[ Source](https://github.com/RadoslavGeorgiev/rila-framework)[ Packagist](https://packagist.org/packages/rila/rila)[ RSS](/packages/rila-rila/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (2)Versions (7)Used By (0)

Rila Framework for WordPress
============================

[](#rila-framework-for-wordpress)

Rila is a data-oriented framework for WordPress with rapid front-end development in mind. It includes a set of lot of lightweight and highly extendable class wrappers, which let you structure you code properly in a MVC-like manner.

Features
--------

[](#features)

- Wrapper classes, which allow for easy and seamless access to WordPress data.
- Supports pure PHP, Twig and Blade templates out of the box. Other template engines can be easily used.
- Focused on performance: Data is available on demand and is never loaded in advance.
- Integrates seamlessly with plugins for custom fields, has a special helper for Advanced Custom Fields.
- Built with extensibility in mind: You can finally separate your logic from your views properly.
- Well-documented code and thorough documentation
- Extremely intuitive
- Smart default context: Everything, related to the current page is already available and waiting for you.

Quick example
-------------

[](#quick-example)

Your *single.php* (controller) file:

```
rila_view( 'single' )->render();
```

Your *single.twig* (view) file:

```
{% extends "base.twig" %}

{% block content %}
	{{ post.title }}
	Posted on {{ post.date }} at {{ post.date.time }} by {{ post.author.name }}

		{{ post.content }}

	{% if post.categories %}
		Belongs to {{ post.categories }}
	{% endif %}
{% endblock %}
```

Beautiful, isn't it?

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

[](#installation)

1. Download this repository as a WordPress plugin
2. Make sure that you have Composer installed and run `composer install` within the plugin's folder
3. Activate the plugin
4. Read the [wiki](https://github.com/RadoslavGeorgiev/rila-framework/wiki) and benefit

Coolest feature: Data mapping
-----------------------------

[](#coolest-feature-data-mapping)

The concept of data mapping allows you to have consistent and predictable properties for item attributes, meta and more. As an example from within the framework, you could have a definition like this:

```
$this->translate(array(
  'image' => '_thumbnail_id'
));

$this->map(array(
  '_thumbnail_id' => 'image'
));
```

That code allows you you to use `post.image` instead of `post._thumbnail_id` and the value would be an actual image object, so you can go ahead and simply use this within your templates:

```
{{ post.image }}
```

Mapping does not only apply to simple objects though - it's being heavily used throughout the whole plugin. You can read more about the topic in the wiki.

Functionality and docs
----------------------

[](#functionality-and-docs)

All of the functionality of the plugin is described in the [Wiki](https://github.com/RadoslavGeorgiev/rila-framework/wiki).

Author
------

[](#author)

The framwork is being developed by me, Radoslav Georgiev, web developer at [DigitalWerk](https://www.digitalwerk.agency).

Contributions and pull requests are welcome ;)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~126 days

Total

4

Last Release

3207d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5311119?v=4)[Radoslav Georgiev](/maintainers/RadoslavGeorgiev)[@RadoslavGeorgiev](https://github.com/RadoslavGeorgiev)

---

Top Contributors

[![RadoslavGeorgiev](https://avatars.githubusercontent.com/u/5311119?v=4)](https://github.com/RadoslavGeorgiev "RadoslavGeorgiev (48 commits)")[![JuhG](https://avatars.githubusercontent.com/u/10765158?v=4)](https://github.com/JuhG "JuhG (4 commits)")

---

Tags

pluginwordpresstwigbladerila

### Embed Badge

![Health badge](/badges/rila-rila/health.svg)

```
[![Health](https://phpackages.com/badges/rila-rila/health.svg)](https://phpackages.com/packages/rila-rila)
```

###  Alternatives

[timber/timber

Create WordPress themes with beautiful OOP code and the Twig Template Engine

5.7k3.6M128](/packages/timber-timber)[symfony/ux-twig-component

Twig components for Symfony

22018.6M322](/packages/symfony-ux-twig-component)[symfony/ux-live-component

Live components for Symfony

1647.0M117](/packages/symfony-ux-live-component)[symfony/ux-toolkit

A tool to easily create a design system in your Symfony app with customizable, well-crafted Twig components

1682.8k1](/packages/symfony-ux-toolkit)[benjaminmedia/wp-polylang-theme-strings

Polylang Theme Strings with support for Blade syntax

1510.0k](/packages/benjaminmedia-wp-polylang-theme-strings)[mati365/ckeditor5-symfony

CKEditor 5 integration for Symfony

261.9k](/packages/mati365-ckeditor5-symfony)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
