PHP code example of drewdan / asset-handler

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

    

drewdan / asset-handler example snippets




return [
	'disk' => 'public',
	'storage_path' => 'assets',
	'use_original_filename' => false,
	'route' => [
		'prefix' => 'markdown-assets',
		'middleware' => null,
	],
];


php artisan vendor:publish --provider="Drewdan\AssetHandler\AssetHandlerServiceProvider" --tag="config"