PHP code example of legato / asset
1. Go to this page and download the library: Download legato/asset 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/ */
legato / asset example snippets
Relative Path
<link href="<?= asset('css/style.css')
<link href="<?= asset('css/style.css', 'v1')