PHPackages                             jkphl/elevator - 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. jkphl/elevator

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

jkphl/elevator
==============

Elevator pattern implementation for PHP projects

v0.1.0(8y ago)122MITPHPPHP &gt;=5.6

Since Jul 3Pushed 8y ago1 watchersCompare

[ Source](https://github.com/jkphl/elevator)[ Packagist](https://packagist.org/packages/jkphl/elevator)[ Docs](https://github.com/jkphl/elevator)[ RSS](/packages/jkphl-elevator/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

jkphl/elevator
==============

[](#jkphlelevator)

[![Build Status](https://camo.githubusercontent.com/97e0cdd582cc781fccaa91b8f8263c38baa2802d0a6a9b49ba5f0b4e41e43c54/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6a6b70686c2f656c657661746f722e737667)](https://travis-ci.org/jkphl/elevator) [![Coverage Status](https://camo.githubusercontent.com/e0c237769983baeb407095d158be61ce657f61db65f0fafaae1e2ec120a7f2ae/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6a6b70686c2f656c657661746f722f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/jkphl/elevator?branch=master) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/2e14efb7b9fda084159efb73e6c0bd59298acf49a386f05a7fdc514d5e95967c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a6b70686c2f656c657661746f722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/jkphl/elevator/?branch=master) [![Code Climate](https://camo.githubusercontent.com/81fbd6e1d18f161a404168938934459eb2316c59ddd46fe77b93c90178eb53a3/68747470733a2f2f6c696d612e636f6465636c696d6174652e636f6d2f6769746875622f6a6b70686c2f656c657661746f722f6261646765732f6770612e737667)](https://lima.codeclimate.com/github/jkphl/elevator) [![Documentation Status](https://camo.githubusercontent.com/048c6b84c88bf9675c3deeb061f50d79d094b3791a47064ed61f1a7dfc150683/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f656c657661746f722d7061747465726e2f62616467652f3f76657273696f6e3d6c6174657374)](http://elevator-pattern.readthedocs.io/en/latest/) [![Clear architecture](https://camo.githubusercontent.com/46cba3a6536205bb0009f2aabb66c4ae732b162bb6321610f94c6dd6cf6fe74c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436c6561722532304172636869746563747572652d2545322539432539342d627269676874677265656e2e737667)](https://github.com/jkphl/clear-architecture)

> Elevator pattern — type casting of user defined objects in PHP

Documentation
-------------

[](#documentation)

Please find the [project documentation](doc/index.md) in the `doc` directory. We recommend [reading it](http://elevator-pattern.readthedocs.io/) via *Read the Docs*.

Installation
------------

[](#installation)

This library requires PHP &gt;=5.6 or later. I recommend using the latest available version of PHP as a matter of principle. It has no userland dependencies.

Dependencies
------------

[](#dependencies)

[![Composer dependency graph](https://camo.githubusercontent.com/2382c2d74abe5100227ad75e7950e3810d6d25136cf07cc84fce16d5ffb558dd/68747470733a2f2f7261776769742e636f6d2f6a6b70686c2f656c657661746f722f6d61737465722f646f632f646570656e64656e636965732e737667)](https://camo.githubusercontent.com/2382c2d74abe5100227ad75e7950e3810d6d25136cf07cc84fce16d5ffb558dd/68747470733a2f2f7261776769742e636f6d2f6a6b70686c2f656c657661746f722f6d61737465722f646f632f646570656e64656e636965732e737667)

Quality
-------

[](#quality)

To run the unit tests at the command line, issue `composer install` and then `phpunit` at the package root. This requires [Composer](http://getcomposer.org/) to be available as `composer`, and [PHPUnit](http://phpunit.de/manual/) to be available as `phpunit`.

This library attempts to comply with [PSR-1](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md), [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md), and [PSR-4](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md). If you notice compliance oversights, please send a patch via pull request.

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

[](#contributing)

Found a bug or have a feature request? [Please have a look at the known issues](https://github.com/jkphl/elevator/issues) first and open a new issue if necessary. Please see [contributing](CONTRIBUTING.md) and [conduct](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Joschi Kuphal](https://jkphl.is)
- [All Contributors](../../contributors)

License
-------

[](#license)

Copyright © 2017 [Joschi Kuphal](https://jkphl.is) / . Licensed under the terms of the [MIT license](LICENSE).

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

3237d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9654aeebce6e58572ec7ee6e8b30a2f8f41a54a3c7a9580d1df090996f5cfdbb?d=identicon)[jkphl](/maintainers/jkphl)

---

Top Contributors

[![jkphl](https://avatars.githubusercontent.com/u/4446936?v=4)](https://github.com/jkphl "jkphl (11 commits)")

---

Tags

clear-architecturelayered-architecturelayersphptype-castingvalue-object

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/jkphl-elevator/health.svg)

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

###  Alternatives

[websemantics/pyrocms-theme

PyroCMS Plus Admin Theme

151.3k](/packages/websemantics-pyrocms-theme)

PHPackages © 2026

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