PHP code example of lasselehtinen / woodwing-assets
1. Go to this page and download the library: Download lasselehtinen/woodwing-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/ */
lasselehtinen / woodwing-assets example snippets
return [
/*
|--------------------------------------------------------------------------
| WoodWing Assets configuration
|--------------------------------------------------------------------------
|
| Note! Remember to
$assets = new \LasseLehtinen\Assets\Assets();
$searchResults = $assets->search(query: 'Jari Tervo', num: 2);
bash
php artisan vendor:publish --tag="woodwing-assets-config"