Download the PHP package labapawel/filament-planer without Composer
On this page you can find all versions of the php package labapawel/filament-planer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download labapawel/filament-planer
More information about labapawel/filament-planer
Files in labapawel/filament-planer
Package filament-planer
Short Description Filament form component for weekly planning.
License MIT
Informations about the package filament-planer
Filament Planer
A Filament PHP form component that creates an interactive weekly timetable, allowing users to select specific hours for each day of the week.
Features
- Weekly Timetable UI: Responsive grid layout with hours on the left and days on top.
- Interactive Selection:
- Drag & drop support for selecting multiple cells.
- Click to toggle individual hours.
- "Select All" / "Deselect All" icon buttons for each day.
- Visual Feedback:
- Real-time counters: Total selected hours (global) and daily totals.
- customizable selection colors via CSS.
- Configurable: Customizable hours range, time steps, meaningful days labels, and "full day" selection strategies.
- Data Storage: Saves selection as a clean JSON object (e.g.,
{"1":["08:00","09:00"],"2":["10:00"]}). - Multilingual: Built-in support for Polish, English, and German.
- Dark Mode: Fully compatible with Filament's dark mode.
- Read-only Support: Respects Filament's
disabled()state.
Installation
You can install the package via composer:
The service provider will automatically register itself. You can publish the configuration file with:
Usage
Add the Planer component to your Filament form schema:
Styling & Customization
The component uses a dedicated CSS class .sel for selected cells, allowing for easy color customization outside of the standard Filament theme.
To customize the selection color, you can modify or override the CSS variables or classes in your project's stylesheet, or edit resources/css/filament-planer.css if you have published the assets.
Default values (filament-planer.css):
Configuration
The default settings can be globally modified in config/filament-planer.php:
License
The MIT License (MIT). Please see License File for more information.