PHP code example of amplify / media

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

    

amplify / media example snippets


/**
 * LFM Route prefix
 * !!! WARNING - if you change it, you should compile frontend with new prefix(baseUrl) !!!
 */
'routePrefix' => 'file-manager',

/**
 * LFM Route prefix
 * !!! WARNING - if you change it, you should compile frontend with new prefix(baseUrl) !!!
 */
'routePrefix' => 'file-manager',


php artisan vendor:publish --tag=fm-assets --force