PHPackages                             sdn/test-simple-car-repository - 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. sdn/test-simple-car-repository

ActiveLibrary

sdn/test-simple-car-repository
==============================

Package simple in-memory repository of a car for cross-platform grafts tests on graftcode

v0.1.0(1mo ago)09MITPHPPHP ^7.4 || ^8.0

Since Mar 11Pushed 1mo agoCompare

[ Source](https://github.com/grft-dev/sdn-test-simple-car-repository)[ Packagist](https://packagist.org/packages/sdn/test-simple-car-repository)[ Docs](https://github.com/grft-dev/sdn-test-simple-car-repository)[ RSS](/packages/sdn-test-simple-car-repository/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

sdn/test-simple-car-repository
==============================

[](#sdntest-simple-car-repository)

Simple car in-memory repository.

Install
-------

[](#install)

```
composer require sdn/test-simple-car-repository
```

Usage
-----

[](#usage)

```
use GrftTestSimpleCarRepository\InMemorySimpleCarRepository;
use GrftTestSimpleCar\SimpleCar;

$repository = new InMemorySimpleCarRepository();

// Get all cars (pre-seeded with 5 sample cars)
$cars = $repository->getAll();

// Add a new car
$car = new SimpleCar('BMW', 'M3', 2023);
$repository->add($car);

// Get by id
$found = $repository->get($car->getId());

// Update
$repository->update($car);

// Delete
$repository->delete($car->getId());
```

License
-------

[](#license)

MIT

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance88

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 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

59d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c540390847d24dd09d2fb5c7ebcf9b12555ae76a82e8034dcd202e4833807681?d=identicon)[graftcode](/maintainers/graftcode)

---

Top Contributors

[![adam-wadolkowski-graftcode](https://avatars.githubusercontent.com/u/267020488?v=4)](https://github.com/adam-wadolkowski-graftcode "adam-wadolkowski-graftcode (1 commits)")

---

Tags

javonetSDNgraftcode

### Embed Badge

![Health badge](/badges/sdn-test-simple-car-repository/health.svg)

```
[![Health](https://phpackages.com/badges/sdn-test-simple-car-repository/health.svg)](https://phpackages.com/packages/sdn-test-simple-car-repository)
```

PHPackages © 2026

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