PHPackages                             edofre/laravel-fullcalendar-scheduler - 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. edofre/laravel-fullcalendar-scheduler

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

edofre/laravel-fullcalendar-scheduler
=====================================

Laravel component for fullcalendar scheduler module

V1.2.3(8y ago)251.5k6[1 issues](https://github.com/Edofre/laravel-fullcalendar-scheduler/issues)MITPHPPHP &gt;=5.6.4

Since Jan 26Pushed 3y ago5 watchersCompare

[ Source](https://github.com/Edofre/laravel-fullcalendar-scheduler)[ Packagist](https://packagist.org/packages/edofre/laravel-fullcalendar-scheduler)[ Docs](https://github.com/edofre/laravel-fullcalendar-scheduler)[ RSS](/packages/edofre-laravel-fullcalendar-scheduler/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (5)Versions (24)Used By (0)

Laravel fullcalendar scheduler component
========================================

[](#laravel-fullcalendar-scheduler-component)

[![Latest Stable Version](https://camo.githubusercontent.com/0df27e480768ee3badd8af517434e2f014e1f0bc34bc9380ca67b132da42cb01/68747470733a2f2f706f7365722e707567782e6f72672f65646f6672652f6c61726176656c2d66756c6c63616c656e6461722d7363686564756c65722f762f737461626c65)](https://packagist.org/packages/edofre/laravel-fullcalendar-scheduler)[![Total Downloads](https://camo.githubusercontent.com/18e41d0b5ff1f479efd86e530becc9cfa5b129e275eccc80fca609893f13ef8e/68747470733a2f2f706f7365722e707567782e6f72672f65646f6672652f6c61726176656c2d66756c6c63616c656e6461722d7363686564756c65722f646f776e6c6f616473)](https://packagist.org/packages/edofre/laravel-fullcalendar-scheduler)[![Latest Unstable Version](https://camo.githubusercontent.com/9210a66bb027158960bee37e2b067ba38429ccbf86e63d4055bfb9a157bbe89c/68747470733a2f2f706f7365722e707567782e6f72672f65646f6672652f6c61726176656c2d66756c6c63616c656e6461722d7363686564756c65722f762f756e737461626c65)](https://packagist.org/packages/edofre/laravel-fullcalendar-scheduler)[![License](https://camo.githubusercontent.com/738874c83db7f69e4d33d6ec73ce264d47e7021b8c9167516aa14736c4eac267/68747470733a2f2f706f7365722e707567782e6f72672f65646f6672652f6c61726176656c2d66756c6c63616c656e6461722d7363686564756c65722f6c6963656e7365)](https://packagist.org/packages/edofre/laravel-fullcalendar-scheduler)[![composer.lock](https://camo.githubusercontent.com/0bfd8aa987135b4a90a1624bcfa110fa431d25da1fca52c4ca201f45374c314c/68747470733a2f2f706f7365722e707567782e6f72672f65646f6672652f6c61726176656c2d66756c6c63616c656e6461722d7363686564756c65722f636f6d706f7365726c6f636b)](https://packagist.org/packages/edofre/laravel-fullcalendar-scheduler)[![Build Status](https://camo.githubusercontent.com/2ff00f1de835e82f40a36039ffc592ccffebf19031f98a068113416ca784ba24/68747470733a2f2f7472617669732d63692e6f72672f45646f6672652f6c61726176656c2d66756c6c63616c656e6461722d7363686564756c65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Edofre/laravel-fullcalendar-scheduler)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

To install, either run

```
$ php composer.phar require edofre/laravel-fullcalendar-scheduler "v1.2.3"

```

or add

```
"edofre/laravel-fullcalendar-scheduler": "v1.2.3"

```

to the `require` section of your `composer.json` file.

### Note

[](#note)

The fxp/composer-asset plugin is required for this package to install properly. This plugin enables you to download bower packages through composer.

You can install it using this command:

```
composer global require "fxp/composer-asset-plugin:^1.3.0”

```

This will add the fxp composer-asset-plugin and your composer will be able to find and download the required bower-asset/fullcalendar-scheduler package. You can find more info on this page: .

Configuration
-------------

[](#configuration)

Add the ServiceProvider to your config/app.php

```
'providers' => [
        ...
        Edofre\FullcalendarScheduler\FullcalendarSchedulerServiceProvider::class,
    ],
```

And add the facade

```
'aliases' => [
        ...
        'Fullcalendar' => Edofre\FullcalendarScheduler\Facades\FullcalendarScheduler::class,
    ],
```

Publish assets and configuration files

```
php artisan vendor:publish --tag=config
php artisan vendor:publish --tag=fullcalendar-scheduler

```

### Manually loading script files

[](#manually-loading-script-files)

By setting the include\_scripts option in the config/.env file to false the scripts will not be included when generating the calendar. If you want to manually include the scripts you can call the following static function in your header/footer/etc.

```
    \Edofre\FullcalendarScheduler\FullcalendarScheduler::renderScriptFiles();

```

### Example

[](#example)

Use the following as your controller action

```
/**
 * @return \Illuminate\Http\Response
 */
public function index()
{
    // Generate a new fullcalendar instance
    $calendar = new \Edofre\FullcalendarScheduler\FullcalendarScheduler();

    // Set events and resources, commented lines shows how to add them via ajax
    // $calendar->setEvents(route('fullcalendar-scheduler-ajax-events'));
    $calendar->setEvents([
        ['id' => '1', 'resourceId' => 'b', 'start' => '2016-05-07T02:00:00', 'end' => '2016-05-07T07:00:00', 'title' => 'event 1'],
        ['id' => '2', 'resourceId' => 'c', 'start' => '2016-05-07T05:00:00', 'end' => '2016-05-07T22:00:00', 'title' => 'event 2'],
        ['id' => '3', 'resourceId' => 'd', 'start' => '2016-05-06', 'end' => '2016-05-08', 'title' => 'event 3'],
        ['id' => '4', 'resourceId' => 'e', 'start' => '2016-05-07T03:00:00', 'end' => '2016-05-07T08:00:00', 'title' => 'event 4'],
        ['id' => '5', 'resourceId' => 'f', 'start' => '2016-05-07T00:30:00', 'end' => '2016-05-07T02:30:00', 'title' => 'event 5'],
    ]);

    // $calendar->setResources(route('fullcalendar-scheduler-ajax-resources'));
    $calendar->setResources([
        ['id' => 'a', 'title' => 'Auditorium A'],
        ['id' => 'b', 'title' => 'Auditorium B', 'eventColor' => 'green'],
		['id' => 'c', 'title' => 'Auditorium C', 'eventColor' => 'orange'],
        [
            'id'       => 'd',
            'title'    => 'Auditorium D',
            'children' => [
                ['id' => 'd1', 'title' => 'Room D1'],
                ['id' => 'd2', 'title' => 'Room D2'],
            ],
        ],
        ['id' => 'e', 'title' => 'Auditorium E'],
        ['id' => 'f', 'title' => 'Auditorium F', 'eventColor' => 'red'],
        ['id' => 'g', 'title' => 'Auditorium G'],
        ['id' => 'h', 'title' => 'Auditorium H'],
        ['id' => 'i', 'title' => 'Auditorium I'],
        ['id' => 'j', 'title' => 'Auditorium J'],
        ['id' => 'k', 'title' => 'Auditorium K'],
        ['id' => 'l', 'title' => 'Auditorium L'],
        ['id' => 'm', 'title' => 'Auditorium M'],
        ['id' => 'n', 'title' => 'Auditorium N'],
        ['id' => 'o', 'title' => 'Auditorium O'],
        ['id' => 'p', 'title' => 'Auditorium P'],
        ['id' => 'q', 'title' => 'Auditorium Q'],
        ['id' => 'r', 'title' => 'Auditorium R'],
        ['id' => 's', 'title' => 'Auditorium S'],
        ['id' => 't', 'title' => 'Auditorium T'],
        ['id' => 'u', 'title' => 'Auditorium U'],
        ['id' => 'v', 'title' => 'Auditorium V'],
        ['id' => 'w', 'title' => 'Auditorium W'],
        ['id' => 'x', 'title' => 'Auditorium X'],
        ['id' => 'y', 'title' => 'Auditorium Y'],
        ['id' => 'z', 'title' => 'Auditorium Z'],
    ]);

    // Set options
    $calendar->setOptions([
        'now'               => '2016-05-07',
        'editable'          => true, // enable draggable events
        'aspectRatio'       => 1.8,
        'scrollTime'        => '00:00', // undo default 6am scrollTime
        'defaultView'       => 'timelineDay',
        'views'             => [
            'timelineThreeDays' => [
                'type'     => 'timeline',
                'duration' => [
                    'days' => 3,
                ],
            ],
        ],
        'resourceLabelText' => 'Rooms',
        'eventClick' => new \Edofre\FullcalendarScheduler\JsExpression("
                    function(event, jsEvent, view) {
                        console.log(event);
                    }
                "),
                'viewRender' => new \Edofre\FullcalendarScheduler\JsExpression("
                    function( view, element ) {
                        console.log(\"View \"+view.name+\" rendered\");
                    }
                "),
    ]);

    return view('fullcalendar-scheduler.index', [
        'calendar' => $calendar,
    ]);
}
```

And then add the following to your view

```
{!! $calendar->generate() !!}
```

Tests
-----

[](#tests)

Run the tests by executing the following command:

```
composer test

```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~16 days

Recently: every ~32 days

Total

23

Last Release

3054d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/01cd9d2772b5c19c989c92093a092bd087524cee9629b0e715ccb4125a69f2e8?d=identicon)[edofre](/maintainers/edofre)

---

Top Contributors

[![Edofre](https://avatars.githubusercontent.com/u/710429?v=4)](https://github.com/Edofre "Edofre (116 commits)")

---

Tags

calendarfullcalendar-schedulerlaravellaravel-fullcalendar-schedulerresourceeventschedulerlaraveljavascriptcalendarfullcalendar-scheduler

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/edofre-laravel-fullcalendar-scheduler/health.svg)

```
[![Health](https://phpackages.com/badges/edofre-laravel-fullcalendar-scheduler/health.svg)](https://phpackages.com/packages/edofre-laravel-fullcalendar-scheduler)
```

###  Alternatives

[tightenco/ziggy

Use your Laravel named routes in JavaScript.

4.3k41.6M267](/packages/tightenco-ziggy)[edofre/yii2-fullcalendar-scheduler

Yii2 widget for fullcalendar scheduler module

2437.0k](/packages/edofre-yii2-fullcalendar-scheduler)[edofre/laravel-fullcalendar

Laravel component for fullcalendar package

591.8k](/packages/edofre-laravel-fullcalendar)[edofre/yii2-fullcalendar

Yii2 widget for fullcalendar

2761.7k1](/packages/edofre-yii2-fullcalendar)

PHPackages © 2026

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