triniti / news
Php library that provides implementations for triniti:news schemas.
Installs: 6 942
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 17
Forks: 0
Open Issues: 1
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/**/*'