PHP code example of swiftmade / playback
1. Go to this page and download the library: Download swiftmade/playback library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
swiftmade / playback example snippets
'stores' => [
// ... other stores
'playback' => [
'driver' => 'redis',
// 👇🏻 Caution!
// You probably don't want to use the cache connection in production.
// Playback cache can grow to a big size for busy applications.
// Make sure your redis instance is ready.
'connection' => 'cache',
],
]
bash
php artisan vendor:publish --provider="Swiftmade\Playback\PlaybackServiceProvider"