[GH-ISSUE #93] Usage with Symfony framework #49

Closed
opened 2026-02-27 19:25:47 +03:00 by kerem · 3 comments
Owner

Originally created by @bun4uk on GitHub (Jul 19, 2017).
Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/93

Have anybody used it with Symfony?

Originally created by @bun4uk on GitHub (Jul 19, 2017). Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/93 Have anybody used it with Symfony?
kerem 2026-02-27 19:25:47 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@jwilsson commented on GitHub (Jul 19, 2017):

Hi!
The only thing I'm aware of is https://github.com/mmoreram/SpotifyApiBundle but that hasn't been updated in a few years.

I'll leave this issue open in case someone else knows of something.

<!-- gh-comment-id:316361241 --> @jwilsson commented on GitHub (Jul 19, 2017): Hi! The only thing I'm aware of is https://github.com/mmoreram/SpotifyApiBundle but that hasn't been updated in a few years. I'll leave this issue open in case someone else knows of something.
Author
Owner

@tchapi commented on GitHub (Sep 21, 2017):

Just modify your composer.json to include the library in the classmap, so Composer adds it in the autoloader :

"autoload": {
        "psr-4": {
            "MainBundle\\": "src/MainBundle"
        },
        "classmap": [ 
            "app/AppKernel.php",
            "app/AppCache.php",
            "vendor/jwilsson/spotify-web-api-php/src" 
        ]
},
<!-- gh-comment-id:331139466 --> @tchapi commented on GitHub (Sep 21, 2017): Just modify your **composer.json** to include the library in the classmap, so Composer adds it in the autoloader : ```json "autoload": { "psr-4": { "MainBundle\\": "src/MainBundle" }, "classmap": [ "app/AppKernel.php", "app/AppCache.php", "vendor/jwilsson/spotify-web-api-php/src" ] }, ```
Author
Owner

@tchapi commented on GitHub (Sep 21, 2017):

I reckon this would be a nice addition in the docs for Symfony users

<!-- gh-comment-id:331140929 --> @tchapi commented on GitHub (Sep 21, 2017): I reckon this would be a nice addition in the docs for Symfony users
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-web-api-php#49
No description provided.