dende / calendar
PHP Calendar component
This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.
2.1.33
2018-03-11 18:04 UTC
Requires
- doctrine/common: ^2.7
- doctrine/orm: ^2.5
- nesbot/carbon: ^1
- ramsey/uuid: ^3.6
- symfony/event-dispatcher: ^3
Requires (Dev)
- friendsofphp/php-cs-fixer: ^1.12
- phpmd/phpmd: ^2.6
- phpunit/phpunit: ^6
This package is not auto-updated.
Last update: 2024-06-20 21:01:15 UTC
README
Calendar
Easy to use php calendar component. Calendar consists classes:
- Calendar
- Event
- Occurrence
Installation:
composer install
Running tests:
./bin/phpunit
./bin/behat
Rules:
- Event has Occurrences
- There's one Occurrence of Event per day
- Occurrence of an event can be only removed or changed starting hour and duration
- Occurrence can't overlap on more than 1 day
- There could be many Events in Calendar
- Event can be of Single or Weekly type
- If event is of weekly type it needs to have at least one repetition a week