Download the PHP package boxhead/soundcloud-sync without Composer

On this page you can find all versions of the php package boxhead/soundcloud-sync. 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 soundcloud-sync

Soundcloud Sync plugin for Craft CMS 4.x

Sync your Soundcloud track data into Craft Entries

Requirements

This plugin requires Craft CMS 4.0.0 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

    cd /path/to/project
  2. Then tell Composer to load the plugin:

    composer require boxhead/soundcloud-sync
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Soundcloud Sync.

Soundcloud Sync Overview

Take the headache out of syncing your Soundcloud data into your site with Soundcloud Sync. For the time being syncing only happens one-way, Soundcloud » Craft.

This plugin authorizes with the Soundcloud API using the 'client_credentials' grant type and can therefore only access plublic content and that from the Soundcloud account owner of the Soundcloud app.

Configuring Soundcloud Sync

  1. Open up the Soundcloud Sync settings and specify your Soundcloud app details including Client ID, Client Secret and Soundcloud User ID.

  2. Specify which Craft Section and Entry Type to have the plugin sync the data to by their respective IDs.

  3. You may also optionally specify a comma separated list of Craft category groups by their handle. If these are present the plugin will search for tags associated with a Soundcloud tag that are prefixed with these handles allowing it to automatically create and attach those categories to the resulting Craft Entry. FOr example you may set 'speaker' as a category group handle. If a track contains a tag for 'speaker:Joe Bloggs', 'Joe Bloggs' will be created as a Craft category added to the Craft entry for that track.

Fields

SoundCloud Sync works by saving API data to Craft fields. The fields it looks for by handle include:

You can setup one, multiple or all of these fields in your Craft installation.

Categories

As described above the plugin can automatically save genre and tag data to Craft categorfies if formatted in an expected way.

  1. Setup your Craft category groups e.g. 'Theme', 'Genre', 'Artist', 'Speaker'

  2. Setup category fields that can map to these groups using the following format for the field handles soundcloudCategories{{ category group handle}}, so in the case of an 'Artists' categroy group you'd have a field called soundcloudCategoriesArtist

Using Soundcloud Sync

Soundcloud Sync can be set to run periodically using a Cron task pointing at {{ your site url }}/actions/soundcloud-sync/sync. This will search for an create new Craft entries for any Soundcloud tracks that don't yet exist, and will update any existing entries with an updated counts for playback, favourited and comments.

Soundcloud Sync Roadmap

Brought to you by Boxhead


All versions of soundcloud-sync with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0.2
craftcms/cms Version ^4.0.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 boxhead/soundcloud-sync contains the following files

Loading the files please wait ....