PHPackages                             salient/toolkit - 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. salient/toolkit

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

salient/toolkit
===============

A lightweight PHP toolkit for expressive backend/CLI apps

v0.99.81(5mo ago)53.2k[23 issues](https://github.com/salient-labs/toolkit/issues)MITPHPPHP &gt;=7.4CI passing

Since Jul 7Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/salient-labs/toolkit)[ Packagist](https://packagist.org/packages/salient/toolkit)[ RSS](/packages/salient-toolkit/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (23)Versions (414)Used By (0)

salient/toolkit
===============

[](#salienttoolkit)

> A lightweight PHP toolkit for expressive backend/CLI apps. May contain traces of Laravel.

 [![Latest Stable Version](https://camo.githubusercontent.com/b978c1049c392d826a98e1793e98d0cfc71599bbd0d2ce65c09d161b8d1f70c0/68747470733a2f2f706f7365722e707567782e6f72672f73616c69656e742f746f6f6c6b69742f76)](https://packagist.org/packages/salient/toolkit) [![License](https://camo.githubusercontent.com/a69dc21b66521958734e54526bc047b3502cfcec0f337643a14479da7c36506d/68747470733a2f2f706f7365722e707567782e6f72672f73616c69656e742f746f6f6c6b69742f6c6963656e7365)](https://packagist.org/packages/salient/toolkit) [![CI Status](https://github.com/salient-labs/toolkit/actions/workflows/ci.yml/badge.svg)](https://github.com/salient-labs/toolkit/actions) [![Code Coverage](https://camo.githubusercontent.com/9cd7526674c8d5a9d2c8f9150467975632309756513e52ece90427cd2ca97203/68747470733a2f2f636f6465636f762e696f2f67682f73616c69656e742d6c6162732f746f6f6c6b69742f67726170682f62616467652e7376673f746f6b656e3d59306c395a6545747249)](https://codecov.io/gh/salient-labs/toolkit)

---

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

[](#installation)

Install the entire toolkit with [Composer](https://getcomposer.org/):

```
composer require salient/toolkit
```

Or install only the components you need, e.g. [salient/cache](https://packagist.org/packages/salient/cache), [salient/utils](https://packagist.org/packages/salient/utils) and the toolkit's [PHPStan extension](https://packagist.org/packages/salient/phpstan):

```
composer require salient/cache salient/utils
composer require --dev salient/phpstan
```

Components
----------

[](#components)

The Salient toolkit includes the following components, each of which can be installed separately to minimise the dependency footprint of your project. The only third-party dependencies are [PSR](https://www.php-fig.org/psr/) interface packages and [lkrms/dice](https://packagist.org/packages/lkrms/dice), a standalone dependency injection container that will be removed when [salient/container](https://packagist.org/packages/salient/container) is finalised.

[![Salient toolkit component diagram](images/components.svg)](images/components.svg)

ComponentPackageProvidesCache[salient/cache](https://packagist.org/packages/salient/cache)A key-value store backed by a SQLite databaseCLI[salient/cli](https://packagist.org/packages/salient/cli)A service container and command framework for CLI applicationsCollections[salient/collections](https://packagist.org/packages/salient/collections)Access to collections of values via array-like objects with chainable methodsConsole[salient/console](https://packagist.org/packages/salient/console)Terminal output and message logging via an API similar to `console` in web browsersContainer[salient/container](https://packagist.org/packages/salient/container)A service container with contextual bindingsContracts[salient/contracts](https://packagist.org/packages/salient/contracts)Interfaces, abstractions and enumerationsCore[salient/core](https://packagist.org/packages/salient/core)Reusable classes, traits and servicesCurler[salient/curler](https://packagist.org/packages/salient/curler)An HTTP client optimised for RESTful API endpointsDb[salient/db](https://packagist.org/packages/salient/db)Access to databasesHTTP[salient/http](https://packagist.org/packages/salient/http)HTTP message and utility classesIterators[salient/iterators](https://packagist.org/packages/salient/iterators)Iterator classes and traitsPHPDoc[salient/phpdoc](https://packagist.org/packages/salient/phpdoc)A PHPDoc extractor and parserPHPStan[salient/phpstan](https://packagist.org/packages/salient/phpstan)\*PHPStan extensions for development with the Salient toolkitPolyfills[salient/polyfills](https://packagist.org/packages/salient/polyfills)PolyfillsSli[salient/sli](https://packagist.org/packages/salient/sli)\*`sli`, the toolkit's CLI utilitySync[salient/sync](https://packagist.org/packages/salient/sync)A framework and SQLite-backed store for synchronising data with backendsTesting[salient/testing](https://packagist.org/packages/salient/testing)\*Classes that are useful in test suitesUtils[salient/utils](https://packagist.org/packages/salient/utils)Utility methods via stateless classes\* for development only

Documentation
-------------

[](#documentation)

[API documentation](https://salient-labs.github.io/toolkit/) for `salient/toolkit` tracks the `main` branch of the project's [GitHub repository](https://github.com/salient-labs/toolkit) and is generated by [ApiGen](https://github.com/ApiGen/ApiGen).

You can build it yourself by running the following commands in the top-level directory. Output is generated in `docs/api` by default.

```
composer -d tools/apigen install
tools/apigen/vendor/bin/apigen -c tools/apigen/apigen.neon
```

Other documentation is available under [docs](docs/), and usage examples are provided in the form of [unit tests](tests/unit/).

License
-------

[](#license)

This project is licensed under the [MIT License](LICENSE).

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance49

Moderate activity, may be stable

Popularity24

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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

Every ~4 days

Recently: every ~65 days

Total

411

Last Release

179d ago

PHP version history (6 changes)v0.1.0PHP &gt;=7.2

v0.13.0PHP &gt;=7.4

v0.15.3PHP &gt;=7.4,&lt;8.2

v0.18.15PHP &gt;=7.4,&lt;=8.2

v0.19.3PHP &gt;=7.4,&lt;8.3

v0.20.8PHP &gt;=7.4 &lt;8.3

### Community

Maintainers

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

---

Top Contributors

[![lkrms](https://avatars.githubusercontent.com/u/2563783?v=4)](https://github.com/lkrms "lkrms (2489 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/salient-toolkit/health.svg)

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

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.3k86.3M2.2k](/packages/symfony-symfony)[cakephp/cakephp

The CakePHP framework

8.8k18.5M1.6k](/packages/cakephp-cakephp)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[windwalker/framework

The next generation PHP framework.

25639.1k1](/packages/windwalker-framework)

PHPackages © 2026

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