Download the PHP package mrshanebarron/calendar without Composer
On this page you can find all versions of the php package mrshanebarron/calendar. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package calendar
Calendar
A date picker calendar component for Laravel applications. Month view with date selection. Works with Livewire and Vue 3.
Installation
Livewire Usage
Basic Usage
Display Selected Date
Livewire Props
| Prop | Type | Default | Description |
|---|---|---|---|
wire:model |
string | - | Selected date (YYYY-MM-DD format) |
Vue 3 Usage
Setup
Basic Usage
With Default Date
Form Integration
Vue Props
| Prop | Type | Default | Description |
|---|---|---|---|
modelValue |
String | - | Selected date in YYYY-MM-DD format |
Events
| Event | Payload | Description |
|---|---|---|
update:modelValue |
string |
Emitted when date is selected |
Features
- Month Navigation: Previous/next month buttons
- Today Highlight: Current date shown in bold
- Selected State: Blue highlight on selected date
- Standard Format: Uses YYYY-MM-DD format
Date Format
The component uses ISO date format: YYYY-MM-DD
Examples:
2024-01-15(January 15, 2024)2024-12-25(December 25, 2024)
Styling
Uses Tailwind CSS:
- White background with shadow
- Grid layout for days
- Blue highlight for selected date
- Gray hover states
- Rounded navigation buttons
Requirements
- PHP 8.1+
- Laravel 10, 11, or 12
- Tailwind CSS 3.x
License
MIT License
All versions of calendar with dependencies
PHP Build Version
Package Version
The package mrshanebarron/calendar contains the following files
Loading the files please wait ...