PHPackages                             fdt2k/baseobject - 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. fdt2k/baseobject

ActiveLibrary

fdt2k/baseobject
================

ROOT style object for php

082PHP

Since Nov 1Pushed 8y ago1 watchersCompare

[ Source](https://github.com/FDT2k/php-root-object)[ Packagist](https://packagist.org/packages/fdt2k/baseobject)[ RSS](/packages/fdt2k-baseobject/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

```
ROOT object for php providing the following features

1. Create function constructor.
Allow to instanciate and chain

$class::create()->foo();

2. Allow retrieving inherited classes and interfaces

3. Magic setter and getter with builtin functions

  //set and get

  $instance->setFooVar('hello world');
  //returns nothing

  $instance->getFooVar();
  // returns hello world;

  $instance->hasFooVar();
  //returns true

  $instance->hasBarVar();
  //return false

  //iterate if the content of fooVar is an Array and call the function parameter. If it's not an array it only call the callback with the value
  $instance->withFooVar(function($value){});
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f50e16e688d42f00b49a0c87c28745536214d407b5490952a91c5308e1399af6?d=identicon)[fdt2k](/maintainers/fdt2k)

---

Top Contributors

[![FDT2k](https://avatars.githubusercontent.com/u/5261645?v=4)](https://github.com/FDT2k "FDT2k (9 commits)")

### Embed Badge

![Health badge](/badges/fdt2k-baseobject/health.svg)

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

PHPackages © 2026

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