nachofassini/reservations-calendar 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

nachofassini/reservations-calendar

Composer 安装命令:

composer require nachofassini/reservations-calendar

包简介

This is rewriten [https://github.com/bastianallgeier/gantti] Gantt Class to fit my needs Eg. To show multiple events (bookings) per resource and Laravel 5.3 compatibility

README 文档

README

#Laravel 5 Booking calendar ##About This is rewriten [https://github.com/bastianallgeier/gantti] Gantt Class to fit my needs Eg. To show multiple events (bookings) per resource and Laravel 5 compatibility

##Screenshot

##Installation

Require ognjenm/reservations-calendar in composer.json and run composer update.

{
    "require": {
        "laravel/framework": "5.2.*",
        ...
        "ognjenm/reservations-calendar": "*"
    }
    ...
}

Composer will download the package. After the package is downloaded, open config/app.php and add the service provider and alias as below:


'providers' => array(
    ...
    \Ognjenm\ReservationsCalendar\ReservationsCalendarServiceProvider::class,
),



'aliases' => array(
    ...
    'ResCalendar' => \Ognjenm\ReservationsCalendar\Facades\ResCalendar::class,
),

Finally you need to publish a configuration file by running the following Artisan command.

php artisan vendor:publish --tag=public --force

Include css in your view

<link href="{{asset('vendor/ognjenm/calendar.css}}" rel="stylesheet" type="text/css">

###Examples

Prepare data


$data[] = [
    'label' => 'Soba 1',
    'info' => '2+1',
    'class' => 'blue',
    'events' => [
        [
            'label' => 'Ognjen Miletic',
            'tooltip' => '<h5>Potvrdjena rezervacija</h5><br><p>od: 19.06.2015</p><p>do: 23.06.2015</p><p>Ukupno: 578 EUR</p>',
            'url' => 'http://google.com',
            'start' => '2015-06-19',
            'end' => '2015-06-23',
            'class' => '',
            'icon' => 'fa-arrow-down'
        ],
        [
            'label' => 'Madona i ekipa',
            'tooltip' => '<h5>Potvrdjena rezervacija</h5><br><p>od: 19.06.2015</p><p>do: 23.06.2015</p><p>Ukupno: 1578 EUR</p>',
            'start' => '2015-06-10',
            'end' => '2015-06-19',
            'class' => 'checkout',
            'icon' => 'fa-sign-out'
        ],
        [
            'label' => 'Jovan Jovanovic Zmaj',
            'start' => '2015-06-23',
            'end' => '2015-06-30',
            'class' => 'uncomfirmed',
            'icon' => 'fa-question'
        ],
        [
            'label' => 'Nikola Nikolic',
            'tooltip' => '<h5>This is some html</h5>',
            'url' => 'http://google.com',
            'start' => '2015-06-30',
            'end' => '2015-07-15',
            'class' => 'stay'
        ],
    ]
];

Render calendar

{!! ResCalendar::render($data,['title'=>'Hotel'])!!}

##Contributions are welcomed

nachofassini/reservations-calendar 适用场景与选型建议

nachofassini/reservations-calendar 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 205 次下载、GitHub Stars 达 2, 最近一次更新时间为 2016 年 06 月 02 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 nachofassini/reservations-calendar 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 nachofassini/reservations-calendar 我们能提供哪些服务?
定制开发 / 二次开发

基于 nachofassini/reservations-calendar 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 205
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 17
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2016-06-02