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

ActiveLibrary

makzumi/calendar
================

Laravel 4 Flexible Calendar

617.3k31[5 issues](https://github.com/makzumi/laravel-calendar/issues)[1 PRs](https://github.com/makzumi/laravel-calendar/pulls)PHP

Since Jun 18Pushed 9y ago9 watchersCompare

[ Source](https://github.com/makzumi/laravel-calendar)[ Packagist](https://packagist.org/packages/makzumi/calendar)[ RSS](/packages/makzumi-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

30

—

LowBetter than 64% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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/defe44d6d4d059820a44a7fcbe098e1c2491d67050d57483fb073bfbf8eb495a?d=identicon)[makzumi](/maintainers/makzumi)

---

Top Contributors

[![makzumi](https://avatars.githubusercontent.com/u/1649159?v=4)](https://github.com/makzumi "makzumi (6 commits)")[![kwizzn](https://avatars.githubusercontent.com/u/119017?v=4)](https://github.com/kwizzn "kwizzn (2 commits)")[![AndreasLoukakis](https://avatars.githubusercontent.com/u/794135?v=4)](https://github.com/AndreasLoukakis "AndreasLoukakis (1 commits)")[![skecskes](https://avatars.githubusercontent.com/u/3411329?v=4)](https://github.com/skecskes "skecskes (1 commits)")

### Embed Badge

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

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

PHPackages © 2026

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