cultuurnet / calendar-summary
Library to convert a cdbXML input to a readable summary
Installs: 24 785
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 29
Forks: 1
Open Issues: 2
Requires
- php: >=5.6.0
- ext-intl: *
- cultuurnet/cdb: ~2.2.0
Requires (Dev)
- phing/phing: ~2.11
- phpunit/phpunit: ~5.7
- satooshi/php-coveralls: ~0.7
- squizlabs/php_codesniffer: ~2.3
README
It should only be used with Culturefeed and CdbXml integrations. For all other uses this project has been deprecated and superseded by calendar-summary-v3
calendar-summary
Installation
You can install the CultuurNet\calendar-summary PHP library in different ways:
- Standalone. Clone or download from github and use [Composer][composer]. Run
composer install
from the root of the clone to download the necessary dependencies. Standalone usage is probably only useful for testing purposes. - Inside your project: require the cultuurnet/calendar-summary package (it is
[registered on Packagist][packagist]) and the cultuurnet/cdb package in your project's
composer.json file and run
composer update
.
{ "require": { "cultuurnet/calendar-summary": "~1.0", } }
How it works
The calendar-summary PHP takes a CultureFeed_Cdb_Data_Calendar object (hence the dependency on cultuurnet/cdb, and formats it. Right now there's a HTML formatter and a plain text formatter. But other formatters can easily be implemented.