Skip to content

Installation

tilttek/collections-bundle

Requirements

  • PHP 8.5 or later, Symfony 8.2, Doctrine DBAL 4.5 and its bundle.
  • tilttek/activity-bundle, to give the item of the day on the members' activity.

Registering the bundle

composer require tilttek/collections-bundle
// config/bundles.php
return [
    // …
    Tilttek\CollectionsBundle\TilttekCollectionsBundle::class => ['all' => true],
];

The migration

With the ORM installed, the bundle adds its six tables to the schema it generates for the configured connection:

bin/console doctrine:migrations:diff
bin/console doctrine:migrations:migrate

Without the ORM, create the tables from CollectionsTables::configure().

Optional packages

PackageWhat it adds
tilttek/activity-bundleThe projection of the item of the day, kept up to date and rebuilt
phil/almanacItems of the day on computed dates
tilttek/exchange-bundleTrades of copies between members, through CollectionsInventory
tilttek/dice-bundleThe dice a member chose, through CollectionDiceAppearance
symfony/consoleThe commands
symfony/twig-bundle, symfony/translationThe Twig functions, the templates and their texts
phil/privacy-bundleThe export and erasure of a member