PHPackages                             yanselmask/openable - 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. yanselmask/openable

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

yanselmask/openable
===================

This package is designed to simplify and automate the management of opening and closing hours for various establishments, such as stores, restaurants, gyms, or nightclubs.

112PHP

Since Aug 30Pushed 1y ago1 watchersCompare

[ Source](https://github.com/yanselmask/openable)[ Packagist](https://packagist.org/packages/yanselmask/openable)[ RSS](/packages/yanselmask-openable/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Introduction
------------

[](#introduction)

This package is designed to simplify and automate the management of opening and closing hours for various establishments, such as stores, restaurants, gyms, or nightclubs.

Installation and Setup
----------------------

[](#installation-and-setup)

You can install the package via composer:

```
composer require yanselmask/openable
```

You can publish the migration with:

```
php artisan vendor:publish --provider="Yanselmask\Openable\Providers\ServiceProvider" --tag="openable-migrations"
```

After the migration has been published you can create the openables tables by running the migrations:

```
php artisan migrate
```

You can optionally publish the config file with:

```
php artisan vendor:publish --provider="Yanselmask\Openable\Providers\ServiceProvider" --tag="openable-config"
```

This is the contents of the published config file:

```
