setono / sylius-mailer-plugin
Setono example plugin for Sylius.
Fund package maintenance!
Setono
Installs: 111
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:sylius-plugin
Requires
- php: >=8.1
- doctrine/persistence: ^2.0 || ^3.0
- setono/doctrine-orm-trait: ^1.1
- sylius/core-bundle: ^1.0
- sylius/resource-bundle: ^1.8
- sylius/ui-bundle: ^1.0
- symfony/config: ^5.4 || ^6.4 || ^7.0
- symfony/dependency-injection: ^5.4 || ^6.4 || ^7.0
- symfony/event-dispatcher: ^5.4 || ^6.4 || ^7.0
- twig/twig: ^2.0 || ^3.0
- webmozart/assert: ^1.11
Requires (Dev)
- api-platform/core: ^2.7.16
- babdev/pagerfanta-bundle: ^3.8
- behat/behat: ^3.14
- doctrine/doctrine-bundle: ^2.11
- infection/infection: ^0.27.11
- jms/serializer-bundle: ^4.2
- lexik/jwt-authentication-bundle: ^2.17
- phpunit/phpunit: ^9.6.20
- psalm/plugin-phpunit: ^0.18.4
- setono/code-quality-pack: ^2.8.1
- shipmonk/composer-dependency-analyser: ^1.6
- sylius/sylius: ~1.12.19
- symfony/debug-bundle: ^5.4 || ^6.4 || ^7.0
- symfony/dotenv: ^5.4 || ^6.4 || ^7.0
- symfony/intl: ^5.4 || ^6.4 || ^7.0
- symfony/property-info: ^5.4 || ^6.4 || ^7.0
- symfony/serializer: ^5.4 || ^6.4 || ^7.0
- symfony/swiftmailer-bundle: ^2.3 || ^3.5
- symfony/web-profiler-bundle: ^5.4 || ^6.4 || ^7.0
- symfony/webpack-encore-bundle: ^1.17.2
- synolia/sylius-mail-tester-plugin: ^2.5
- willdurand/negotiation: ^3.1
This package is auto-updated.
Last update: 2024-11-07 13:00:19 UTC
README
Enhance your Sylius store's mailing capabilities with this plugin. For now the plugin provides a logging mechanism for all emails sent from your store.
Installation
-
Require the plugin with Composer:
composer require setono/sylius-mailer-plugin
-
Add the plugin to your
config/bundles.php
file:return [ // ... Setono\SyliusMailerPlugin\SetonoSyliusMailerPlugin::class => ['all' => true], Sylius\Bundle\GridBundle\SyliusGridBundle::class => ['all' => true], // ... ];
Remember to add the plugin before the
SyliusGridBundle
. -
Import the plugin's routing configuration:
# config/routes/setono_sylius_mailer.yaml setono_sylius_mailer: resource: "@SetonoSyliusMailerPlugin/Resources/config/routes.yaml"
-
Run the database migrations:
bin/console doctrine:migrations:diff bin/console doctrine:migrations:migrate
Usage
After installation, the plugin will automatically log all emails sent from your Sylius store. You can view the logged emails in the admin panel under the "Mailer > Sent Emails" section.