wernerdweight/spotify-api-client-bundle

为wernerdweight/spotify-api-client提供的Symfony包封装。

0.2.0 2019-12-09 06:45 UTC

README

此包封装了SpotifyApiClient到Symfony Bundle中。

Build Status Latest Stable Version Total Downloads License

安装

  1. 使用Composer下载
composer require wernerdweight/spotify-api-client-bundle
  1. 启用包

在您的Kernel中启用包

    <?php
    // config/bundles.php
    return [
        // ...
        WernerDweight\SpotifyApiClientBundle\SpotifyApiClientBundle::class => ['all' => true],
    ];
  1. 在项目中使用
use WernerDweight\SpotifyApiClientBundle\Service\ApiFactory;

class MyService
{
    // TODO:
}

许可证

此包遵循MIT许可证。请参阅包根目录下的完整许可证。