devigner/kunstmaan-api-bundle
See example/ for an example implementation
Api layer for https://github.com/Kunstmaan/KunstmaanBundlesCMS
composer require devigner/kunstmaan-api-bundle
Every Entity that implements Kunstmaan\NodeBundle\Entity\PageInterface that needs API exposure needs to:
Devigner\KunstmaanApiBundle\Entity\PageModelInterface.Devigner\KunstmaanApiBundle\Model\PageEntityInterface.If an overview page is needed (eg Newspage) you need to implement:
Devigner\KunstmaanApiBundle\Entity\EntityInjectionInterface
Every Entity that implements Kunstmaan\PagePartBundle\Helper\PagePartInterface that needs API exposure needs to:
Devigner\KunstmaanApiBundle\Entity\PagePartsModelInterface.Devigner\KunstmaanApiBundle\Model\PagePartsEntityInterface. Devigner\KunstmaanApiBundle\EventListener\SlugEventListener:
arguments:
- '%kunstmaan_menu.menus%'
How can I help you explore Laravel packages today?