承接 idci/booxi-client-bundle 相关项目开发

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

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

idci/booxi-client-bundle

最新稳定版本:v1.0.2

Composer 安装命令:

composer require idci/booxi-client-bundle

包简介

README 文档

README

Symfony bundle that provides an api client for Booxi

Installation

Install this bundle using composer :

composer require idci/booxi-client-bundle

Configuration

Create an Eightpoint Guzzle HTTP client

In the file config/packages/eight_points_guzzle.yaml, create a Booxi API client :

eight_points_guzzle:
    clients:
        booxi_api:
            base_url: 'https://%env(resolve:BOOXI_HOST)%/booking/v1/'

Configure a cache pool

Create a dedicated Booxi cache, or use any of your existing pools :

In the file config/services.yaml, register your cache pool :

# Redis example
app.cache.adapter.redis.booxi:
    parent: 'cache.adapter.redis'
    tags:
        - { name: 'cache.pool', namespace: 'Booxi' }

In the file config/packages/cache.yaml, define your cache pool :

framework:
    cache:
        # ...
        pools:
            cache.booxi:
                public: true

Configure booxi-client-bundle

In config/packages/, create a idci_booxi_client.yaml file :

idci_booxi_client:
    guzzle_http_client_service_alias: 'eight_points_guzzle.client.booxi_api'
    cache_pool_service_alias: 'cache.booxi'
    api_key: '%env(string:BOOXI_API_KEY)%'
    partner_key: '%env(string:BOOXI_PARTNER_KEY)%'

Then, add these environment variable in your .env file :

###> idci/booxi-client-bundle ###
BOOXI_HOST='api.booxi.eu'
BOOXI_API_KEY=
BOOXI_PARTNER_KEY=
###< idci/booxi-client-bundle ###

To retrieve more informations about Booxi API, go to Booxi API or EU Booxi API.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: CECILL-C
  • 更新时间: 2025-05-13