承接 hansvn/laravel-vcalendar 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hansvn/laravel-vcalendar

最新稳定版本:0.0.4

Composer 安装命令:

composer require hansvn/laravel-vcalendar

包简介

VCalendar generator for the laravel Framework

README 文档

README

This package contains an iCalendar file generator for laravel. Created from some code I had lying around.

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

Hansvn\Vcalendar\ServiceProvider::class,

Add this to your facades:

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

Laravel 4.x:

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

'Hansvn\Vcalendar\L4ServiceProvider',

Add this to your facades:

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

License

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

统计信息

  • 总下载量: 17.94k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-03-10