os2display / campaign-bundle
Os2Display campaigns
Installs: 429
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 1
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.2
- stof/doctrine-extensions-bundle: ^1.3
Requires (Dev)
- behat/mink-browserkit-driver: ^1.3
- behat/mink-extension: ^2.2
- behat/mink-selenium2-driver: ^1.3
- behat/symfony2-extension: ^2.1
- behatch/contexts: ^2.6
- sensio/generator-bundle: ^2.3
README
Extends os2display with campaigns.
Campaigns supply a new functionality for controlling content on the screens.
With campaigns a group of screens can be "taken over" for a given period of time with a given channel. After the period has expired the screen returns to the regular content.
Installation
Add the git repository to "repositories" in composer.json
.
"repositories": {
"os2display/campaign-bundle": {
"type": "vcs",
"url": "https://github.com/os2display/campaign-bundle"
},
...
}
Require the bundle with composer.
composer require os2display/campaign-bundle
Enable the bundle in AppKernel.php
, by adding Os2DisplayCampaignBundle to $bundles.
NB! This should be done after adding Os2Display/CoreBundle since, MiddlewareCommunications.php from CoreBundle is overridden in CampaignBundle.
new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(), new Os2Display\CampaignBundle\Os2DisplayCampaignBundle()
Enable timestampable
and blameable
in your configuration:
stof_doctrine_extensions: orm: default: timestampable: true blameable: true