olvlvl/doctrine-yaml-driver

YAML driver for Doctrine

dev-master 2019-06-06 10:51 UTC

This package is auto-updated.

Last update: 2020-05-06 13:01:28 UTC


README

Packagist Build Status Code Quality Code Coverage Downloads

olvlvl/doctrine-yaml-driver provides YAML drivers Doctrine.

doctrine/mongodb-odm doesn't provide YAML drivers anymore. If like me you're totally allergic to XML, you'll be happy to find the drivers in this package.

Disclaimer: The code if mostly copy/pasted, I only added some type hints here and there. Also, only MongoDB *documents are currently supported.

Requirements

The package requires PHP 7.2 or later.

Installation

The recommended way to install this package is through Composer:

$ composer require olvlvl/doctrine-yaml-driver

Testing

A container is available for local development. Enter the command make test-container to start the container and open a shell. The command make test runs the test suite. Alternatively the command make test-coverage runs the test suite and also creates an HTML coverage report in build/coverage. Dependencies are installed as required.

The package is continuously tested by Travis CI.

Build Status Code Coverage

License

olvlvl/doctrine-yaml-driver is licensed under the New BSD License - See the LICENSE file for details.