triniti/taxonomy

Php library that provides implementations for triniti:taxonomy schemas.


Keywords
ncr, pbj, pbjx
License
Apache-2.0

Documentation

taxonomy-php

Build Status Code Climate Test Coverage

Php library that provides implementations for triniti:taxonomy schemas. Using this library assumes that you've already created and compiled your own pbj classes using the Pbjc and are making use of the "triniti:taxonomy:mixin:*" mixins from triniti/schemas.

Symfony Integration

Enabling these services in a Symfony app is done by importing classes and letting Symfony autoconfigure and autowire them.

config/packages/taxonomy.yml:

services:
  _defaults:
    autowire: true
    autoconfigure: true
    public: false

  Triniti\Taxonomy\:
    resource: '%kernel.project_dir%/vendor/triniti/taxonomy/src/**/*'