Download the PHP package codryn/phpcalendar without Composer

On this page you can find all versions of the php package codryn/phpcalendar. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package phpcalendar

PHPCalendar

PHP Version PHPStan Level 10 CI Latest Stable Version License

RPG Calendar System for PHP - Gregorian & Fantasy Calendars with Internationalization

PHPCalendar is a powerful, type-safe calendar system for PHP supporting both real-world (Gregorian) and fantasy setting calendars. Perfect for RPG applications, game development, and custom calendar implementations.

Features

Requirements

Installation

Quick Start and Usage

Calendar Mapping and Conversion

Convert dates between different calendar systems:

Internationalization

PHPCalendar supports internationalization for all built-in calendar profiles. Calendar names, month names, epoch notations, and nameless day names can be displayed in 5 languages:

Usage

Supported Translations

Calendar Month Names Display Name Epoch Notation Nameless Days
Gregorian βœ… All 5 βœ… All 5 βœ… All 5 N/A
FaerΓ»n Proper nouns* βœ… All 5 βœ… All 5 βœ… All 5
DSA Proper nouns* βœ… All 5 βœ… All 5 βœ… All 5
Dragonlance βœ… All 5 βœ… All 5 βœ… All 5 N/A
Eberron Proper nouns* βœ… All 5 βœ… All 5 N/A
Golarion Proper nouns* βœ… All 5 βœ… All 5 N/A
Greyhawk βœ… All 5 βœ… All 5 βœ… All 5 N/A

*Proper nouns (fantasy deity names, dragonmarks, etc.) remain untranslated across all languages.

Locale Fallback

If an unsupported or invalid locale is provided, the system automatically falls back to English (en-us):

Calendar Profiles

Gregorian Calendar

Standard international calendar with proper leap year rules.

Specifications:

FaerΓ»n (Forgotten Realms)

Harptos calendar from D&D's Forgotten Realms setting.

Specifications:

Golarion (Pathfinder)

Absalom Reckoning calendar from Pathfinder RPG.

Specifications:

Das Schwarze Auge

Aventurian calendar from The Dark Eye RPG.

Specifications:

Eberron

Galifar Calendar from D&D's Eberron setting.

Specifications:

Dragonlance

Krynn calendar from D&D's Dragonlance setting.

Specifications:

Greyhawk

Common Year calendar from D&D's World of Greyhawk.

Specifications:

Custom Calendars

Create your own calendar with custom configuration:

API Reference

PHPCalendar provides a clean, fluent API for calendar operations:

Documentation

Comprehensive documentation is available:

Development

See CONTRIBUTING.md for development guidelines.

Architecture

PHPCalendar is structured around key components:

Performance

TODO: Add performance benchmarks and optimizations.

Quality Standards

Contributing

Contributions are welcome! See CONTRIBUTING.md for:

License

This project is licensed under the MIT License - see the LICENSE file for details.

Changelog

See CHANGELOG.md for version history and updates.

Support

Credits

Created and maintained by Marco for Codryn.

Special thanks to:

Game Systems Copyright

This library implements calendars from various tabletop RPG systems for non-commercial use. All game system names, mechanics, and related intellectual property remain the property of their respective copyright holders. See GAME_SYSTEMS_COPYRIGHT.md for detailed copyright notices and attributions.


Built for the tabletop RPG community 🎲


All versions of phpcalendar with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package codryn/phpcalendar contains the following files

Loading the files please wait ...