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

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

fiko/no-object
==============

Not Only Object will return NULL instead of error for undefined property.

2.0.0(4mo ago)00MITPHPPHP &gt;=5.4.0

Since Jun 16Pushed 4mo agoCompare

[ Source](https://github.com/fiko/no-object)[ Packagist](https://packagist.org/packages/fiko/no-object)[ RSS](/packages/fiko-no-object/feed)WikiDiscussions master Synced today

READMEChangelog (4)DependenciesVersions (6)Used By (0)

NO Object (Not Only Object)
===========================

[](#no-object-not-only-object)

It's an object that will return what it's value (only if it has value), but returns NULL if no property or no method found on this object. In an ordinary object you will get an error when calling an undefined property or method, that is why this repo was created, to resolve that problem.

How to Use?
-----------

[](#how-to-use)

### Composer

[](#composer)

```
use Fiko\NoObject\NoObject;

$data = new NoObject([
    "first" => "The first array value.",
    "last"  => "The last array value."
]);

// print all object properties
print_r($data);

// Example of calling undefined property
echo $data->wrong;

// Example of calling defined property
echo $data->first;
```

### Via Composer

[](#via-composer)

Please see `example/composer.php` example

### Manually

[](#manually)

Please see `example/manual.php` example

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance74

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

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

Total

4

Last Release

145d ago

Major Versions

1.1.1 → 2.0.02026-02-09

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/32075735?v=4)[Fiko Borizqy](/maintainers/fiko)[@fiko](https://github.com/fiko)

---

Top Contributors

[![fiko](https://avatars.githubusercontent.com/u/32075735?v=4)](https://github.com/fiko "fiko (8 commits)")

### Embed Badge

![Health badge](/badges/fiko-no-object/health.svg)

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

PHPackages © 2026

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