定制 valiton/shariff-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

valiton/shariff-bundle

最新稳定版本:0.6.0

Composer 安装命令:

composer require valiton/shariff-bundle

包简介

Symfony2 bundle for Shariff php backend

README 文档

README

This bundle allows to easily integrate Shariff with your Symfony 2 application

Installation

Install the bundle with composer:

composer require valiton/shariff-bundle

and activate the bundle in your kernel.

Add the following to your app/config/routing.yml:

valiton_shariff:
    resource: "@ValitonShariffBundle/Resources/config/routing.xml"
    prefix:   /shariff

Configuration

Configure the bundle according to your needs, full config example:

valiton_shariff:
    domain: '<your-domain>' 
    force_protocol: ~ # http or https
    cache:
        cacheDir: '%kernel.cache_dir%'   
        ttl: 3600
        adapter: 'Apc' # to use apc for caching, 
    client: # optinal guzzle settings
        timeout: 4
        connect_timeout: 2
    services:
        Facebook:
            app_id: <your app id>
            secret: <your secret>
        GooglePlus: ~
        Twitter: ~

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 21
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-02-09