PHP code example of 3ev / laravel-assets
1. Go to this page and download the library: Download 3ev/laravel-assets 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/ */
3ev / laravel-assets example snippets
// config/app.php
return [
'providers' => [
'Tev\Assets\Providers\AssetsServiceProvider'
]
];
<link rel="stylesheet" type="text/css" href="{{ tev_asset('css/style.css') }}" />
<img src="{{ tev_asset('img/logo.png') }}" title="My Logo" alt="My Logo" />