Consuming Linked Data Using PHP

Installation

Step 1: Install from GitHub

In a Terminal Window

$ cd {YOUR-APACHE-DOCUMENT-ROOT}
$ git clone https://github.com/librarywebchic/c4l16_ld_php.git
$ cd c4l16_ld_php

Step 2: Use composer to install the dependencies

$ curl -s https://getcomposer.org/installer | php
$ php composer.phar install

Composer is a dependency management library for PHP. It is used to install the required libraries for testing and parsing RDF data. The dependencies are configured in the file composer.json.

Usage

To run the demo code, point your web browser at the localhost address where these instructions will install it by default.

http://localhost/c4l16_ld_php