PHPackages                             legrand/sparqlmodel - 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. [Database &amp; ORM](/categories/database)
4. /
5. legrand/sparqlmodel

ActiveLibrary[Database &amp; ORM](/categories/database)

legrand/sparqlmodel
===================

A model for Laravel 4, that can manage object through a graph database using SPARQL endpoint.

7242[1 issues](https://github.com/snoozeman/sparqlmodel/issues)PHP

Since Jul 31Pushed 12y ago1 watchersCompare

[ Source](https://github.com/snoozeman/sparqlmodel)[ Packagist](https://packagist.org/packages/legrand/sparqlmodel)[ RSS](/packages/legrand-sparqlmodel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

SPARQLModel for Laravel (PHP)
=============================

[](#sparqlmodel-for-laravel-php)

A model for Laravel 4, that can manage object through a graph database using SPARQL endpoint.

How to use this model
---------------------

[](#how-to-use-this-model)

First of all you need to have access to an endpoint. If you need to perform INSERT and DELETE, make sur you have these privileges.

### Install

[](#install)

To install SPARQLModel in your Laravel 4 project, update your composer.json file by adding this line in the require array:

```
    "legrand/sparqlmodel": "dev-master"

```

After that you can open a terminal in the root folder of your project and run composer :

```
    composer update

```

it will add the package in your project.

### Configuration

[](#configuration)

This model need some configurations to work. Create a 'sparqlmodel.php' file in app/config and add this arry :

```
