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

AbandonedProject

austinw/elevator
================

Assessment for LenderHomePage.com

010PHP

Since Oct 30Pushed 8y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Elevator Assessment Test
========================

[](#elevator-assessment-test)

Instructions
------------

[](#instructions)

First there is an elevator class.

It has a direction (up, down, stand, maintenance), a current floor and a list of floor requests sorted in the direction.

Each elevator has a set of signals: Alarm, Door open, Door close.

The scheduling will be like:

- If available pick a standing elevator for this floor.
- Else pick an elevator moving to this floor.
- Else pick a standing elevator on another floor.

Sample data:

- Elevator standing in first floor
- Request from 6th floor go down to ground(first floor).
- Request from 5th floor go up to 7th floor
- Request from 3rd floor go down to ground
- Request from ground go up to 7th floor.
- Floor 2 and 4 are in maintenance.

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

[](#installation)

Install [Composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx).

Terminal:

```
$ git clone git@github.com:AustinW/elevator.git
$ cd elevator
$ php composer.phar install

```

Testing
-------

[](#testing)

```
$ php composer.phar phpunit

```

Or:

```
$ phpunit

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

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/9444ae0906d85682c4700758c9ac0b7903e693557da4b6a876c11eff026bbcdc?d=identicon)[AustinW](/maintainers/AustinW)

---

Top Contributors

[![AustinW](https://avatars.githubusercontent.com/u/333398?v=4)](https://github.com/AustinW "AustinW (15 commits)")

### Embed Badge

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

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

PHPackages © 2026

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