Download the PHP package shatodj/bolt-soundcloud-slug-resolver without Composer

On this page you can find all versions of the php package shatodj/bolt-soundcloud-slug-resolver. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package bolt-soundcloud-slug-resolver

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.

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

  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
  3. Brute force (if market doesn't work) :)

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

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

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

Usage

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

The function returns this data object:

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

Configuration

Be sure to set proper settings for the extension.

Licence

MIT


All versions of bolt-soundcloud-slug-resolver with dependencies

PHP Build Version
Package Version
Requires bolt/bolt Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package shatodj/bolt-soundcloud-slug-resolver contains the following files

Loading the files please wait ...