PHPackages                             saft/saft - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. saft/saft

Abandoned → [easyrdf/easyrdf](/?search=easyrdf%2Feasyrdf)ArchivedLibrary[Parsing &amp; Serialization](/categories/parsing)

saft/saft
=========

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

1.1.1(7y ago)77582[10 issues](https://github.com/SaftIng/Saft/issues)MITPHPPHP &gt;=5.6

Since Jun 10Pushed 7y ago2 watchersCompare

[ Source](https://github.com/SaftIng/Saft)[ Packagist](https://packagist.org/packages/saft/saft)[ Docs](https://safting.github.io/)[ RSS](/packages/saft-saft/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (9)Versions (31)Used By (0)

Saft
====

[](#saft)

Saft stands for **S**emantic **A**pplication **F**ramework Saf**t** and is a PHP framework, which provides RDF handling and support for Semantic Web technologies. It consists of the core library (*Saft.data*, *Saft.rdf*, *Saft.sparql* and *Saft.store*) 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

[](#build-status-and-code-coverage)

Core ComponentComposer PackageBuild StatusCode CoverageDatasaft/saft-data[![Build Status](https://camo.githubusercontent.com/5d68a02b5b798f95a501e48f51df1241d1414b093081f72171eab4805c3f2442/68747470733a2f2f7472617669732d63692e6f72672f53616674496e672f536166742e646174612e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/SaftIng/Saft.data)[![Coverage Status](https://camo.githubusercontent.com/b9fe819b4a81d4bb0c9760d9d86a236029e17a2c15d6dcfbd83541b7e809345a/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f53616674496e672f536166742e646174612f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/SaftIng/Saft.data?branch=master)Rdfsaft/saft-rdf[![Build Status](https://camo.githubusercontent.com/8c15a29a5d1b64bf98387e92f78a32ac3c227f0dd18e6e828a5ccb04263d7a11/68747470733a2f2f7472617669732d63692e6f72672f53616674496e672f536166742e7264662e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/SaftIng/Saft.rdf)[![Coverage Status](https://camo.githubusercontent.com/e080eb94ff31e659fbe898c11d0368c3050f91a388a60d97652de6041345e435/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f53616674496e672f536166742e7264662f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/SaftIng/Saft.rdf?branch=master)Sparqlsaft/saft-sparql[![Build Status](https://camo.githubusercontent.com/f487d0acab5bcc0c3b89a49e300683ca86514ad73ca160265027f9804faf34a9/68747470733a2f2f7472617669732d63692e6f72672f53616674496e672f536166742e73706172716c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/SaftIng/Saft.sparql)[![Coverage Status](https://camo.githubusercontent.com/46b410acbdd1e45db1d561af73001fae6f737eea4409121d438366f6030e7a2e/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f53616674496e672f536166742e73706172716c2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/SaftIng/Saft.sparql?branch=master)Storesaft/saft-store[![Build Status](https://camo.githubusercontent.com/30139b75f4de76df8fcbcbde08b44800e1dfb9d7ffc10f05311f8a3e3c5a4134/68747470733a2f2f7472617669732d63692e6f72672f53616674496e672f536166742e73746f72652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/SaftIng/Saft.store)[![Coverage Status](https://camo.githubusercontent.com/d95030b58889adaa8ebec2825cbaecd01128ce9a91c8b96a384c4eb9714c9831/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f53616674496e672f536166742e73746f72652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/SaftIng/Saft.store?branch=master)AdditionComposer PackageBuild StatusCode CoverageARC2saft/saft-arc2[![Build Status](https://camo.githubusercontent.com/7688467edd140e6a953670f62abb8b0004b25006bebdd044189c8ca27577c4a5/68747470733a2f2f7472617669732d63692e6f72672f53616674496e672f536166742e617263322e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/SaftIng/Saft.arc2)[![Coverage Status](https://camo.githubusercontent.com/c618bfe44c9fe41be95e66e4cba9a42bab0f4dc2accbfd54c45914864c6c1614/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f53616674496e672f536166742e617263322f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/SaftIng/Saft.arc2?branch=master)hardfsaft/saft-hardf[![Build Status](https://camo.githubusercontent.com/5406c167c0216027287b45a1daaa487d3e99789b6c8328417cb73f841cce2b73/68747470733a2f2f7472617669732d63692e6f72672f53616674496e672f536166742e68617264662e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/SaftIng/Saft.hardf)[![Coverage Status](https://camo.githubusercontent.com/3153636bc75cd4055b782d1f5eb377c9a2e3cdeef204d7101463e8737cfd0d1f/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f53616674496e672f536166742e68617264662f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/SaftIng/Saft.hardf?branch=master)Virtuososaft/saft-store-virtuoso[![Build Status](https://camo.githubusercontent.com/cee7604e6c589a85707fa3f83094d6cdb92a97eb7d37a38b9f2e574690f604b2/68747470733a2f2f7472617669732d63692e6f72672f53616674496e672f536166742e73746f72652e76697274756f736f2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/SaftIng/Saft.store.virtuoso)[![Coverage Status](https://camo.githubusercontent.com/5675ae324fd5a0aa9ccdf832582cdc95920d22a79ea5c08f855f0e83a2314c76/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f53616674496e672f536166742e73746f72652e76697274756f736f2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/SaftIng/Saft.store.virtuoso?branch=master)License
-------

[](#license)

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

This program is licensed under the terms of the [MIT license](https://github.com/SaftIng/Saft/blob/master/LICENSE).

Current development status
--------------------------

[](#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)

###  Health Score

29

—

LowBetter than 58% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 71.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~42 days

Total

29

Last Release

2822d ago

Major Versions

0.15 → 1.02018-03-20

1.1.1 → 2.x-dev2018-09-17

PHP version history (4 changes)0.1.0-alpha1PHP &gt;=5.3.3

0.8PHP &gt;=5.4

0.9PHP &gt;=5.6

2.x-devPHP ^7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/2454c38f5482626f9e23683449bdc460b97c201836630de35ef63b170e2bf163?d=identicon)[white-gecko](/maintainers/white-gecko)

![](https://www.gravatar.com/avatar/cc012239e82798bfbf91be6fa4c1a2cb0c1f0faa738de0865d954daa5d98bb3d?d=identicon)[k00ni](/maintainers/k00ni)

---

Top Contributors

[![k00ni](https://avatars.githubusercontent.com/u/381727?v=4)](https://github.com/k00ni "k00ni (751 commits)")[![white-gecko](https://avatars.githubusercontent.com/u/1018168?v=4)](https://github.com/white-gecko "white-gecko (242 commits)")[![vitaB](https://avatars.githubusercontent.com/u/5122557?v=4)](https://github.com/vitaB "vitaB (53 commits)")[![pfrischmuth](https://avatars.githubusercontent.com/u/351542?v=4)](https://github.com/pfrischmuth "pfrischmuth (3 commits)")

---

Tags

arc2parserrdfrdf-libraryserializersparqlstorevirtuosoparserserializerRDFSemantic WebLinked DataSaftTriple StoreQueryCache

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/saft-saft/health.svg)

```
[![Health](https://phpackages.com/badges/saft-saft/health.svg)](https://phpackages.com/packages/saft-saft)
```

###  Alternatives

[aksw/erfurt

PHP/Zend based Semantic Web API for Social Semantic Software

416.8k1](/packages/aksw-erfurt)[masterminds/html5

An HTML5 parser and serializer.

1.8k260.4M292](/packages/masterminds-html5)[digitalbazaar/json-ld

A JSON-LD Processor and API implementation in PHP.

28658.1k1](/packages/digitalbazaar-json-ld)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1155.2k](/packages/rcsofttech-audit-trail-bundle)[laktak/hjson

JSON for Humans. A configuration file format with relaxed syntax, fewer mistakes and more comments.

86241.3k14](/packages/laktak-hjson)[metroplex-systems/edifact

Parser and Serializer for UN/EDIFACT messages

36408.3k](/packages/metroplex-systems-edifact)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
