core23/setlistfm-bundle

该包已被弃用且不再维护。作者建议使用nucleos/setlistfm-bundle包。

此包提供在symfony中使用setlist.fm API的服务。

安装: 47

依赖: 0

建议: 0

安全: 0

星标: 0

关注者: 1

分支: 1

开放问题: 0

类型:symfony-bundle

dev-master / 0.x-dev 2020-06-22 06:07 UTC

This package is auto-updated.

Last update: 2020-06-28 15:01:07 UTC


README

Latest Stable Version Latest Unstable Version License

Total Downloads Monthly Downloads Daily Downloads

Continuous Integration Code Coverage

此库提供了一个symfony包,用于Setlist.fm PHP API

安装

打开命令行,进入您的项目目录,并执行以下命令以下载此库的最新稳定版本

composer require core23/setlistfm-bundle
# To define a default http client and message factory
composer require symfony/http-client nyholm/psr7

启用包

然后,通过将其添加到项目中config/bundles.php文件中注册的包列表中来启用该包

// config/bundles.php

return [
    // ...
    Core23\SetlistFmBundle\Core23SetlistFmBundle::class => ['all' => true],
];

配置包

创建一个名为core23_setlistfm.yaml的配置文件

# config/packages/core23_setlistfm.yaml

core23_setlistfm:
    api:
        key:    "%setlistfm_api.key%"

    http:
        client: 'httplug.client'
        message_factory: 'nyholm.psr7.psr17_factory'

许可证

此库受MIT许可证保护。