archette / blog
Implementation of rixafy/blog to Nette framework
dev-master
2020-01-09 20:57 UTC
Requires
- nette/di: ^3.0
- rixafy/blog: dev-master
This package is auto-updated.
Last update: 2024-08-10 06:50:42 UTC
README
📝 CRUD model rixafy/blog ported to Nette Framework.
Installation
composer require archette/blog
Add extension to your neon configuration
extensions: archette.blog: Archette\Blog\BlogExtension
Then you will have injected all services in DI, advanced blog configuration will be released soon (posts per page configuration, etc)
It's recommended to use only Rixafy\Blog\BlogFacade in DI, but if you have import scripts or something like that, you want to create new blog instances through \Rixafy\Blog\BlogFactory, so you will have it in one transaction
Important
Extension requires implementation of Doctrine ORM in Nette Framework - https://github.com/nettrine/orm.