PHPackages                             lotr/sdk - 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. lotr/sdk

ActiveLibrary

lotr/sdk
========

00PHP

Since Aug 2Pushed 3y ago1 watchersCompare

[ Source](https://github.com/oleksandrriabko/oleksandr-riabko-sdk)[ Packagist](https://packagist.org/packages/lotr/sdk)[ RSS](/packages/lotr-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

LOTR SDK

to install run composer require lotr/sdk

to use just inject LotrSdk class to client class:

```
class ClientClass {
    private LotrSdk $lotrSdk;

    public function __construct(LotrSdk $lotrSdk)
    {
        $this->lotrSdk = $lotrSdk;
    }

    public function queryBooks(): BookCollection
    {
        return $this->lotrSdk->getBookRepository()->findAll();
    }

    public function queryBooksWithParams(): BookCollection
    {
        $queryParams = (new QueryParamsBuilder())->andWhere('_id', '5cf5805fb53e011a64671582,'5cf58077b53e011a64671583')
                ->orderBy('name', 'desc')
                ->page(1)
                ->offset(1)
                ->limit(3)
                ->toArray();

        return $this->lotrSdk->getBookRepository($queryParams)->findAll
    }
}

```

Probably you will have to configure DI accordingly to your client app

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6fd57089230054f4eae791eeafd838e0709b514d670394d60e6503d54abae952?d=identicon)[oleksandrriabko](/maintainers/oleksandrriabko)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/lotr-sdk/health.svg)

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

PHPackages © 2026

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