brilik/calendar
最新稳定版本:v1.0.0
Composer 安装命令:
composer require brilik/calendar
包简介
Display Calendar with adding events for popular frameworks (Bootstrap, TailWinds...).
README 文档
README
Display Calendar with adding events for popular frameworks (Bootstrap, TailWinds...).
Requirements
- PHP 7.3+
Installation
You can install the package via composer:
composer require brilik/calendar
How it works
use VitoBryliano\Calendar\TailWindCalendar; use VitoBryliano\Calendar\BootstrapCalendar; // Get date in ISO format $date = Carbon::now()->tz('Europe/Kiev')->format('Y-m-d'); // You can create calendar in the Bootstrap styles $calendar = new BootstrapCalendar($date); // Or you can create calendar in the TailWind styles $calendar = new TailWindCalendar($date); // You can add navigate for choose month $calendar->navigation = true; // You can add custom name months or their translations $calendar->setWeekDaysName([ __('Mon'), __('Tue'), __('Wed'), __('Thu'), __('Fri'), __('Sut'), __('Sun') ]);
Changelog
Please see CHANGELOG for more information what has changed recently.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-08-06