Laravel Viddler Upload

Latest Version Software License Build Status Scrutinizer Code Quality Code Coverage Dependency Status Total Downloads

This package makes uploading videos to Viddler easier


Install via composer - In the terminal:

composer require leadthread/laravel-viddler-upload

Now add the following to the providers array in your config/app.php


and this to the aliases array in config/app.php

"Viddler" => LeadThread\Viddler\Upload\Facades\Viddler::class,

Then you will need to run these commands in the terminal in order to copy the config file

php artisan vendor:publish --provider="LeadThread\Viddler\Upload\Providers\Viddler"

This package includes a migration file. Before you run the migration you may want to take a look at config/viddler.php and change the table property to a table name that you would like to use. After that run the migration

php artisan migrate


function upload(Request $request)
	$file = $request->file('file');
	$name = "My Video Title";

	 * Returns an Eloquent Model
	$model = Viddler::create($file, $name);

	// Convert the file

	// Upload it

	// Check the encoding status

	return $model;


Contributions are always welcome!