cultuurnet / calendar-summary
This package is abandoned and no longer maintained.
No replacement package was suggested.
Library to convert a cdbXML input to a readable summary
1.1.3
2018-05-03 13:39 UTC
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
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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 installfrom 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.