PHPackages                             ride/app-orm-opening-schedule - 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. ride/app-orm-opening-schedule

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

ride/app-orm-opening-schedule
=============================

Opening schedule module for opening hours and holidays

1.0.2(6y ago)0390MITPHP

Since Dec 8Pushed 6y ago11 watchersCompare

[ Source](https://github.com/all-ride/ride-app-orm-opening-schedule)[ Packagist](https://packagist.org/packages/ride/app-orm-opening-schedule)[ RSS](/packages/ride-app-orm-opening-schedule/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (3)Versions (6)Used By (0)

Ride app-orm-opening-schedule
=============================

[](#ride-app-orm-opening-schedule)

This module provides a schedule model which can be hooked to any existing model. It adds opening hours and holiday support. There are some helper methods to easily look up opening hours and holidays.

Example
-------

[](#example)

```

```

```

{$schedule = {* get schedule from model entry *}}

{$o = $schedule->getCurrentOpeningHour()}

{if $o}

    {$o->getStart()->getTimestamp()}

    {$o->getEnd()|date_format:"%A %d-%m-%Y %H:%M"}
{/if}

{$o = $schedule->getNextOpeningHour()}

{$o = $schedule->getOpeningHour($timestamp)}

{$o = $schedule->getOpeningHoursByDay(2)}

{$h = $schedule->getCurrentHoliday()}

{if $h}

    {$h->getStart()->getTimestamp()}

    {$h->getEnd()|date_format:"%A %d-%m-%Y %H:%M"}
{/if}

{$h = $schedule->getNextHoliday()}

{$h = $schedule->getHoliday($timestamp)}
```

Related Modules
---------------

[](#related-modules)

- [ride/app](https://github.com/all-ride/ride-app)
- [ride/app-orm](https://github.com/all-ride/ride-app-orm)
- [ride/lib-orm](https://github.com/all-ride/ride-lib-orm)

Installation
------------

[](#installation)

You can use [Composer](http://getcomposer.org) to install this application.

```
composer require ride/app-orm-opening-schedule

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 58.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~479 days

Total

4

Last Release

2376d ago

Major Versions

0.2.0 → 1.0.02016-10-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d98d3f0d5db5eb241c6ee74bcee87d1e7dc1aaf7942b933d68e612ee2352eea?d=identicon)[ride-user](/maintainers/ride-user)

---

Top Contributors

[![brendt](https://avatars.githubusercontent.com/u/6905297?v=4)](https://github.com/brendt "brendt (21 commits)")[![kayalion](https://avatars.githubusercontent.com/u/2340819?v=4)](https://github.com/kayalion "kayalion (13 commits)")[![kristofser](https://avatars.githubusercontent.com/u/5928907?v=4)](https://github.com/kristofser "kristofser (2 commits)")

### Embed Badge

![Health badge](/badges/ride-app-orm-opening-schedule/health.svg)

```
[![Health](https://phpackages.com/badges/ride-app-orm-opening-schedule/health.svg)](https://phpackages.com/packages/ride-app-orm-opening-schedule)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
