Puzzle app newsletter

1.0.0 2018-09-24 13:26 UTC

This package is auto-updated.

Last update: 2024-06-25 07:38:11 UTC


Puzzle App Newsletter Bundle


Puzzle app newsletter

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-newsletter

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:

// app/AppKernel.php

// ...
class AppKernel extends Kernel
    public function registerBundles()
    $bundles = array(
    // ...

    new Puzzle\App\NewsletterBundle\PuzzleAppNewsletterBundle(),

 // ...

 // ...

Step 3: Register the Routes

Load the bundle's routing definition in the application (usually in the app/config/routing.yml file):


        resource: "@PuzzleAppNewsletterBundle/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 Newsletter
    title: newsletter.title
    description: newsletter.description
    icon: newsletter.icon
            subscribe: 'AppBundle:Newsletter:subscribe.html.twig'