aryan-developer / soundclouddownloader
a Library for download music from soundcloud easily :)
v1.1
2023-08-08 00:56 UTC
Requires
- php: >=8.1
- ext-curl: *
This package is auto-updated.
Last update: 2025-05-04 19:48:12 UTC
README
use this library for download from SoundCloud Easily
Installation
Recommended way of installing this is via Composer:
composer require aryan-developer/soundclouddownloader
Run locally:
php -S localhost:8000
Usage
<?php use Aryan\soundcloud\SoundCloud; require_once "./vendor/autoload.php"; /** * Initialize */ $soundCloud = new SoundCloud(); /** * Search Music with Query And Get Result */ $musics = $soundCloud->searchMusic("tataloo man2"); /** * Get Music detail from Music ID */ var_dump( $soundCloud->getMusic(5453455) ); /** * get Music Detail With SoundCloud Url */ var_dump( $soundCloud->getMusicWithUrl("https://soundcloud.com/bahramnouraei/daagh") ); /** * Download with Music ID */ $soundCloud->downloadMusic($musics[0]['id']);