https://github.com/gbv/jskos-php
JSKOS data model in PHP
https://github.com/gbv/jskos-php
coli-conc jskos library
Last synced: about 1 year ago
JSON representation
JSKOS data model in PHP
- Host: GitHub
- URL: https://github.com/gbv/jskos-php
- Owner: gbv
- License: other
- Archived: true
- Created: 2016-01-29T07:45:34.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-10-11T06:51:07.000Z (over 6 years ago)
- Last Synced: 2025-03-13T01:42:18.183Z (over 1 year ago)
- Topics: coli-conc, jskos, library
- Language: PHP
- Homepage: https://packagist.org/packages/gbv/jskos
- Size: 162 KB
- Stars: 4
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jskos - JSKOS data model in PHP
[](https://packagist.org/packages/gbv/jskos)
[](LICENSE)
[](https://travis-ci.org/gbv/jskos-php)
[](https://coveralls.io/r/gbv/jskos-php)
[](https://scrutinizer-ci.com/g/gbv/jskos-php)
[](https://packagist.org/packages/gbv/jskos)
**jskos** is a PHP library for easy processing of knowledge organization systems (KOS) as classifications, thesauri, and authority files given in [JSKOS data format](http://gbv.github.io/jskos/). JSKOS is a JSON format based on [Simple Knowledge Organisation System (SKOS)](http://www.w3.org/TR/skos-reference).
# Requirements
JSKOS-PHP requires PHP 7.2. No additional libraries are required.
# Installation
## With composer
Install the latest version with
~~~bash
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:
~~~php
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](https://github.com/gbv/jskos-php-examples)
contains several examples, including wrappers of existing terminology services
(Wikidata, GND...) to JSKOS-API.
The examples can be tried online at .
# Contributung
See `CONTRIBUTUNG.md` for technical details.
Bugs and feature request are [tracked on GitHub](https://github.com/gbv/jskos-php/issues).
# Author and License
Jakob Voß
JSKOS-PHP is licensed under the LGPL license - see `LICENSE.md` for details.
# See also
JSKOS is created as part of project coli-conc: .
The current specification of JSKOS is available at .
Additional PHP packages for JSKOS processing:
* [jskos-http](https://packagist.org/packages/gbv/jskos-http) - JSKOS API server and client
* [jskos-rdf](https://packagist.org/packages/gbv/jskos-rdf) - JSKOS RDF conversion