PHPackages                             liturgical-calendar/components - 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. liturgical-calendar/components

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

liturgical-calendar/components
==============================

Reusable frontend components for the Liturgical Calendar API

v3.3.1(5mo ago)0219[1 issues](https://github.com/Liturgical-Calendar/liturgy-components-php/issues)Apache-2.0PHPPHP &gt;=8.1CI passing

Since Sep 15Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/Liturgical-Calendar/liturgy-components-php)[ Packagist](https://packagist.org/packages/liturgical-calendar/components)[ RSS](/packages/liturgical-calendar-components/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (17)Versions (40)Used By (0)

[![CodeFactor](https://camo.githubusercontent.com/2fbf60835ab7c3e847765121df8b2d7279747451ca07c88d29da17d52655c6ec/68747470733a2f2f7777772e636f6465666163746f722e696f2f7265706f7369746f72792f6769746875622f6c69747572676963616c2d63616c656e6461722f6c6974757267792d636f6d706f6e656e74732d7068702f6261646765)](https://www.codefactor.io/repository/github/liturgical-calendar/liturgy-components-php)[![php version](https://camo.githubusercontent.com/f6bf844855c0c994d06792cc9362142709eaba5976d26e489ed680aa0137cfc7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64796e616d69632f6a736f6e3f75726c3d68747470732533412532462532467261772e67697468756275736572636f6e74656e742e636f6d2532464c69747572676963616c2d43616c656e6461722532466c6974757267792d636f6d706f6e656e74732d7068702532466d61696e253246636f6d706f7365722e6a736f6e2671756572793d726571756972652e706870266c6162656c3d706870)](https://camo.githubusercontent.com/f6bf844855c0c994d06792cc9362142709eaba5976d26e489ed680aa0137cfc7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64796e616d69632f6a736f6e3f75726c3d68747470732533412532462532467261772e67697468756275736572636f6e74656e742e636f6d2532464c69747572676963616c2d43616c656e6461722532466c6974757267792d636f6d706f6e656e74732d7068702532466d61696e253246636f6d706f7365722e6a736f6e2671756572793d726571756972652e706870266c6162656c3d706870)[![Packagist](https://camo.githubusercontent.com/1378443ea71b15fc912147a56d3b38f9b8992c0eafc02b913ee04fc20af7970d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c69747572676963616c2d63616c656e6461722f636f6d706f6e656e74732e737667)](https://packagist.org/packages/liturgical-calendar/components)[![Packagist stats](https://camo.githubusercontent.com/c1d02ea8d8dd399679ffa58e1768bf3b69d33c501df6cc4782a4f6a9767661a4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c69747572676963616c2d63616c656e6461722f636f6d706f6e656e74732e737667)](https://packagist.org/packages/liturgical-calendar/components/stats)[![Stato traduzione ApiOptions](https://camo.githubusercontent.com/654a16a400b007a1878cfa7ad774fe5db3e6b153c81e7a4d24ad5ee2c2d5209a/68747470733a2f2f7472616e736c6174652e6a6f686e726f6d616e6f646f72617a696f2e636f6d2f7769646765742f6c69747572676963616c2d63616c656e6461722f6c6974757267792d636f6d706f6e656e74732d7068702d6170696f7074696f6e732f7376672d62616467652e737667)](https://translate.johnromanodorazio.com/engage/liturgical-calendar/ "ApiOptions translations")[![Stato traduzione WebCalendar](https://camo.githubusercontent.com/fdb597448c4ecbea81c2bd0d55fbb2c219f32fa2650c0d3d6a3be43eca59ffa0/68747470733a2f2f7472616e736c6174652e6a6f686e726f6d616e6f646f72617a696f2e636f6d2f7769646765742f6c69747572676963616c2d63616c656e6461722f6c6974757267792d636f6d706f6e656e74732d7068702d77656263616c656e6461722f7376672d62616467652e737667)](https://translate.johnromanodorazio.com/engage/liturgical-calendar/ "WebCalendar translations")

Liturgical Calendar Components for PHP
======================================

[](#liturgical-calendar-components-for-php)

A collection of reusable frontend components, that work with the Liturgical Calendar API (currently hosted at ).

Installing the package
----------------------

[](#installing-the-package)

Installing the package in your project is as simple as `composer require liturgical-calendar/components`. Include in your project's PHP script with `include_once 'vendor/autoload.php';` (adjust the path to vendor/autoload.php accordingly).

Note that this package requires **PHP &gt;= 8.1**, seeing it makes use of [Enums](https://www.php.net/manual/en/language.types.enumerations.php) (which were introduced in PHP 8.1). It also requires PHP `ext-intl`. To check if you have all the requirements you can run `composer check-platform-reqs --no-dev`. If you intend on contributing to the repository and installing development requirements, you should run `composer check-platform-reqs`.

Quick Start
-----------

[](#quick-start)

The recommended way to use this library is through the `ApiClient` singleton, which provides a centralized configuration point for all API interactions.

### Fetching Calendar Data

[](#fetching-calendar-data)

```
