定制 bprs/applink-bundle 二次开发

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

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

bprs/applink-bundle

Composer 安装命令:

composer require bprs/applink-bundle

包简介

Simple key link for applications

README 文档

README

Allows CRUD linking of Applications

If you want to allow different applications to share informations, you'll face the problem of securing those api's.
With the BprsAppLinkBundle, controlling keys and permissions is easy.

#Installation

##Get Bundle

composer require bprs/applink-bundle

##Activate Bundle

  //AppKernel
  new Bprs\AppLinkBundle\BprsAppLinkBundle(),
  new EightPoints\Bundle\GuzzleBundle\GuzzleBundle()

##Activate Routing

bprs_applink:
    resource: .
    type: bprs_applink

##Set firewall, access_controls

security:
    providers:
        bprs_applink:
            entity:
                class: BprsAppLinkBundle:Keychain
                property: user

    encoders:
        Bprs\AppLinkBundle\Entity\Keychain: plaintext

    firewalls:
        api:
            pattern:  ^/api
            http_basic: ~
            provider: bprs_applink

    access_control:
        # require BPRS_APPLINK for /api*
        - { path: ^/api, roles: ROLE_BPRS_APPLINK }

##Use Bundle

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: 未知许可证
  • 更新时间: 2015-04-21