ILLDataCiteDOIBundle
At the moment this bundle is not stable. It is being actively developed., (*1)
, (*2)
A symfony 2 bundle for communicating with the mds.datacite.org API to mint DOIs and register associated metadata., (*3)
Note, (*4)
In order to use the API, it requires organisations to first register for an account with a DataCite member., (*5)
This bundle has only been tested with Symfony 2.1. If you would like it to work with a Symfony 2.0 project then please fork the repository and modify the code., (*6)
Documentation
The bulk of the documentation is stored in the Resources/doc/index.md, (*7)
Installation
Installation is a quick (I promise!) three step process:, (*8)
- Download ILLDataCiteDOIBundle using composer
- Enable the Bundle
- Configure your application's config.yml
Step 1: Download ILLDataCiteDOIBundle using composer
Add FOSUserBundle in your composer.json:, (*9)
{
"require": {
"illgrenoble/datacite-doi-bundle": "*"
}
}
Now tell composer to download the bundle by running the command:, (*10)
``` bash
$ php composer.phar update illgrenoble/datacite-doi-bundle, (*11)
Composer will install the bundle to your project's `vendor/illgrenoble` directory.
### Step 2: Enable the bundle
Enable the bundle in the kernel:
``` php
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new ILL\DataCiteDOIBundle\ILLDataCiteDOIBundle(),
);
}
yaml
ill_data_cite_doi:
username: DataCiteMDSUsername
password: DataCiteMDSPassword
prefix: YourFacilityPrefix
proxy: ~
, (*12)
License
This bundle is under the MIT license. The license is stored in Resources/meta/LICENSE, (*13)
Authors
Mr. Jamie Hall - Technical Projects group at Institut Laue-Langevin., (*14)