ARC2 is a PHP 8.4+ library for working with RDF. It also provides a MySQL-based triplestore with SPARQL support. Older versions of PHP may work, but are not longer tested.
For the documentation, see the Wiki. To quickly get started, see the Getting started guide.
Requires PHP 8.4+.
Package available on Composer.
You should use Composer for installation:
composer require semsol/arc2:^3Further information about Composer usage can be found here, for instance about autoloading ARC2 classes.
Please have a look into SPARQL-support.md to see which SPARQL 1.0/1.1 features are currently supported.
Please have a look here to find information about maintaining and extending ARC2 as well as our docker setup for local development.