Skip to content

Instantly share code, notes, and snippets.

View Curdal's full-sized avatar
🏠
Working from home

Curtis Page Curdal

🏠
Working from home
View GitHub Profile
@Curdal
Curdal / CloudConvertAudio.php
Created March 10, 2020 11:02
Laravel 5+ Listener to convert audio files
<?php
namespace App\Listeners;
use Log, Storage;
use GuzzleHttp\Client as HttpClient;
use CloudConvert\Api as CloudConvert;
use App\Events\ConvertAudio;
use App\Enums\ConversionStatus;
use Illuminate\Queue\InteractsWithQueue;