Skip to content

Topic Maps backend in PHP – see TopicCards for the UI

License

Notifications You must be signed in to change notification settings

tistre/TopicCards-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TopicCards-lib

TopicCards Neo4j backend (PHP)

Installation

Use Composer to add this library your project’s composer.json file:

$ composer require strehle-de/topiccards-lib

Quick test with Docker

Build the PHP image that meets this library's requirements:

$ docker build docker/php -t strehle-de/topiccards-php

Install dependencies:

$ docker run --rm --interactive --tty \
  --volume $PWD:/app --volume ${COMPOSER_HOME:-$HOME/.composer}:/tmp \
  --workdir /app strehle-de/topiccards-php composer install

Convert XML to Cypher:

$neo4jClient = (new StrehleDe\TopicCards\Configuration\Configuration('config/config.yaml'))->getNeo4jClient();
$script = new StrehleDe\TopicCards\Import\SimpleImportScript($neo4jClient);
$script->convertFileToCypher($argv[1]);

About

Topic Maps backend in PHP – see TopicCards for the UI

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published