PHP code example of finesse / web-fonts-repository
1. Go to this page and download the library: Download finesse/web-fonts-repository 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/ */
finesse / web-fonts-repository example snippets
return [
// ...
'fonts' => [
'Open Sans' => [
'styles' => [
'300' => 'OpenSans/opensans-light.*',
'300i' => 'OpenSans/opensans-light-italic.*',
'400' => 'OpenSans/opensans-regular.*',
'400i' => 'OpenSans/opensans-regular-italic.*',
]
],
'Roboto' => [
'styles' => [
'300' => 'Roboto/roboto-light.*',
'400' => 'Roboto/roboto-regular.*',
'500' => 'Roboto/roboto-medium.*',
'700' => 'Roboto/roboto-bold.*',
]
]
]
];