PHPackages                             shatodj/bolt-soundcloud-slug-resolver - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. shatodj/bolt-soundcloud-slug-resolver

AbandonedArchivedBolt-extension[Templating &amp; Views](/categories/templating)

shatodj/bolt-soundcloud-slug-resolver
=====================================

Bolt CMS Soundcloud Slug Resolver Extension.

1.0.0(6y ago)02MITPHP

Since May 3Pushed 5y ago1 watchersCompare

[ Source](https://github.com/shatodj/bolt-soundcloud-slug-resolver)[ Packagist](https://packagist.org/packages/shatodj/bolt-soundcloud-slug-resolver)[ RSS](/packages/shatodj-bolt-soundcloud-slug-resolver/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (2)Versions (2)Used By (0)

BOLT CMS Soundcloud Slug Resolver Extension.
============================================

[](#bolt-cms-soundcloud-slug-resolver-extension)

The extension provides Twig Template Runtime function that will resolve Soundcloud Slug and inject data to the TWIG template.

```
{% set sc_resolved = soundcloud_resolve('shatopaulrockseek/sets/singles') %}
Soundcloud Title {{ sc_resolved.data.title }}
```

Disclaimer
----------

[](#disclaimer)

Before you jump into using this extension on some of your awesome projects, mind that you have to register your Soundcloud App first to obtain client credentials. However, **Soundcloud stopped providing new app registrations** due to a high amount of requests and no one knows when they'll be back again with some other innovative way.

You can still browse Google for some existing credentials or try to extract `CLIENT_ID` from the Soundcloud website and browser console (F12) traffic view.

Installation
------------

[](#installation)

1. From Bolt Market Place

    - Find `shatodj/bolt-soundcloud-slug-resolver` in Bolt extensions sections
2. Using composer

    - Go to Bolt project `/extensions` folder and run

    ```
    composer require shatodj/bolt-soundcloud-slug-resolver
    ```
3. Brute force (if market doesn't work) :)

    - Add new `bolt-soundcloud-slug-resolver` repository entry to `/extensions/composer.json` like this eg.:

    ```
     "repositories": {
        "packagist": false,
        "bolt": {
            "type": "composer",
            "url": "https://market.bolt.cm/satis/"
        },
        "bolt-soundcloud-slug-resolver": {
            "type": "git",
            "url": "https://github.com/shatodj/bolt-soundcloud-slug-resolver"
        }
    },
    ```

    - Change `minimum-stability` to `dev` in `extensions/package.json`

    ```
    "minimum-stability": "dev",
    ```

    - Add new require entry to `extensions/package.json` eg.:

    ```
    require: {
        // ..
        "shatodj/bolt-soundcloud-slug-resolver": "dev-master@dev"
    }
    ```

Usage
-----

[](#usage)

Use the new twig function `soundcloud_resolve('/your_dj_slug/your_track')` to get data from Soundcloud.

```

    {% set sc_resolved = soundcloud_resolve('shatopaulrockseek/sets/singles') %}
    {% if sc_resolved.error is not null %}
        {{ sc_resolved.error.message }}
    {% else %}
        Soundcloud Title {{ sc_resolved.data.title }}
    {% endif %}

```

The function returns this data object:

```
{
    // error object with info about errors (eg. 401, not autorized) \Throwable interface
    error: {
        message: "string"
        code: "string"
    },
    // an actual Soundcloud data, or null (if `error` prop. is not null)
    data: {}
}
```

Feel free to experiment with other standard Soundcloud slugs. For more info check Soundcloud HTTP API and /resolve resource.

Configuration
=============

[](#configuration)

Be sure to set proper settings for the extension.

```
# Soundcloud BASE URL. Change this when the default URL is not working with the desired `CLIENT_ID`.
# eg.: https://api-mobi.soundcloud.com
base_url: https://api.soundcloud.com

# In case you do not own your developer Client ID, try to extract one
# from browser console (F12) when refreshing Soundcloud page or playback track.
client_id:
```

Licence
-------

[](#licence)

MIT

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2200d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3619850?v=4)[Kubo Satnik](/maintainers/shatodj)[@shatodj](https://github.com/shatodj)

---

Tags

apitwigextensionboltsoundcloudboltcms

### Embed Badge

![Health badge](/badges/shatodj-bolt-soundcloud-slug-resolver/health.svg)

```
[![Health](https://phpackages.com/badges/shatodj-bolt-soundcloud-slug-resolver/health.svg)](https://phpackages.com/packages/shatodj-bolt-soundcloud-slug-resolver)
```

###  Alternatives

[shoot/shoot

Shoot aims to make providing data to your templates more manageable

40229.9k2](/packages/shoot-shoot)[umanit/twig-image-extension

An extension to facilitate the integration of responsive images' markup in Twig templates.

1042.2k](/packages/umanit-twig-image-extension)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
