2017 © Pedro Peláez
 

library phpcr-api-silex-provider

PHPCR API Silex Provider exposes in REST marmelab/phpcr-api

image

marmelab/phpcr-api-silex-provider

PHPCR API Silex Provider exposes in REST marmelab/phpcr-api

  • Monday, October 6, 2014
  • by fzaninotto
  • Repository
  • 13 Watchers
  • 6 Stars
  • 1,253 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 1 % Grown

The README.md

archived Archived Repository
This code is no longer maintained. Feel free to fork it, but use it at your own risks.

PHPCR API Silex Provider Build Status

PHPCR API Silex Provider provides a REST access to marmelab/phpcr-api., (*1)

Installation

The recommended way to install phpcr-api is through Composer. Just create a composer.json file and run the composer install command to install it:, (*2)

{
    "require": {
        "marmelab/phpcr-api-silex-provider": "dev-master"
    }
}

Utilisation

$repositoriesConfig = array(
    'Repository Test' => array(
        'factory' => jackalope.jackrabbit,
        'parameters' => array(
            'jackalope.jackrabbit_uri' => 'http://localhost:8080/server',
            'credentials.username' => 'admin',
            'credentials.password' => 'admin'
        )
    ),
    'Repository Test2' => array(
        'factory' => 'jackalope.doctrine-dbal',
        'parameters' => array(
            'doctrine_dbal.config' => array(
                'driver' => 'pdo_sqlite',
                'path' => '../src/app.db',
            ),
            'credentials.username' => 'admin',
            'credentials.password' => 'admin'
        )
    )
);

$app->register(new \PHPCRAPI\Silex\ApiServiceProvider(),array(
    'phpcr_api.repositories_config' =>  $repositoriesConfig,
    'phpcr_api.mount_prefix'    =>  '/api'
));

License

This application is available under the MIT License, courtesy of marmelab., (*3)

The Versions

27/05 2014

1.1.0

1.1.0.0

PHPCR API Silex Provider exposes in REST marmelab/phpcr-api

  Sources   Download

MIT

The Requires

 

The Development Requires

15/05 2014

1.0.0

1.0.0.0

PHPCR API Silex Provider exposes in REST marmelab/phpcr-api

  Sources   Download

MIT

The Requires