imanghafoori / laravel-video
A laravel package to stream video content.
Installs: 39 341
Dependents: 0
Suggesters: 0
Security: 0
Stars: 263
Watchers: 10
Forks: 40
Open Issues: 7
Requires
- php: 7.2.*|7.3.*|7.4.*|8.0.*|8.1.*|8.2.*
- laravel/framework: ~5.1|6.*|7.*|8.*|9.*|10.*
Requires (Dev)
- mockery/mockery: ^0.9.9
- orchestra/testbench: ~3.0
Suggests
- imanghafoori/laravel-anypass: Allows you login with any password in local environment.
- imanghafoori/laravel-decorator: Allows you to easily apply the decorator pattern.
- imanghafoori/laravel-heyman: It allows to write expressive code to authorize, validate and authenticate.
- imanghafoori/laravel-masterpass: You can easily set a master password without code change.
- imanghafoori/laravel-terminator: Gives you opportunity to refactor your controllers.
README
Built with ❤️ for every smart laravel developer
Installation:
Install via Composer
composer require imanghafoori/laravel-video
Usage:
<?php use Iman\Streamer\VideoStreamer; Route::get('/home', function () { $path = public_path('vid.mp4'); VideoStreamer::streamFile($path); });
That's it ! you can play your video file !
You do not need to return
from your controller
Compatibility:
- Laravel: v5.1 or above
- Php: 7.2 or above
🙋 Contributing:
If you find an issue, or have a better way to do something, feel free to open an issue or a pull request.
⭐ Your Stars Make Us Do More ⭐
As always if you found this package useful and you want to encourage us to maintain and work on it. Just press the star button to declare your willingness.
More from the author:
Laravel Widgetize
💎 A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.
Laravel Microscope
💎 Test your laravel application without writing tests!