承接 gdbots/iam 相关项目开发

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

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

gdbots/iam

最新稳定版本:v3.0.0

Composer 安装命令:

composer require gdbots/iam

包简介

Php library that provides implementations for gdbots:iam schemas.

README 文档

README

Php library that provides implementations for gdbots:iam schemas. Using this library assumes that you've already created and compiled your own pbj classes using the Pbjc and are making use of the "gdbots:iam:mixin:*" mixins from gdbots/schemas.

Symfony Integration

Enabling these services in a Symfony app is done by importing classes and letting Symfony autoconfigure and autowire them.

config/packages/iam.yml:

services:
  _defaults:
    autowire: true
    autoconfigure: true
    public: false

  Gdbots\Iam\:
    resource: '%kernel.project_dir%/vendor/gdbots/iam/src/**/*'
    exclude: '*Aggregate*'

  Gdbots\Iam\NcrAppProjector:
    arguments:
      $enabled: '%env(bool:NCR_PROJECTOR_ENABLED)%'

  Gdbots\Iam\NcrUserProjector:
    arguments:
      $enabled: '%env(bool:NCR_PROJECTOR_ENABLED)%'

The above services do NOT handle security though, to get that we need deeper integration with Symfony which is provided by the gdbots/iam-bundle-php.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2017-03-15