webundle / puzzle-app-blog
Manages blog or news
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.5.9
- doctrine/doctrine-bundle: ^1.6
- doctrine/orm: ^2.5
- guzzlehttp/guzzle: ^6.3
- incenteev/composer-parameter-handler: ^2.0
- sensio/distribution-bundle: ^5.0.19
- sensio/framework-extra-bundle: ^5.0.0
- symfony/assetic-bundle: ^2.8
- symfony/monolog-bundle: ^3.1.0
- symfony/polyfill-apcu: ^1.0
- symfony/swiftmailer-bundle: ^2.6.4
- symfony/symfony: 3.4.*
- twig/twig: ^1.0||^2.0
- webundle/puzzle-admin-blog: ^1.0
This package is auto-updated.
Last update: 2024-12-25 08:54:51 UTC
README
=========================
Puzzle app bundle
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
composer require webundle/puzzle-app-blog
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php
file of your project:
<?php // app/AppKernel.php // ... class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new Puzzle\App\BlogBundle\PuzzleAppBlogBundle(), ); // ... } // ... }
Step 3: Register the Routes
Load the bundle's routing definition in the application (usually in the app/config/routing.yml
file):
app/config/routing.yml
puzzle_app: resource: "@PuzzleAppBlogBundle/Resources/config/routing.yml"
Step 4: Configure Bundle
Then, configure bundle by adding it to the list of registered bundles in the app/config/config.yml
file of your project under:
# Puzzle App Blog puzzle_app_blog: title: blog.title description: blog.description icon: blog.icon templates: article: list: 'AppBundle:Blog:list_articles.html.twig' show: 'AppBundle:Blog:article.html.twig' category: list: 'AppBundle:Blog:list_categories.html.twig' show: 'AppBundle:Blog:category.html.twig' comment: list: 'AppBundle:Blog:list_comments.html.twig' create: 'AppBundle:Blog:create_comment.html.twig' show: 'AppBundle:Blog:comment.html.twig'