PHPackages                             omnicolor/calendar - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. omnicolor/calendar

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

omnicolor/calendar
==================

Package for handling a calendar with notes and events

v1.0.1(4mo ago)01MITPHPPHP ^8.4CI passing

Since Dec 14Pushed today1 watchersCompare

[ Source](https://github.com/omnicolor/calendar)[ Packagist](https://packagist.org/packages/omnicolor/calendar)[ RSS](/packages/omnicolor-calendar/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependencies (8)Versions (23)Used By (0)

Calendar
========

[](#calendar)

[![Code Coverage Badge](./coverage_badge.svg)](./coverage_badge.svg)

This package allows storing arbitrary data attached to a date. In my particular use case, I wanted to be able to store information about what's going on in a role playing game, to allow rendering a rich history of the game so far.

Usage
-----

[](#usage)

This example uses stdClass to represent arbitrary data, but could be a PHP class. Storing it in the database could either be done through converting the object to a JSON representation or serializing it, whichever works best for your particular use case.

```
