PHPackages                             webfactor/laravel-openinghours - 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. webfactor/laravel-openinghours

ActiveLibrary

webfactor/laravel-openinghours
==============================

Assign opening hours to your eloquent models.

1821PHP

Since Feb 9Pushed 8y ago2 watchersCompare

[ Source](https://github.com/webfactor/laravel-openinghours)[ Packagist](https://packagist.org/packages/webfactor/laravel-openinghours)[ RSS](/packages/webfactor-laravel-openinghours/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-openinghours
====================

[](#laravel-openinghours)

[![Latest Version on Packagist](https://camo.githubusercontent.com/89a69ff33f772f6f1eab179d872726f78bc01d57d7cdcefe782140f0c442dcbd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f776562666163746f722f6c61726176656c2d6f70656e696e67686f7572732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/webfactor/laravel-openinghours)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/9b9af1b5429c6ee50615d95bee5f55ee0285d6450407822a76a27e3ae6a16115/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f776562666163746f722f6c61726176656c2d6f70656e696e67686f7572732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/webfactor/laravel-openinghours)[![Coverage Status](https://camo.githubusercontent.com/b23a96879f86031daab7ff03dce0724595fc2b64ee8c46bada6a37ef0af5ae7a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f776562666163746f722f6c61726176656c2d6f70656e696e67686f7572732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/webfactor/laravel-openinghours/code-structure)[![Quality Score](https://camo.githubusercontent.com/56448d7888e9bba799311d08108789fbe86eae2409927757de4718e142bc5da1/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f776562666163746f722f6c61726176656c2d6f70656e696e67686f7572732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/webfactor/laravel-openinghours)[![Total Downloads](https://camo.githubusercontent.com/0429a83e7204be2012987d95bc53afcc336272e09b40178a214ab5e1b119b1c0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f776562666163746f722f6c61726176656c2d6f70656e696e67686f7572732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/webfactor/laravel-openinghours)

Install
-------

[](#install)

Via Composer

```
$ composer require webfactor/laravel-openinghours
```

Usage
-----

[](#usage)

```
$skeleton = new Webfactor\Laravel\OpeningHours();
echo $skeleton->echoPhrase('Hello, League!');
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Oliver Ziegler](https://github.com/OliverZiegler)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

22

—

LowBetter than 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7c9a2c2e97d66bd30df7df75183059e218e21ee5d5b80cdcf6542d1a2c60992d?d=identicon)[OliverZiegler](/maintainers/OliverZiegler)

---

Top Contributors

[![OliverZiegler](https://avatars.githubusercontent.com/u/7778510?v=4)](https://github.com/OliverZiegler "OliverZiegler (1 commits)")

### Embed Badge

![Health badge](/badges/webfactor-laravel-openinghours/health.svg)

```
[![Health](https://phpackages.com/badges/webfactor-laravel-openinghours/health.svg)](https://phpackages.com/packages/webfactor-laravel-openinghours)
```

PHPackages © 2026

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