PHPackages                             skmedia/solvice-client - 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. skmedia/solvice-client

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

skmedia/solvice-client
======================

Solvice client library

0.0.1(9y ago)025PHPPHP ^5.6 || ^7.0

Since Sep 8Pushed 9y ago2 watchersCompare

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

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

Solvice client
==============

[](#solvice-client)

---

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

[](#installation)

composer require skmedia/solvice-client

Create a client
---------------

[](#create-a-client)

```
$solviceClient = new SolviceClient('https://api.solvice.io', 'username', 'password');

```

Create a cluster solver
-----------------------

[](#create-a-cluster-solver)

```
use Solvice\Http\Client as SolviceClient
use Solvice\Collection as SolviceCollection;
use Solvice\Entity as SolviceEntity;
use Solvice\Solver as SolviceSolver;

$clusterSolver = new SolviceSolver\ClusterSolver();
$clusterSolver->addCluster(SolviceEntity\Cluster::make('Cluster 1', 'single_paper', 3));
$clusterSolver->addCluster(SolviceEntity\Cluster::make('Cluster 2', 'single_paper', 1));

$clusterSolver->addEntity(
    SolviceEntity\Entity::make(
        'Single Paper 1',
        'single_paper',
        SolviceCollection\KeywordCollection::make(
            SolviceEntity\Keyword::make('sig_1'),
            SolviceEntity\Keyword::make('sig_2')
        )
    )
);

$clusterSolver->addEntity(
    SolviceEntity\Entity::make(
        'Single Paper 2',
        'single_paper',
        SolviceCollection\KeywordCollection::make(
            SolviceEntity\Keyword::make('sig_1'),
            SolviceEntity\Keyword::make('sig_2')
        )
    )
);

$clusterSolver->addEntity(
    SolviceEntity\Entity::make(
        'Single Paper 3',
        'single_paper',
        SolviceCollection\KeywordCollection::make(
            SolviceEntity\Keyword::make('sig_1'),
            SolviceEntity\Keyword::make('sig_2')
        )
    )
);

$clusterSolver->addEntity(
    SolviceEntity\Entity::make(
        'Single Paper 4',
        'single_paper',
        SolviceCollection\KeywordCollection::make(
            SolviceEntity\Keyword::make('sig_5'),
            SolviceEntity\Keyword::make('sig_6')
        )
    )
);

$response = $solviceClient->solve($clusterSolver)

```

Create a conference solver
--------------------------

[](#create-a-conference-solver)

```
if ($job->isSolved()) {

    $response->getScore()->isFeasible();

    // Error messages (hard and soft constraints)
    echo $response->getUnresolvedItems()
        ->byLevel(SolviceEntity\UnresolvedItemLevel::HARD)
        ->joinBy('name');

    echo $response->getUnresolvedItems()
        ->byLevel(SolviceEntity\UnresolvedItemLevel::SOFT)
        ->joinBy('name');

    foreach ($response->getAssignments() as $assignment) {
        if ($assignment->hasRoomSlot()) {
            echo $assignment->getCluster()->getName()
                . ' is assigned to '
                . $assignment->getRoomSlot()->getRoom()->getName();
        }
    }
}

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

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

3581d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/542156?v=4)[kg](/maintainers/skmedia)[@skmedia](https://github.com/skmedia)

---

Top Contributors

[![skmedia](https://avatars.githubusercontent.com/u/542156?v=4)](https://github.com/skmedia "skmedia (9 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/skmedia-solvice-client/health.svg)

```
[![Health](https://phpackages.com/badges/skmedia-solvice-client/health.svg)](https://phpackages.com/packages/skmedia-solvice-client)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k532.1M19.4k](/packages/laravel-framework)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.8M712](/packages/sylius-sylius)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[oat-sa/tao-core

TAO core extension

66140.1k108](/packages/oat-sa-tao-core)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M524](/packages/shopware-core)

PHPackages © 2026

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