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 3w 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 21% 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

4518d 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

[bitwasp/buffertools

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

64774.5k42](/packages/bitwasp-buffertools)[winter/storm

Winter CMS Storm Library

46251.0k6](/packages/winter-storm)[smile/module-map

Smile Map Utilities Module

10548.8k2](/packages/smile-module-map)[murdercode/nova4-tinymce-editor

Boost your Laravel Nova with the TinyMCE editor.

17178.1k1](/packages/murdercode-nova4-tinymce-editor)

PHPackages © 2026

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