Skip to content

alexandersch/SuluNewsBundle

This branch is 190 commits behind TheCadien/SuluNewsBundle:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Oliver Kossin
Dec 14, 2019
efb4579 · Dec 14, 2019

History

8 Commits
Nov 15, 2019
Dec 14, 2019
Dec 14, 2019
Dec 14, 2019
Dec 14, 2019
Dec 14, 2019
Dec 14, 2019
Dec 14, 2019
Dec 14, 2019
Dec 14, 2019
Dec 14, 2019
Nov 15, 2019
Nov 15, 2019
Nov 15, 2019
Dec 14, 2019
Dec 14, 2019
Dec 14, 2019

Repository files navigation

##Requirements

  • PHP 7.3
  • Sulu 2.0.*
  • Symfony 4.3

##Installation

Clone the Bundle in your Project. /src/Bundle/

###ini Bundle in the bundles.php

    App\Bundle\NewsBundle\NewsBundle::class => ['all' => true],

###Update schema

bin/console do:sch:up --force

###Define Website Route in routes_website.yaml

app.article:
   path: /news/{id}
   controller: App\Bundle\NewsBundle\Controller\NewsWebsiteController::indexAction

###Define the Admin Api Route in routes_admin.yaml

app_articles:
  type: rest
  resource: App\Bundle\NewsBundle\Controller\Admin\NewsController
  prefix: /admin/api
  name_prefix: app.
  options:
    expose: true

About

Simple News Bundle for Sulu 2 CMS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%