Skip to content

gbv/jskos-php

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

jskos - JSKOS data model in PHP

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads

jskos is a PHP library for easy processing of knowledge organization systems (KOS) as classifications, thesauri, and authority files given in JSKOS data format. JSKOS is a JSON format based on Simple Knowledge Organisation System (SKOS).

Requirements

JSKOS-PHP requires PHP 7.2. No additional libraries are required.

Installation

With composer

Install the latest version with

composer require gbv/jskos

This will automatically create composer.json for your project (unless it already exists) and add jskos as dependency. Composer also generates vendor/autoload.php to get autoloading of all dependencies:

require_once __DIR__ . '/vendor/autoload.php';

$concept = new JSKOS\Concept( [ "uri" => "http://example.org" ] );
echo $concept->json();

Usage and examples

The jskos-php-examples repository contains several examples, including wrappers of existing terminology services (Wikidata, GND...) to JSKOS-API.

The examples can be tried online at https://jskos-php-examples.herokuapp.com.

Contributung

See CONTRIBUTUNG.md for technical details.

Bugs and feature request are tracked on GitHub.

Author and License

Jakob Voß jakob.voss@gbv.de

JSKOS-PHP is licensed under the LGPL license - see LICENSE.md for details.

See also

JSKOS is created as part of project coli-conc: https://coli-conc.gbv.de/.

The current specification of JSKOS is available at http://gbv.github.io/jskos/.

Additional PHP packages for JSKOS processing: