laravel-viddler-upload maintained by leadthread
Author
Last update
2017/08/08 18:16 (dev-master)
License
Downloads
46
Tags
Last update
2017/08/08 18:16
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- nesbot/carbon ^1.21
- leadthread/php-viddler ^3.0.0
Last update
2017/08/08 18:16
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- leadthread/php-viddler ^3.0.0
- nesbot/carbon ^1.21
Last update
2017/08/08 18:15
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- leadthread/php-viddler ^3.0.0
- nesbot/carbon ^1.21
Last update
2017/04/20 16:39
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- leadthread/php-viddler ^3.0.0
- nesbot/carbon ^1.21
Last update
2017/04/20 16:12
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- leadthread/php-viddler ^2.0.0
- nesbot/carbon ^1.21
Last update
2017/03/03 18:12
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^2.0.0
- nesbot/carbon ^1.21
Last update
2016/10/25 22:27
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^2.0.0
- nesbot/carbon ^1.21
Last update
2016/10/25 21:31
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^2.0.0
- nesbot/carbon ^1.21
Last update
2016/10/01 20:35
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^2.0.0
- nesbot/carbon ^1.21
Last update
2016/09/27 05:03
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^2.0.0
- nesbot/carbon ^1.21
Last update
2016/09/26 23:37
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^2.0.0
- nesbot/carbon ^1.21
Last update
2016/09/26 20:03
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^2.0.0
- nesbot/carbon ^1.21
Last update
2016/09/26 19:45
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^2.0.0
- nesbot/carbon ^1.21
Last update
2016/09/25 07:59
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^2.0.0
- nesbot/carbon ^1.21
Last update
2016/09/25 07:11
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^2.0.0
- nesbot/carbon ^1.21
Last update
2016/09/25 02:50
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^2.0.0
- nesbot/carbon ^1.21
Last update
2016/09/24 18:08
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^2.0.0
- nesbot/carbon ^1.21
Last update
2016/09/23 20:23
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^2.0.0
- nesbot/carbon ^1.21
Last update
2016/09/22 20:51
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^2.0.0
- nesbot/carbon ^1.21
Last update
2016/09/22 20:35
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^2.0.0
- nesbot/carbon ^1.21
Last update
2016/09/22 20:17
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^2.0.0
- nesbot/carbon ^1.21
Last update
2016/09/22 20:17
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^2.0.0
- nesbot/carbon ^1.21
Last update
2016/09/21 21:01
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^1.0.0
Last update
2016/09/21 20:38
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^1.0.0
Last update
2016/09/21 19:15
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^1.0.0
Last update
2016/09/21 18:21
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^1.0.0
Last update
2016/09/20 22:42
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^1.0.0
Last update
2016/09/20 22:01
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^1.0.0
Last update
2016/09/20 21:45
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^1.0.0
Last update
2016/09/20 21:38
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^1.0.0
Last update
2016/09/20 21:04
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^1.0.0
Last update
2016/09/19 22:51
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^1.0.0
Last update
2016/09/19 22:35
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^1.0.0
Last update
2016/09/19 21:53
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- zenapply/php-viddler ^1.0.0
Last update
2016/09/19 19:40
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- viddler/phpviddler dev-master
Last update
2016/09/18 22:55
License
Require
- illuminate/support ^5.2.31
- illuminate/filesystem ^5.2.31
- illuminate/http ^5.2.31
- league/flysystem ^1.0.27
- viddler/phpviddler dev-master
comments powered by Disqus
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
LeadThread\Viddler\Upload\Providers\Viddler::class
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
$model->convert();
// Upload it
$model->upload();
// Check the encoding status
$model->check();
return $model;
}
Contributions are always welcome!