PHP code example of armancodes / laravel-download-link
1. Go to this page and download the library: Download armancodes/laravel-download-link 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/ */
armancodes / laravel-download-link example snippets
return [
/*
|--------------------------------------------------------------------------
| Download Route
|--------------------------------------------------------------------------
|
| Download route will be added to your app URL for using download links.
| E.g. if your app URL is "example.com", then if your set the download route to
| "download" it will be "example.com/download/{link}".
|
*/
'download_route' => 'download',
];