semsol / arc2

ARC RDF Classes for PHP
Other
332 stars 89 forks source link

Update wiki and README to reflect new way of setting up ARC2 #131

Open k00ni opened 5 years ago

k00ni commented 5 years ago

We have to update our README and wiki page(s) to outline how to get ARC2 running with 2.4+.

Fully working example should be (untested):

<?php 

$store = ARC2::getStore($arc_config);
$store->createDBCon(); // <== creates DB connection
$store->setup(); // <== checks if required tables are exist

$store->query('LOAD <http://example.org>');

Incomplete TODO list