Download the PHP package modularavel/larabunny without Composer
On this page you can find all versions of the php package modularavel/larabunny. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download modularavel/larabunny
More information about modularavel/larabunny
Files in modularavel/larabunny
Download modularavel/larabunny
More information about modularavel/larabunny
Files in modularavel/larabunny
Vendor modularavel
Package larabunny
Short Description Use Bunny Stream Filesystem Adapter for Laravel application
License MIT
Package larabunny
Short Description Use Bunny Stream Filesystem Adapter for Laravel application
License MIT
Please rate this library. Is it a good library?
Informations about the package larabunny
Bunny Stream for Laravel
This is Laravel Filesystem's Driver for simple integration with Laravel.
Installation
Configuration
This package automatically register the service provider and the storage disk for the driver larabunny
. You can configure the disk in config/filesystems.php
:
and remember to add the environment variables in your .env
file:
Usage
Extra Methods
Method | Description |
---|---|
get($path) | By default returns playlist.m3u8's content, but you can customize it by adding suffix like "$path/playlist.m3u8", "$path/play_240p.mp4" and more. |
getHls($path) | Returns playlist.m3u8's content, which would be the main entrypoint for any HLS player. |
getOriginal($path) | As the name suggests, it just returns the original file's content user had uploaded initially |
getMp4($path, $quality = '240p,360p,etc') | Returns Mp4 file's content, $quality param allows you to customize which file you want, such 240p , 360p , 720p , NOTE: all the quality might not be available depending on the Original file's quality |
getMp4($path, $quality = 'low,mid,high') | Not recommended to be called in N+1 situation, as this requires API to resolve what resolution is the low, and what is high, mid, etc. |
All versions of larabunny with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
ext-json Version *
illuminate/support Version *
illuminate/filesystem Version *
toshy/bunnynet-php Version ^5.0
guzzlehttp/guzzle Version ^7.9
ext-json Version *
illuminate/support Version *
illuminate/filesystem Version *
toshy/bunnynet-php Version ^5.0
guzzlehttp/guzzle Version ^7.9
The package modularavel/larabunny contains the following files
Loading the files please wait ....