Installation
tilttek/sets-bundleRequirements
- PHP 8.5 or later and Symfony 8.2.
tilttek/sets, whoseSetsthe bundle registers.- Optional:
symfony/consolefor thetilttek:sets:delivercommand,symfony/messengerfor the handler of theDeliverPendingCompletionsmessage,symfony/schedulerfor thetilttek_setsschedule andsymfony/lockfor its lock. The bundle registers each only when its package is installed.
Installing
composer require tilttek/sets-bundle
composer require symfony/console symfony/messenger symfony/scheduler
Registering the bundle
// config/bundles.php
return [
// ...
Tilttek\SetsBundle\TilttekSetsBundle::class => ['all' => true],
];
Without configuration, the definitions and the completions are kept in memory, which suits tests. An application
names its stores, as Configuration shows: the completion store also implements
Tilttek\Sets\Contract\PendingDeliveries, which the command and the schedule need.