Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

FmiKL/NewsletterBundle

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NewsletterBundle

A simple newsletter bundle for Symfony applications.

Compatibility

  • Symfony 6
  • Symfony 7.4 / 8.0

Setup

Clone the repository into your Symfony project and register the bundle:

return [
    App\Bundle\NewsletterBundle\NewsletterBundle::class => ['all' => true],
];

Import the bundle routes:

newsletter_bundle:
    resource: '@NewsletterBundle/config/routes.yaml'

Register the bundle templates:

twig:
    paths:
        '%kernel.project_dir%/src/Bundle/NewsletterBundle/templates': NewsletterBundle

Set the contact email:

parameters:
    contact_email: contact@example.com

Routes

  • POST /newsletter/subscribe
  • GET /newsletter/confirm
  • GET /newsletter/unsubscribe
  • POST /admin/newsletter/send

License

MIT

About

A simple newsletter bundle for Symfony applications.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.