core23 / setlistfm-bundle
dev-master / 0.x-dev
2020-06-22 06:07 UTC
Requires
- php: ^7.2
- ext-json: *
- core23/setlistfm-api: ^2.0
- psr/http-client: ^1.0
- psr/http-message: ^1.0
- psr/log: ^1.0
- symfony/config: ^4.2 || ^5.0
- symfony/dependency-injection: ^4.2 || ^5.0
- symfony/expression-language: ^4.2 || ^5.0
- symfony/framework-bundle: ^4.2 || ^5.0
- symfony/http-foundation: ^4.2 || ^5.0
- symfony/http-kernel: ^4.2 || ^5.0
Requires (Dev)
- bamarni/composer-bin-plugin: ^1.3
- ergebnis/composer-normalize: ^2.0.1
- nyholm/psr7: ^1.0
- symfony/browser-kit: ^4.4 || ^5.0
- symfony/http-client: ^4.4 || ^5.0
Suggests
- cache/adapter-bundle: Symfony cache adapter
- symfony/http-client: Symfony HTTP client implementation
This package is auto-updated.
Last update: 2020-06-28 15:01:07 UTC
README
此库提供了一个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许可证保护。