madbob/lov-api

Simple wrapper for the Linked Open Vocabularies (LOV) API

Installs: 191

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Forks: 0

pkg:composer/madbob/lov-api

0.1.1 2022-02-15 12:29 UTC

This package is auto-updated.

Last update: 2025-09-15 19:31:35 UTC


README

Very simple wrapper to the Linked Open Vocabularies (LOV) API.

use MadBob\LovAPI\LovAPI;

/*
    Inits the client
*/
$lov = new LovAPI;

/*
    Fetches some information about the ontology, given his namespace
*/
$info = $lov->get('http://schema.org/');

/*
    Fetches the actual ontology file from the repository, given a namespace
*/
$file = $lov->fetchFile('http://schema.org/');