PHPackages                             conjecto/easyspinrdf - 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. [API Development](/categories/api)
4. /
5. conjecto/easyspinrdf

ActiveLibrary[API Development](/categories/api)

conjecto/easyspinrdf
====================

SPIN implementation using the awsome EasyRdf

0.1.0-beta.1(13y ago)7221BSD-3-ClausePHPPHP &gt;=5.2.8

Since Mar 11Pushed 12y ago9 watchersCompare

[ Source](https://github.com/conjecto/easyspinrdf)[ Packagist](https://packagist.org/packages/conjecto/easyspinrdf)[ RSS](/packages/conjecto-easyspinrdf/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

EasySpinRdf
===========

[](#easyspinrdf)

[SPIN SPARQL Syntax](http://spinrdf.org/sp.html) implementation using the awesome [EasyRdf](http://www.easyrdf.org).

SPIN SPARQL Syntax is a machine-readable notation of SPARQL in RDF format. This EasyRdf extension convert SPIN RDF data structures into valid SPARQL query strings.

[![Build Status](https://camo.githubusercontent.com/88fa4e02c79065d47eaaca4574157fb75a6c01839386116099e0493dbbb7de03/68747470733a2f2f7472617669732d63692e6f72672f636f6e6a6563746f2f656173797370696e7264662e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/conjecto/easyspinrdf)

### Example

[](#example)

Take this RDF graph in ttl :

```
my:query
  a sp:Ask ;
  sp:where (
    [ sp:object sp:_age ;
      sp:predicate my:age ;
      sp:subject spin:_this
    ] [ a sp:Filter ;
      sp:expression
        [ sp:arg1 sp:_age ;
          sp:arg2 18 ;
          a sp:lt
        ]
    ] )
]

```

Get the corresponding SPARQL Query with EasyRdf and EasySpinRdf :

```
EasySpinRdf_Utils::setTypeMappers();
$graph = new EasyRdf_Graph("http://conjecto.com/queries.ttl");
$graph->load();
echo $graph->get("my:query")->getSparql();

```

Result :

```
ASK WHERE {
	?this my:age ?age .
	FILTER (?age < 18) .
}

```

Links
-----

[](#links)

- [EasyRdf Homepage](http://www.easyrdf.org/)
- Source Code:
- Issue Tracker:
- [Conjecto Homepage](http://www.conjecto.com/)

Todo
----

[](#todo)

- Reverse engineering
- [SPIN Modeling Vocabulary](http://spinrdf.org/spin.html) support

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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

Unknown

Total

1

Last Release

4855d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/033fab9c50233f1ec2320281d5f4e19425b286afd98c420a108140e8d374aad5?d=identicon)[bdecarne](/maintainers/bdecarne)

---

Top Contributors

[![bdecarne](https://avatars.githubusercontent.com/u/1277131?v=4)](https://github.com/bdecarne "bdecarne (35 commits)")[![serwan](https://avatars.githubusercontent.com/u/5001766?v=4)](https://github.com/serwan "serwan (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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