PHP code example of benxmy / laravel-dual-use-signed-url
1. Go to this page and download the library: Download benxmy/laravel-dual-use-signed-url 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/ */
benxmy / laravel-dual-use-signed-url example snippets
Route::get('/play-media/{user}', [DualUseSignedUrlController::class, 'handle'])
->name('dual-use-url')
->middleware('validateDualUseSignedUrl');