- Tags:
- By Jesse Donat on
- (Updated: )
SimpleCalendar is a very simple PHP calendar class written to be easy to use and flexible.
It includes basic event logic and is made to be modified to your particular needs.
Sample Usage
<?php
require_once('SimpleCalendar.php');
$calendar = new donatj\SimpleCalendar();
$calendar->setStartOfWeek('Sunday');
$calendar->addDailyHtml( 'Sample Event', 'today', 'tomorrow' );
$calendar->show(true);
Example Calendar
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
Sample Event | Sample Event | |||||
Click here for the Github repository.
Recent Activity
GitHub (web-flow)
Bump actions/checkout from 6 to 7 (#39)
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Merge pull request #37 from donatj/php-cs-fixer-dry-run
Run php-cs-fixer in dry-run mode in CI
Run php-cs-fixer in dry-run mode in CI
Update PHPUnit version constraint in composer.json
GitHub (web-flow)
Merge pull request #32 from donatj/donatj-patch-2
Add PHP version 8.5 to CI workflow
Add PHP version 8.5 to CI workflow
Bump actions/checkout from 5 to 6 (#31)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump actions/checkout from 4 to 5 (#30)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Merge pull request #29 from donatj/donatj-patch-2
Test in PHP 8.4
Test in PHP 8.4
Merge pull request #26 from donatj/php-version/8-3--users-jdonat-projects-donatj-simplecalendar--github-workflows-ci-yml
Update PHP to 8.3
Replace travis badge with GitHub Actions
Adds helpful Makefile
Update autoloader syntax
Use correctly compatible versions
Updates README
Minor fixup
Drop pre-7.2’s
Run fixer
Add phpcs and php-cs-fixer
Fixup
Add phpstan.neon
Cleans up composer.json some
Correct backwards annotation
Remove unnecessary if
Min PHP 7.2
| Build | Date | Message |
|---|---|---|
| v0.6.0 Download | Simplified shrimp2ts work | |
| v0.6.1 Download | gitignore updates | |
| v0.6.2 Download | Merge branch 'keesiemeijer-master' | |
| v0.7.0 Download | Updates docs | |
| v0.8.0 Download | Replace travis badge with GitHub Actions |

Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.