PHP code example of litstack / file-downloads

1. Go to this page and download the library: Download litstack/file-downloads 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/ */

    

litstack / file-downloads example snippets


$nav->entry('File Downloads', [
    'link' => route('lit.file-downloads'),
    'icon' => '<i class="fas fa-download"></i>',
]),
shell
php artisan vendor:publish --tag=lit-file-downloads
php artisan migrate