PHPackages                             matejicekvojtech/sorted-linked-list - 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. matejicekvojtech/sorted-linked-list

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

matejicekvojtech/sorted-linked-list
===================================

Sorted linked list library. Test task for ShipMonk

0.1.0(8mo ago)00MITPHPPHP ^8.4

Since Aug 15Pushed 8mo agoCompare

[ Source](https://github.com/matejicekvojtech/sorted-linked-list)[ Packagist](https://packagist.org/packages/matejicekvojtech/sorted-linked-list)[ RSS](/packages/matejicekvojtech-sorted-linked-list/feed)WikiDiscussions master Synced 1mo ago

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

Sorted Linked List Library
==========================

[](#sorted-linked-list-library)

This library was created as task for ShipMonk recruiting process.

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

[](#installation)

```
composer require matejicekvojtech/sorted-linked-list
```

Usage
-----

[](#usage)

This list can hold integer or string values sorted in ascending order. Value types of items in single list cannot mix (all values are either integer or string).

### Create list

[](#create-list)

```
use VM\LinkedList\Model\SortedList
/* ... */
$list = new SortedList();
// empty list
```

### Insert value

[](#insert-value)

```
$list->add(123);
// list: 123

$list->add(111);
// list: 111 -> 123
```

### Find value

[](#find-value)

```
$item = $list->find(5);
// item: null (not found)

$item = $list->find(123);
// item: SortedListItem {value: 123, next: null}

$item = $list->find(111);
// item: SortedListItem {
//      value: 111,
//      next: SortedListItem {
//          value: 123,
//          next: null
//      }
//  }
```

### Remove value

[](#remove-value)

```
$list->remove(5);
// list: 111 -> 123 (not found)

$list->remove(111);
// list: 123
```

### Author

[](#author)

[Vojtěch Matějíček](mailto:matejicek.vojtech@gmail.com)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance62

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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

267d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/27f4967cbb7e4f97472f20d75b74651fd21b403ae632072097c8bb69b7b678ad?d=identicon)[matejicekvojtech](/maintainers/matejicekvojtech)

---

Top Contributors

[![matejicekvojtech](https://avatars.githubusercontent.com/u/73776899?v=4)](https://github.com/matejicekvojtech "matejicekvojtech (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/matejicekvojtech-sorted-linked-list/health.svg)

```
[![Health](https://phpackages.com/badges/matejicekvojtech-sorted-linked-list/health.svg)](https://phpackages.com/packages/matejicekvojtech-sorted-linked-list)
```

###  Alternatives

[phpdocumentor/reflection-docblock

With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.

9.4k722.2M1.2k](/packages/phpdocumentor-reflection-docblock)[icanhazstring/composer-unused

Show unused packages by scanning your code

1.7k7.0M188](/packages/icanhazstring-composer-unused)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[phpdocumentor/reflection

Reflection library to do Static Analysis for PHP Projects

12521.4M108](/packages/phpdocumentor-reflection)[sylius/fixtures-bundle

Configurable fixtures for Symfony applications.

517.7M12](/packages/sylius-fixtures-bundle)[sylius/promotion

Flexible promotion management for PHP applications.

28477.8k9](/packages/sylius-promotion)

PHPackages © 2026

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