Download the PHP package karaodin/filament-opening-hours without Composer
On this page you can find all versions of the php package karaodin/filament-opening-hours. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download karaodin/filament-opening-hours
More information about karaodin/filament-opening-hours
Files in karaodin/filament-opening-hours
Package filament-opening-hours
Short Description A Filament plugin for managing business opening hours with timezone support and exceptions
License MIT
Homepage https://github.com/karaOdin/filament-opening-hours
Informations about the package filament-opening-hours
Filament Opening Hours
A premium-quality Filament plugin for managing business opening hours with advanced timezone support, visual interfaces, and comprehensive exception management. Built on top of spatie/opening-hours.
โจ Features
- ๐ Advanced Visual Form Builder - Intuitive interface with collapsible sections and live validation
- ๐ Comprehensive Timezone Support - Searchable timezone dropdown with Algeria as default
- ๐ Smart Exception Management - Modal-based system with date ranges and recurring exceptions
- ๐ฏ Multiple Display Modes - Circular charts, status badges, and detailed weekly views
- ๐ Global Enable/Disable - Master toggle for entire business hours system
- ๐ Rich Table Columns - Interactive circular displays with hover tooltips
- ๐ Enhanced Infolist Entries - Beautiful formatted displays with animations
- ๐จ Premium Styling - Professional gradients, animations, and dark mode support
- โก Performance Optimized - Lazy loading assets and efficient queries
- ๐ฑ Mobile Responsive - Optimized for all screen sizes
๐ Installation
You can install the package via composer:
You can publish the config file with:
๐ป Usage
1. Add the Plugin to Your Panel
2. Prepare Your Model
Add the trait to your model and ensure you have the required database columns:
Migration example:
3. Use in Forms
4. Display in Tables
5. Display in Infolists
๐ฏ Model Methods
The HasOpeningHours trait provides powerful query methods:
โ๏ธ Configuration
The config file allows you to customize:
๐จ Component Options
Form Component
Table Column Options
Infolist Entry Options
๐ Data Structure
The plugin stores data in this enhanced format:
๐ฏ Advanced Features
Exception Management
- Modal Interface: Clean, intuitive exception management
- Date Ranges: Vacation periods, seasonal closures (e.g., July 1-15)
- Recurring Exceptions: Annual holidays (e.g., every December 25th)
- Single Dates: Specific holidays or one-time closures
- Custom Labels: Personalized exception names
- Multiple Types: Holiday, Closed, Special Hours, Maintenance, Events
- Rich Descriptions: Additional notes for each exception
Visual Enhancements
- Circular Charts: SVG-based day segments with hover effects
- Status Animations: Pulsing indicators and progress bars
- Gradient Styling: Professional color schemes
- Dark Mode: Full dark theme support
- Mobile Responsive: Optimized for all devices
Performance Features
- Lazy Loading: Assets loaded only when needed
- Efficient Queries: Optimized database interactions
- Caching Support: Built-in cache compatibility
- Error Handling: Graceful degradation on errors
๐ง Multi-Tenancy Support
Compatible with stancl/tenancy:
๐ฑ Browser Support
- โ Chrome 80+
- โ Firefox 75+
- โ Safari 13+
- โ Edge 80+
- โ Mobile Safari
- โ Chrome Mobile
๐ Requirements
- PHP 8.1+
- Laravel 10.0+
- Filament 3.0+
๐งช Testing
๐ Changelog
Please see CHANGELOG for more information on what has changed recently.
๐ค Contributing
Please see CONTRIBUTING for details.
๐ Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
๐ Credits
- Nihat Mahdi
- All Contributors
- Built on spatie/opening-hours
- Inspired by various business hours plugins
๐ License
The MIT License (MIT). Please see License File for more information.
๐ Why Choose This Plugin?
vs. Paid Alternatives
- โ Free & Open Source
- โ More Features than most paid plugins
- โ Better Performance with lazy loading
- โ Modern UI/UX with animations and gradients
- โ Active Development with regular updates
Premium Features
- ๐จ Professional Design - Matches Filament's aesthetic perfectly
- โก Performance Optimized - Minimal impact on load times
- ๐ง Highly Customizable - Multiple display modes and options
- ๐ฑ Mobile First - Responsive design for all devices
- ๐ Dark Mode Ready - Full dark theme support
- โฟ Accessibility - WCAG compliant with proper ARIA labels
Experience the difference - try it today! ๐
All versions of filament-opening-hours with dependencies
filament/filament Version ^3.0
spatie/laravel-package-tools Version ^1.15.0
spatie/opening-hours Version ^3.0
illuminate/contracts Version ^10.0|^11.0|^12.0