PHPackages                             h2sf/modular-object - 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. [Framework](/categories/framework)
4. /
5. h2sf/modular-object

ActiveLibrary[Framework](/categories/framework)

h2sf/modular-object
===================

Modular object framework module - H2S Framework

0.1(1y ago)00proprietaryPHP

Since May 4Pushed 1y ago2 watchersCompare

[ Source](https://github.com/h2s-framework/modular-object)[ Packagist](https://packagist.org/packages/h2sf/modular-object)[ RSS](/packages/h2sf-modular-object/feed)WikiDiscussions master Synced 1mo ago

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

H2S Framework modular objects
=============================

[](#h2s-framework-modular-objects)

This module creates classes dynamically, based on the configuration file. This allows for the creation of classes with different attributes and methods, objects can be shared between modules and extended by each module.

Example
-------

[](#example)

Configuration in dm.yml

```
arguments:
  \Siarko\ModularObject\Registry:
    objects:
      \Siarko\Request\Request: # generated class name; All the config below is used to create \Siarko\ModularObject\Object\Config
        baseClassName: \Siarko\Request\AbstractRequest # optional - class will extend this base class
        builders: # optional - class will use these builders in constructor
          - \Siarko\Request\Builder\BaseUrl # these must implement ConstructorBuilderInterface
        properties: # All config below is used to create \Siarko\ModularObject\Object\PropertyConfig
          baseUrl: # name of property
            type: string # type of property
            nullable: true # optional, defaults to false, describes if property can be null
            setter: false # optional, defaults to true, setter will be generated
            default: null # optional, default value of property
            builders: # optional, list of builders that will be used to set this property on first getter call
              - \Siarko\Request\Builder\BaseUrl # these must implement PropertyBuilderInterface
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance48

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

379d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bb4c9c2574f92f292bc0fe150ce64ec061bc94f2a20c0ebf9fec9a0bc3e374e3?d=identicon)[h2s-framework](/maintainers/h2s-framework)

---

Top Contributors

[![Siarko](https://avatars.githubusercontent.com/u/13398512?v=4)](https://github.com/Siarko "Siarko (1 commits)")

### Embed Badge

![Health badge](/badges/h2sf-modular-object/health.svg)

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

###  Alternatives

[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

712181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)[laravel/pail

Easily delve into your Laravel application's log files directly from the command line.

91545.3M590](/packages/laravel-pail)

PHPackages © 2026

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