PHPackages                             mrferos/selfie - 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. mrferos/selfie

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

mrferos/selfie
==============

A modern method of cloning in PHP

17PHP

Since Feb 13Pushed 11y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Selfie
======

[](#selfie)

Clone like it's 2015.

```
$d = new stdClass;
$d->foo = "rawr";

var_dump(selfie($d));
```

Installing via Composer
-----------------------

[](#installing-via-composer)

```
php composer.phar require "mrferos/selfie"
```

Then include vendor/autoload.php in your project and `selfie` will be available

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

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://avatars.githubusercontent.com/u/69551?v=4)[Andres Galindo](/maintainers/mrferos)[@mrferos](https://github.com/mrferos)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mrferos-selfie/health.svg)

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

PHPackages © 2026

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