PHPackages                             rkvcs/apidae - 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. rkvcs/apidae

ActiveLibrary

rkvcs/apidae
============

0.1.2(1y ago)04MITPHPPHP ^8.2

Since Nov 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/rkvcs/apidae)[ Packagist](https://packagist.org/packages/rkvcs/apidae)[ RSS](/packages/rkvcs-apidae/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (5)Versions (4)Used By (0)

Apidae
======

[](#apidae)

Plugin to help create admin pages on WordPress.

Install:

```
composer require rkvcs/apidae
```

Using:

```
// CustomPage.php
use Apidae\Page;

// Page example
class CustomPage extends Page
{
    public function get(): string
    {
        return $this->template
            ->load('index.twig.html')
            ->render(['title' => 'Hello world!']);
    }

    public function post(): string
    {
        $_data = [
            'name' => $this->input('name', 'Caca'),
        ];

        return $this->template
            ->load('index.twig.html')
            ->render($_data);
    }
}
```

How to register:

```
use Apidae\App;
use Apidae\MenuItem;
use Apidae\Page;
use Apidae\resources\JS;
use Apidae\resources\Style;
use Apidae\TwigEngine;

// Creating css and js files
$styleApp = new Style(
    alias: 'cmspp_app_mystyle',
    version: false,
    file: '/style.css',
    deps: [] // dependencies
);

$scriptApp = new JS(
    alias: 'cmspp_app_myscript',
    version: false,
    file: '/myapp.js',
    deps: [] // dependencies
);

// Pointing the folder where css and js files are in
$app = new App(resources: plugins_url('/assets', __FILE__));

// Registering files to the plugin
$app->addStyleToAdmin($styleApp);
$app->addScriptToAdmin($scriptApp);

// Creating the template engine that will be used
$twigEngine = new TwigEngine;
$twigEngine->setFolder(__DIR__.'/templates');

// Custom Page created before
$page = new CustomPage();

// Menu
$mainMenu = new MenuItem(title: 'Hello', path: 'hello');
$mainMenu->setPage($page);

// WordPress registers the pages through the menu
$app->addMenu($mainMenu);

// Setting default template engine
$app->setTemplateEngine($twigEngine);

// Registering the pages and assets on WordPress
$app->createApp();
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~10 days

Total

3

Last Release

530d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/82905a57593b31293a718651099099a9e6724fa6ac3efbc9ea743e14e9f3f5b6?d=identicon)[rkvcs](/maintainers/rkvcs)

---

Top Contributors

[![rkvcs](https://avatars.githubusercontent.com/u/1241395?v=4)](https://github.com/rkvcs "rkvcs (6 commits)")

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.7k509.9M17.0k](/packages/laravel-framework)[pestphp/pest

The elegant PHP Testing Framework.

11.5k59.5M14.2k](/packages/pestphp-pest)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19562.3M1.3k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)

PHPackages © 2026

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