sonofliberty / news-bundle
A simple news/blog publication bundle
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.2
- doctrine/orm: ^2.5
- knplabs/knp-paginator-bundle: ^2.8
- sonata-project/admin-bundle: ^3.20
- sonata-project/seo-bundle: ^2.2
- sonata-project/translation-bundle: ^2.4
- stof/doctrine-extensions-bundle: ^1.3
- symfony/symfony: >=3.3
- vich/uploader-bundle: ^1.7
This package is auto-updated.
Last update: 2021-01-26 04:36:03 UTC
README
Symfony bundle with simple blog / publishing features
Installation
-
Install via composer
composer require sonofliberty/news-bundle
-
Enable bundle
// app/AppKernel.php public function registerBundles() { return array( // ... new SonOfLiberty\NewsBundle\SonOfLibertyNewsBundle(), new Knp\Bundle\PaginatorBundle\KnpPaginatorBundle(), new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(), // needed for translations // ... ); }
-
Configuration
# app/config/config.yml son_of_liberty_news: author: class: Acme\AcmeBundle\Entity\User # optional
-
Import routing
# app/config/routing.yml son_of_liberty_news: prefix: /news resource: '@SonOfLibertyNewsBundle/Resources/config/routing.yaml'