triniti/news

This package is abandoned and no longer maintained. The author suggests using the triniti/core package instead.

Php library that provides implementations for triniti:news schemas.

v1.1.2 2019-11-13 20:03 UTC

README

Build Status Code Climate Test Coverage

Php library that provides implementations for triniti:news 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:news: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/news.yml:

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

  Triniti\News\:
    resource: '%kernel.project_dir%/vendor/triniti/news/src/**/*'