PHPackages                             gbv/viaf-jskos - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. gbv/viaf-jskos

AbandonedArchivedLibrary[API Development](/categories/api)

gbv/viaf-jskos
==============

JSKOS wrapper to Virtual International Authority File (VIAF)

0.2.0(8y ago)114LGPLPHPPHP &gt;=7.0

Since Aug 14Pushed 8y ago5 watchersCompare

[ Source](https://github.com/gbv/viaf-jskos)[ Packagist](https://packagist.org/packages/gbv/viaf-jskos)[ RSS](/packages/gbv-viaf-jskos/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (5)Versions (3)Used By (0)

viaf-jskos
==========

[](#viaf-jskos)

[![Latest Version](https://camo.githubusercontent.com/561b268e6e5bb5ba16b0530cf12f6f2e63d234be75339b56b12fbcd93725ce71/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6762762f766961662d6a736b6f732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gbv/viaf-jskos)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/82be6c7aa00819a69cddc15fc823b22f4a5844668b85fa51e227f3a4574820d4/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6762762f766961662d6a736b6f732e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/gbv/viaf-jskos)[![Coverage Status](https://camo.githubusercontent.com/702c039bceb7a0c08c41cac354b8b14f777bfd1cccdef3b1ca90514ba7b89ce9/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6762762f766961662d6a736b6f732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/r/gbv/viaf-jskos)[![Quality Score](https://camo.githubusercontent.com/4e20c70a6f5f3bcf30451b22f10a121fca491f6525bcfa884924ef1d0a1132ea/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6762762f766961662d6a736b6f732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/gbv/viaf-jskos)[![Total Downloads](https://camo.githubusercontent.com/b9af36c45d433f653162a6e799c69ac9b8c4080b7ea7e898779d192ab091bb47/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6762762f766961662d6a736b6f732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gbv/jskos)

This repository contains a wrapper to access the [Virtual International Authority File (VIAF)](http://viaf.org) in [JSKOS format](https://gbv.github.io/jskos/) via [Entity Lookup Microservice API (ELMA)](http://gbv.github.io/elma/).

Requirements
============

[](#requirements)

Requires PHP 7, [jskos-rdf](https://packagist.org/packages/gbv/jskos-rdf) package and a [HTTP client-implementation](https://packagist.org/packages/php-http/client-implementation) package.

Installation
============

[](#installation)

Install a HTTP client implementation package, e.g. [curl-client](https://packagist.org/packages/php-http/curl-client) and this package:

```
composer require php-http/curl-client gbv/viaf-jskos
```

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

Usage
=====

[](#usage)

The wrapper can be used as instance of class `\JSKOS\Service\VIAF`, a subclass of `\JSKOS\Service`:

```
require 'vendor/autoload.php';

$service = new \JSKOS\Service\VIAF();

$jskos = $service->queryURI("http://viaf.org/viaf/102333412");
$jskos = $service->query(["uri" => "http://viaf.org/viaf/102333412"]);
$jskos = $service->query(["notation" => "102333412"]);
```

This repository contains a command line script to query VIAF in JSKOS format:

```
php examples/viaf2jskos.php http://viaf.org/viaf/102333412
php examples/viaf2jskos.php 102333412
php examples/viaf2jskos.php Jane Austen

```

Contributung
============

[](#contributung)

Bugs and feature request are [tracked on GitHub](https://github.com/gbv/viaf-jskos/issues).

See `CONTRIBUTING.md` of repository [jskos-php](https://packagist.org/packages/gbv/jskos) for general guidelines.

Author and License
==================

[](#author-and-license)

Jakob Voß

This package is licensed under the LGPL license (see `LICENSE` for details).

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~24 days

Total

2

Last Release

3168d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d2a9725ee91210e1e5eab44e4f734b678a0650a03116aee170be7b49edcbb2e4?d=identicon)[gbv](/maintainers/gbv)

---

Top Contributors

[![nichtich](https://avatars.githubusercontent.com/u/299856?v=4)](https://github.com/nichtich "nichtich (2 commits)")

---

Tags

coli-concjskoslibraryserviceviafJSKOSVIAF

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gbv-viaf-jskos/health.svg)

```
[![Health](https://phpackages.com/badges/gbv-viaf-jskos/health.svg)](https://phpackages.com/packages/gbv-viaf-jskos)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
