Download the PHP package gbv/bartoc-jskos without Composer

On this page you can find all versions of the php package gbv/bartoc-jskos. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package bartoc-jskos

This repository contains a wrapper to access the public Basel Register of Thesauri, Ontologies & Classifications (BARTOC) in JSKOS format via Entity Lookup Microservice API (ELMA).

Background

BARTOC is the most comprehensive registry of knowledge organization systems such as classification schemes, thesauri, glossaries, and ontologies. JSKOS is a unified format for information about knowledge organization systems, based on SKOS and JSON-LD. For background information see the following publications:

Requirements

Requires PHP 7, the jskos-rdf PHP library and Text_LanguageDetect.

Installation

composer require gbv/bartoc-jskos

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

Usage

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

require 'vendor/autoload.php';

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

$jskos = $service->queryURI("http://bartoc.org/en/node/447");
$jskos = $service->query(["uri" => "http://bartoc.org/en/node/447"]);
$jskos = $service->query(["notation" => "447"]);

See jskos-php-examples for an example how to use the wrapper as part of a larger PHP application.

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

php examples/bartoc2jskos.php http://bartoc.org/en/node/18600
php examples/bartoc2jskos.php 18600

Contributung

Bugs and feature request are tracked on GitHub.

See CONTRIBUTING.md of repository jskos-php for general guidelines.

Author and License

Jakob Voß [email protected]

bartoc-jskos is licensed under the LGPL license (see LICENSE for details).

Latest Stable Version License Build Status Coverage Status


All versions of bartoc-jskos with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
gbv/jskos Version >=0.3.4
gbv/jskos-rdf Version 0.3.x
pear/text_languagedetect Version 1.0.x
symfony/yaml Version ^3.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package gbv/bartoc-jskos contains the following files

Loading the files please wait ....