2017 © Pedro Peláez
 

library laravel-vcalendar

VCalendar generator for the laravel Framework

image

hansvn/laravel-vcalendar

VCalendar generator for the laravel Framework

  • Friday, March 10, 2017
  • by hansvn
  • Repository
  • 1 Watchers
  • 2 Stars
  • 233 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 14 % Grown

The README.md

iCalendar Generator for laravel

This package contains an iCalendar file generator for laravel. Created from some code I had lying around., (*1)

Usage

$vcalendar = array(
    'prodid' => array('company' => 'My Company', 'product' => 'VCalendar attachment', 'language' => \App::getLocale()),
    'uid' => 'my@email.address',
    'organizer' => array('name' => 'my name', 'email' => 'my@email.address'),
    'location' => 'Grand Canyon',
    'subject' => 'Hiking',
    'description' => 'Going on a trip',
    'start_date' => '2017-03-10 09:00:00',
    'end_date' => '2017-03-10 19:00:00',
    'attendees' => array(
        array('name' => 'an invitee', 'email' => 'invitee@email.address'),
    )
);

//return file_path on temp directory
$file = VCalendar::generate($vcalendar);

Installation

Laravel 5.x:

After updating composer, add the ServiceProvider to the providers array in config/app.php, (*2)

Hansvn\Vcalendar\ServiceProvider::class,

Add this to your facades:, (*3)

'VCalendar' => Hansvn\Vcalendar\Facade::class

Laravel 4.x:

After updating composer, add the ServiceProvider to the providers array in config/app.php, (*4)

'Hansvn\Vcalendar\L4ServiceProvider',

Add this to your facades:, (*5)

'VCalendar' => 'Hansvn\Vcalendar\L4Facade'

License

The MIT License (MIT). Please see License File for more information., (*6)

The Versions

10/03 2017

dev-master

9999999-dev

VCalendar generator for the laravel Framework

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

by Avatar hansvn

laravel ics vcalendar

10/03 2017

v0.0.3

0.0.3.0

VCalendar generator for the laravel Framework

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

by Avatar hansvn

laravel ics vcalendar