PHPackages                             raphahardt/modularphp - 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. raphahardt/modularphp

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

raphahardt/modularphp
=====================

AMD for PHP, like RequireJS or AngularJS

v0.1.0(12y ago)012MITPHPPHP &gt;=5.3.0

Since Feb 8Pushed 12y ago1 watchersCompare

[ Source](https://github.com/raphahardt/modularphp)[ Packagist](https://packagist.org/packages/raphahardt/modularphp)[ Docs](https://github.com/raphahardt/modularphp)[ RSS](/packages/raphahardt-modularphp/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

modularphp
==========

[](#modularphp)

Split your application logic in AMD (Asynchronous Module Definition), like RequireJS or AngularJS. This library is experimental and is not already fully tested. USE AT YOUR OWN RISK!

Usage
-----

[](#usage)

`use Modular/Module;Module::create('moduleA', array('moduleB'), function ($app) {// your application logic here});Module::create('moduleB', function ($app) {// you can change the $app var here too and the changes applies to moduleA});``// select the initial moduleModule::bootstrap('moduleA', new \Application()); // your application object`

License
=======

[](#license)

This code is under MIT license.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Total

2

Last Release

4473d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/640af613877fe943295322fe3d2b1b0b441a5c63a70c2853055d7a811384c020?d=identicon)[raphahardt](/maintainers/raphahardt)

---

Top Contributors

[![raphahardt](https://avatars.githubusercontent.com/u/4107730?v=4)](https://github.com/raphahardt "raphahardt (2 commits)")

### Embed Badge

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

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

###  Alternatives

[magepow/categories

Shows categories in the form of a grid or list, on category pages, home page or any other page.

4018.8k](/packages/magepow-categories)[mmikkel/child-me

Easily create child elements

2048.6k1](/packages/mmikkel-child-me)

PHPackages © 2026

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