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
Requires
- php: >=7.1
- gdbots/ncr: ^1.0
- triniti/schemas: ^1.0
Requires (Dev)
- phpunit/phpunit: ^6.4
- symfony/cache: ^4.1
- triniti/acme-schemas: ^1.0
README
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/**/*'