2017-25 © Pedro Peláez
 

library laravel-fullcalendar

Laravel helper for FullCalendar.io

image

ko/laravel-fullcalendar

Laravel helper for FullCalendar.io

  • Monday, May 7, 2018
  • by peledies
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

, (*1)

Build Status Total Downloads Latest Stable Version License , (*2)

ko-laravel-fullcalendar

This package is a composer installable helper for working with fullcalendar.io in a laravel app., (*3)

Usage

Building an Event

$event = new \KO\Fullcalendar\Event();
$event->build(['id'=>'asdf', 'title' => 'test', 'start' => '20-04-2018']);

Adding an Event to an EventCollection

$events = new \KO\Fullcalendar\EventCollection();
$events->push( $event );

Custom options

$options = new \KO\Fullcalendar\Options([
    'header' => [
        'right' => 'prev,next today',
        'center' => 'title',
        'left' => 'month,agendaWeek,agendaDay',
    ],
    'eventLimit' => true,
]);

Instantiate a new Calendar

$calendar = new \KO\Fullcalendar\Calendar();
$calendar->addEvents( $events );
$calendar->setOptions( $options );

Draw the calendar

In your blade, add the following where you would like the calendar to be drawn., (*4)

  {!! $calendar->html() !!}

CDN

This package has a helper method for building the appropriate style and javascript assets from a CDN. Just add the following to your html to load the appropriate resources., (*5)

Fullcalendar css, (*6)

{!! $calendar->cdn('fullcalendar', 'css', '3.9.0') !!}

Fullcalendar js, (*7)

{!! $calendar->cdn('fullcalendar', 'js', '3.9.0') !!}

Moment js, (*8)

{!! $calendar->cdn('moment', 'js', '2.22.1') !!}

The Versions

07/05 2018

dev-master

9999999-dev

Laravel helper for FullCalendar.io

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

07/05 2018

0.0.8

0.0.8.0

Laravel helper for FullCalendar.io

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

29/04 2018

0.0.7

0.0.7.0

Laravel helper for FullCalendar.io

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

28/04 2018

0.0.6

0.0.6.0

Laravel helper for FullCalendar.io

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

28/04 2018

0.0.5

0.0.5.0

Laravel helper for FullCalendar.io

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

27/04 2018

0.0.4

0.0.4.0

Laravel helper for FullCalendar.io

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

27/04 2018

0.0.3

0.0.3.0

Laravel helper for FullCalendar.io

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

27/04 2018

0.0.2

0.0.2.0

Laravel helper for FullCalendar.io

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

27/04 2018

0.0.1

0.0.1.0

Laravel helper for FullCalendar.io

  Sources   Download

MIT

The Requires

  • php >=5.6.0