WP Manifestindependent plugin directory
manifest / content / modularity-opening-hours

Modularity OpeningHours

Modularity OpeningHours Module

★ 0stars
181composer installs
1.1.0latest · 1mo ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/considbrs-webdev/modularity-opening-hours/archive/refs/heads/main.zip

On Packagist as considbrs-webdev/modularity-opening-hours:

composer require considbrs-webdev/modularity-opening-hours
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A opening-hours for creating Modularity modules.

Getting Started

  1. Clone this repository
  2. Run composer install to install PHP dependencies
  3. Run npm install to install Node dependencies
  4. Run npm run build to build assets

Development

  • npm run dev - Start development server
  • npm run watch - Watch for changes and rebuild
  • npm run build - Build for production
  • composer test - Run PHP tests
  • composer lint - Lint PHP code
  • composer format - Format PHP code

Structure

├── modularity-opening-hours.php  # Main plugin file
├── source/
│   ├── php/
│   │   ├── App.php             # Application bootstrap
│   │   ├── AcfFields/          # ACF field definitions
│   │   └── Module/             # Module classes
│   │       ├── OpeningHours.php # Main module class
│   │       ├── assets/         # Module assets (icons)
│   │       └── views/          # Blade templates
│   └── sass/                   # SCSS files
├── assets/                     # Compiled assets (generated)
└── languages/                  # Translation files

Creating Your Module

  1. Rename modularity-opening-hours.php and update the plugin header
  2. Update the namespace in composer.json and all PHP files
  3. Rename source/php/Module/OpeningHours.php to your module name
  4. Update ACF fields in source/php/AcfFields/json/
  5. Customize views in source/php/Module/views/
  6. Add styles in source/sass/

License

MIT

Releases

1 release.

Tag
Published
1.1.0 latest
Sep 22, 2026 1mo ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.