PHPackages                             mrshanebarron/calendar - 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. mrshanebarron/calendar

ActiveLibrary

mrshanebarron/calendar
======================

Calendar component for Laravel - supports Livewire and Vue

v1.0.2(4mo ago)013MITVuePHP ^8.1

Since Dec 14Pushed 4mo agoCompare

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

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

Calendar
========

[](#calendar)

A date picker calendar component for Laravel applications. Month view with date selection. Works with Livewire and Vue 3.

Installation
------------

[](#installation)

```
composer require mrshanebarron/calendar
```

Livewire Usage
--------------

[](#livewire-usage)

### Basic Usage

[](#basic-usage)

```

```

### Display Selected Date

[](#display-selected-date)

```

Selected: {{ $date }}
```

### Livewire Props

[](#livewire-props)

PropTypeDefaultDescription`wire:model`string-Selected date (YYYY-MM-DD format)Vue 3 Usage
-----------

[](#vue-3-usage)

### Setup

[](#setup)

```
import { SbCalendar } from './vendor/sb-calendar';
app.component('SbCalendar', SbCalendar);
```

### Basic Usage

[](#basic-usage-1)

```

  Selected: {{ selectedDate }}

import { ref } from 'vue';
const selectedDate = ref(null);

```

### With Default Date

[](#with-default-date)

```

import { ref } from 'vue';
// Pre-select today
const selectedDate = ref(new Date().toISOString().split('T')[0]);

```

### Form Integration

[](#form-integration)

```

        Event Date

        Event Name

        Create Event

import { ref } from 'vue';

const form = ref({
  date: null,
  name: ''
});

const submit = () => {
  console.log('Creating event on:', form.value.date);
};

```

### Vue Props

[](#vue-props)

PropTypeDefaultDescription`modelValue`String-Selected date in YYYY-MM-DD format### Events

[](#events)

EventPayloadDescription`update:modelValue``string`Emitted when date is selectedFeatures
--------

[](#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
-----------

[](#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
-------

[](#styling)

Uses Tailwind CSS:

- White background with shadow
- Grid layout for days
- Blue highlight for selected date
- Gray hover states
- Rounded navigation buttons

Requirements
------------

[](#requirements)

- PHP 8.1+
- Laravel 10, 11, or 12
- Tailwind CSS 3.x

License
-------

[](#license)

MIT License

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance79

Regular maintenance activity

Popularity5

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

3

Last Release

144d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a38dc9b4ccc180ee3e9df8879f8747ea9dbf36812c6546827fe504fa8993eb8?d=identicon)[mrshanebarron](/maintainers/mrshanebarron)

---

Tags

laraveldatelivewirecalendarvue

### Embed Badge

![Health badge](/badges/mrshanebarron-calendar/health.svg)

```
[![Health](https://phpackages.com/badges/mrshanebarron-calendar/health.svg)](https://phpackages.com/packages/mrshanebarron-calendar)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
