scubaclick/l4calendr

CalendR integration into Laravel 4

This package's canonical repository appears to be gone and the package has been frozen as a result.

v1.0 2013-09-22 17:00 UTC

This package is auto-updated.

Last update: 2020-02-11 18:54:52 UTC


README

Laravel Facade and Service Provider for CalendR. Still being developed for ScubaClick, so handle with care for now!

Stable Version

v1.0

Installation

Install by adding the following to the require block in composer.json:

"scubaclick/l4calendr": "dev-master"

Then add the following in app/config/app.php to the service providers array:

'ScubaClick\CalendR\CalendRServiceProvider',

Then add to the aliases array the following:

'Calendar' => 'ScubaClick\CalendR\CalendRFacade',

To change the configuration values, run the following command in the console:

php artisan config:publish scubaclick/l4calendr

Usage

You can access the calendar class like so:

$month = \Calendar::getMonth(2012, 01);

Documentation

For the full documentation on CalendR, please visit http://yohan.giarel.li/

License

Like CalendR, ScubaClick CalendR is licenced under the MIT license.