Download the PHP package bbcarchdev/liblod without Composer

On this page you can find all versions of the php package bbcarchdev/liblod. 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 liblod

liblod-php

A Linked Open Data client library for PHP, developed as part of the RES project.

It also works for Linked Data (without the "Open"), but was initially developed for LOD, and the name stuck.

Note that this is experimental code which is still under development.

Requirements

PHP 5.6 or higher (it works under PHP 7, but no features from PHP 7 are used).

Installation

To install this library for use with your own code, do:

Usage

See liblod-php_usage.md (in this directory).

Developing the code

To develop liblod-php, clone the repo:

Then you'll need to install the dependencies. You can do this with:

Running the tests

To run the unit tests:

To run the integration tests:

Note that the integration tests work against the live Acropolis stack and other LOD sites, so you will need a network connection to run them. They can also be somewhat fragile, as the number of statements for fetched resources may periodically change, depending on what has been ingested. This can occasionally cause test failures.

Code coverage

To generate a code coverage report for the tests, you will first need to install the XDebug PHP module. Then, run:

The report can be viewed by opening build/cov/index.html in a web browser.

Code quality

Code quality checks can be run with:

This uses PHPMD to report on various issues with the code.

API docs

Rudimentary (incomplete) API docs can be generated with:

The generated docs end up in the build/apidocs/ directory.

Code style checking

The code style can be checked with:

The code style report ends up in the build/style/ directory.

(Note that the code style configuration is in the phpcheckstyle-config.xml file.)

Authors

API design by Mo McRoberts.

Implementation by Elliot Smith.

Contributing

Contributions are welcome via github pull requests.

Please use the github issue tracker to raise issues.

Licence

Elliot Smith, © BBC 2017

liblod-php is licensed under the terms of the Apache License, Version 2.0 (see LICENCE-APACHE.txt).

The liblod-php code base distributes the following software (used during development):

(NB these libraries are distributed with the source because they cause version clashes with dependencies used by the runtime library or are inconvenient to install.)

liblod-php depends on these libraries at runtime (which are licensed as stated); these are not distributed with liblod-php:

liblod-php depends on these libraries for development (which are licensed as stated); these are not distributed with liblod-php:


All versions of liblod with dependencies

PHP Build Version
Package Version
Requires pietercolpaert/hardf Version ^0.1.1
easyrdf/easyrdf Version ^0.9.1
guzzlehttp/psr7 Version ^1.4
guzzlehttp/guzzle Version ^6.2
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 bbcarchdev/liblod contains the following files

Loading the files please wait ....