coroowicaksono/nova-fullcalendar

A Simple Dashboard Chart in Laravel Nova using Chart JS. Starting create your own dashboard with Chart JS Integration can save your time and help you maintain consistency across standard elements such as Bar, Stacked, Line, Area, Doughnut and Pie Chart.

v0.0.5 2020-09-05 12:15 UTC

This package is auto-updated.

Last update: 2024-10-28 11:05:16 UTC


README

A Laravel Nova Dashboard with FullCalendar JS | See 📘Documentation Page

Latest Version on Packagist Total Downloads License State Status License

License

This Nova FullCalendar JS Integration requires Nova 2.0 or higher.

FullCalendar JS Integration in Action

Installation & Documentation

Simple Installation

// app/Providers/NovaServiceProvider
protected function cards()
{
    $events = Event::select(DB::raw('id, nama_kegiatan as title, concat(tanggal_acara, " ", jam_acara) as date, concat(tanggal_acara, " ", jam_acara) as start, tanggal_acara as end'))
        ->get()
        ->toJson();
    
    return [
        (new FullCalendar())
            ->series($events)
    ];
}

🎓 For better experiences, we moved documentation to : https://coroo.github.io/nova-fullcalendar/

ChangeLog

Please see CHANGELOG for more information on what has changed recently.

License

The MIT License (MIT). Please see License File for more information.