PHPackages                             arkhas/laravel5calendar - 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. arkhas/laravel5calendar

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

arkhas/laravel5calendar
=======================

A calendar with event managment package for laravel 5 using Carbon and Blade templating

v1.0.7(8y ago)161.6k1[1 issues](https://github.com/Arkhas/Laravel5Calendar/issues)[1 PRs](https://github.com/Arkhas/Laravel5Calendar/pulls)MITPHP

Since May 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Arkhas/Laravel5Calendar)[ Packagist](https://packagist.org/packages/arkhas/laravel5calendar)[ RSS](/packages/arkhas-laravel5calendar/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (2)Versions (11)Used By (0)

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

[](#installation)

Install the package through [Composer](http://getcomposer.org/) :

```
composer require arkhas/laravel5calendar

```

Now all you have to do is add the service provider of the package and alias the package. To do this open your `app/config/app.php` file.

Add a new line to the `service providers` array:

```
Arkhas\Calendar\CalendarServiceProvider::class,

```

Add a new line to the `aliases` array:

```
'Calendar' => Arkhas\Calendar\Facades\Calendar::class,

```

Then insert this in the top of your file :

```
use Calendar;
```

Or use it directly :

```
$calendar = \Calendar::generate();
```

Now you're ready to start using the calendar package in your application.

Usage
-----

[](#usage)

You can use the `generate` method to generate a calendar, it will return the template of the calendar.

```
// Generate a calendar for the current month and year
$calendar = Calendar::generate();

// Generate a calendar for the specified year and month
$calendar = Calendar::generate(2012, 5);

// Add an array of events as the third parameter to add them to the calendar (YYYY/MM/DD),
$events = array(
	'2016/5/3',
	'2016/5/5',
	'2016/5/11',
	'2016/5/16',
	'2016/5/28',
);

$calendar = Calendar::generate(2016, 5, $events);

// Add an array of data as the fourth parameter so you can use them in the view :

$data = array(
	'name' => 'Arkhas',
	'url'  =>  '/event/arkhas',
	'foo' => 'bar'
);

$calendar = Calendar::generate(2016, 5, $events, $data);
```

For using it in you view, simply use :

```
{!! $calendar !!}
```

Routing
-------

[](#routing)

By default, the routing format is `/calendar/YYYY/MM` , you can change the leading route using the url data parameter :

```
$data['url'] = '/foo/bar/';
```

Template
--------

[](#template)

If you want to use a custom template, run :

```
php artisan vendor:publish

```

The template is located in `resources/views/vendor/calendar/calendar.blade.php`

The css file is located in `public/assets/arkhas/calendar/calendar.css`

Navigate through the calendar
-----------------------------

[](#navigate-through-the-calendar)

Add this to your template

```

```

Navigate through the calendar with links using the `calendarButton` Class. The ajax script will replace the `calendar` class by an updated calendar.

For more information about how it work, you can navigate to `/arkhas/demo` and see the template in `ressources/views/vendor/calendar/demo.blade.php`

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 57.7% 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 ~80 days

Recently: every ~140 days

Total

8

Last Release

3091d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/17cb849c1cbfc336171c653b680d38e04e2ac9a88cda198a66918d25601e3293?d=identicon)[Arkhas](/maintainers/Arkhas)

---

Top Contributors

[![nickescobedo](https://avatars.githubusercontent.com/u/2837169?v=4)](https://github.com/nickescobedo "nickescobedo (15 commits)")[![Arkhas](https://avatars.githubusercontent.com/u/5020806?v=4)](https://github.com/Arkhas "Arkhas (11 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/arkhas-laravel5calendar/health.svg)

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

###  Alternatives

[anlutro/l4-settings

Persistent settings in Laravel.

9312.4M19](/packages/anlutro-l4-settings)[godruoyi/php-snowflake

An ID Generator for PHP based on Snowflake Algorithm (Twitter announced).

8582.3M61](/packages/godruoyi-php-snowflake)[tuupola/ksuid

K-Sortable Globally Unique IDs

1081.2M4](/packages/tuupola-ksuid)[mcordingley/linearalgebra

Matrix math for PHP.

85146.3k1](/packages/mcordingley-linearalgebra)[hyva-themes/magento2-wysiwyg-svg

Allow SVGs and all tailwind classes in CMS block and page content.

17130.8k](/packages/hyva-themes-magento2-wysiwyg-svg)[syrian-open-source/laravel-youtube-iframe-generator

Laravel package allows you to generate an iframe tag with a video player depending on a youtube URL.

184.2k](/packages/syrian-open-source-laravel-youtube-iframe-generator)

PHPackages © 2026

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