salient/toolkit

A lightweight PHP toolkit for expressive backend/CLI apps

v0.99.74 2025-01-29 00:27 UTC

This package is auto-updated.

Last update: 2025-01-30 13:14:55 UTC


README

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

Latest Stable Version License CI Status Code Coverage

Installation

Install the entire toolkit with Composer:

composer require salient/toolkit

Or install only the components you need, e.g. salient/cache, salient/utils and the toolkit's PHPStan extension:

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

Components

The Salient toolkit includes the following components, each of which can be installed separately:

Salient toolkit component diagram

Documentation

API documentation for salient/toolkit tracks the main branch of the project's GitHub repository and is generated by 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, and usage examples are provided in the form of unit tests.

License

This project is licensed under the MIT License.