PHPackages                             themeplate/bridge - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. themeplate/bridge

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

themeplate/bridge
=================

A connection point for frontend libraries

v0.8.0(1y ago)010GPL-3.0-onlyPHPPHP ^8.2

Since Mar 7Pushed 1y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (9)Used By (0)

ThemePlate Bridge
=================

[](#themeplate-bridge)

Usage
-----

[](#usage)

```
$router = new ThemePlate\Bridge\Router( 'test' );

// `/test/route`
$router->map(
	'route',
	function (): bool {
		// ...
	}
);

// `/test/[path]`
$router->any(
	'[path]',
	function ( string $path ): bool {
		// $path = [path]
	}
);

// `/test/[filename]`
$router->load( new Loader( __DIR__ . '/templates' ) );
// only handles .php files
$router->load( new Loader( __DIR__ . '/templates', 'action' ) );
// only handles .action.php files

add_action( 'init', array( $router, 'init' ) );
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance46

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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 ~3 days

Total

8

Last Release

412d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/91095d431958c79a7384d515efec2686ca3cd1e1e1a5a42b680309b8e855355a?d=identicon)[kermage](/maintainers/kermage)

---

Top Contributors

[![kermage](https://avatars.githubusercontent.com/u/8350223?v=4)](https://github.com/kermage "kermage (39 commits)")

### Embed Badge

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

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

###  Alternatives

[react/event-loop

ReactPHP's core reactor event loop that libraries can use for evented I/O.

1.3k139.6M664](/packages/react-event-loop)[safran-cassiopee/php-taf-decoder

TAF weather forecast decoder

1211.2k](/packages/safran-cassiopee-php-taf-decoder)[yahnis-elsts/ajax-wrapper

AJAX action wrapper for WordPress

213.3k](/packages/yahnis-elsts-ajax-wrapper)

PHPackages © 2026

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