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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mrshanebarron/calendar

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

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

Calendar component for Laravel - supports Livewire and Vue

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

Since Dec 14Pushed 6mo agoCompare

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

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

32

—

LowBetter than 69% of packages

Maintenance67

Regular maintenance activity

Popularity5

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity46

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

200d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/193358540?v=4)[Mr Shane Barron](/maintainers/mrshanebarron)[@mrshanebarron](https://github.com/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)
```

###  Alternatives

[livewire/flux

The official UI component library for Livewire.

9527.8M128](/packages/livewire-flux)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M10](/packages/renatomarinho-laravel-page-speed)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

211189.7k8](/packages/bezhansalleh-filament-google-analytics)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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