PHP code example of acdh-oeaw / arche-assets
1. Go to this page and download the library: Download acdh-oeaw/arche-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/ */
acdh-oeaw / arche-assets example snippets
print_r(acdhOeaw\UriNormRules::getRules());
print_r(acdhOeaw\UriNormRules::getRules(['viaf', 'gnd']));
print_r(acdhOeaw\ArcheFileFormats::getAll();
print_r(acdhOeaw\ArcheFileFormats::getByMime('application/json');
print_r(acdhOeaw\ArcheFileFormats::getByExtension('application/json');