PHPackages                             ziadoz/silex-capsule - 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. ziadoz/silex-capsule

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

ziadoz/silex-capsule
====================

A Laravel Eloquent ORM/Capsule service provider for Silex

2.0.0(8y ago)1826.2k7MITPHPPHP &gt;=5.5.9

Since Mar 15Pushed 6y agoCompare

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

READMEChangelog (5)Dependencies (4)Versions (6)Used By (0)

Silex Capsule Service Provider
==============================

[](#silex-capsule-service-provider)

*Note: This repository is no longer maintained, as the Silex has ended in favour of Symfony 4 Flex.*

This is a service provider for the [Silex Micro Framework](http://silex.sensiolabs.org/) that integrates [Laravel's Eloquent ORM](http://laravel.com/docs/5.0/eloquent) via [Capsule](https://github.com/illuminate/database), its standalone wrapper implementation.

Requirements
------------

[](#requirements)

In order to use the service provider you'll need to be running **PHP 5.5.9+**

Installation
------------

[](#installation)

The best way to install the service provider is using [Composer](https://getcomposer.org):

```
composer require ziadoz/silex-capsule:2.*
```

Alternatively, you can add it directly to your `composer.json` file:

```
{
    "require": {
        "ziadoz/silex-capsule": "2.*"
    }
}
```

Basic Usage
-----------

[](#basic-usage)

To use it in your application just register the service provider with Silex:

```
