This package is abandoned and no longer maintained. The author suggests using the easyrdf/easyrdf package instead.

Saft library provides tools and an infrastructure to build Semantic Web and Linked Data applications.

1.1.1 2018-06-14 16:10 UTC


Saft stands for Semantic Application Framework Saft and is a PHP framework, which provides RDF handling and support for Semantic Web technologies. It consists of the core library (, Saft.rdf, Saft.sparql and and some additions (e.g. adapter for triple stores or integration of libraries like ARC2 and EasyRdf), which extend the core with application specific code.

There are currently 4 other RDF-libraries for PHP available (EasyRdf, Erfurt, hardf, ARC2). Each implements different areas with various quality and feature-coverage. Combined, they provide a rich feature-set from RDF data handling, serialization and parsing to database access. With Saft we aim to provide an integration layer to enable the usage of most of these libraries at the same time.

Build status and code coverage

Core Component Composer Package Build Status Code Coverage
Data saft/saft-data Build Status Coverage Status
Rdf saft/saft-rdf Build Status Coverage Status
Sparql saft/saft-sparql Build Status Coverage Status
Store saft/saft-store Build Status Coverage Status
Addition Composer Package Build Status Code Coverage
ARC2 saft/saft-arc2 Build Status Coverage Status
hardf saft/saft-hardf Build Status Coverage Status
Virtuoso saft/saft-store-virtuoso Build Status Coverage Status


Copyright (C) 2017 by Konrad Abicht, Natanael Arndt and the individual contributors

This program is licensed under the terms of the MIT license.

Current development status

Saft provides (basic) support for the following RDF libraries for PHP:

  • ARC2 (currently only data storage)
  • EasyRDF (currently only parser and serializer)
  • hardf (parser and serializer)