PHP code example of technosophos / libris
1. Go to this page and download the library: Download technosophos/libris 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/ */
technosophos / libris example snippets
\LibRIS\RISReader;
$reader = new RISReader();
//...
re_once 'LibRIS/RISWriter.php';
$ris = new \LibRIS\RISReader();
$ris->parseFile('./test1.ris');
$ris->printRecords();
$records = $ris->getRecords();
$rw = new \LibRIS\RISWriter();
print $rw->writeRecords($records);