PHPackages                             rogos/laravel-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. rogos/laravel-calendar

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

rogos/laravel-calendar
======================

Laravel 4 Flexible Calendar

17PHP

Since Dec 9Pushed 11y ago2 watchersCompare

[ Source](https://github.com/Rogos/laravel-calendar)[ Packagist](https://packagist.org/packages/rogos/laravel-calendar)[ RSS](/packages/rogos-laravel-calendar/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel 4 Calendar
==================

[](#laravel-4-calendar)

Flexible Calendar for Laravel 4, supports Month, Week and Day Views and multiple events per date.

To change the view type dynamically, pass in a GET variable called 'cv' (calendar view) with either a 'week' or 'day' value. Day and Week views are split into 30 minute interval rows.

Install:

Add this to "require" in composer.json:

```
	"makzumi/calendar": "dev-master"

```

After that run a composer update, then in app.php add:

```
	'providers' => array(
				...,
				'Makzumi\Calendar\CalendarServiceProvider',
			),

```

To use, create a new Calender instance and generate it, below you'll find several options to customize it as well:

```
	$events = array(
		"2014-04-09 10:30:00" => array(
			"Event 1",
			"Event 2  with html",
		),
		"2014-04-12 14:12:23" => array(
			"Event 3",
		),
		"2014-05-14 08:00:00" => array(
			"Event 4",
		),
	);

	$cal = Calendar::make();
	/**** OPTIONAL METHODS ****/
	$cal->setDate(Input::get('cdate')); //Set starting date
	$cal->setBasePath('/dashboard'); // Base path for navigation URLs
	$cal->showNav(true); // Show or hide navigation
	$cal->setView(Input::get('cv')); //'day' or 'week' or null
	$cal->setStartEndHours(8,20); // Set the hour range for day and week view
	$cal->setTimeClass('ctime'); //Class Name for times column on day and week views
	$cal->setEventsWrap(array('', '')); // Set the event's content wrapper
	$cal->setDayWrap(array('','')); //Set the day's number wrapper
	$cal->setNextIcon('>>'); //Can also be html:
	$cal->setPrevIcon('setHeadClass('table-header'); //Set top header's class name
	$cal->setNextClass('btn'); // Set next btn class name
	$cal->setPrevClass('btn'); // Set Prev btn class name
	$cal->setEvents($events); // Receives the events array
	/**** END OPTIONAL METHODS ****/

	echo $cal->generate() // Return the calendar's html;

```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ae61731b3edd1ce6b7745ba71b170616b866bb29646e46baa8cb0e4ed1975542?d=identicon)[Rogos](/maintainers/Rogos)

---

Top Contributors

[![makzumi](https://avatars.githubusercontent.com/u/1649159?v=4)](https://github.com/makzumi "makzumi (2 commits)")[![Rogos](https://avatars.githubusercontent.com/u/3833338?v=4)](https://github.com/Rogos "Rogos (2 commits)")

### Embed Badge

![Health badge](/badges/rogos-laravel-calendar/health.svg)

```
[![Health](https://phpackages.com/badges/rogos-laravel-calendar/health.svg)](https://phpackages.com/packages/rogos-laravel-calendar)
```

###  Alternatives

[jaocero/filachat

FilaChat is a plugin for integrating real-time customer support chat into your application. Provides tools for both customer and agent chat interfaces, with features for managing and maintaining chat conversations.

1813.6k](/packages/jaocero-filachat)

PHPackages © 2026

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