schobner / swift-mailer-db-log
Symfony SchobnerSwiftMailerDBLogBundle
Package info
github.com/schobner/SchobnerSwiftMailerDBLogBundle
Type:symfony-bundle
pkg:composer/schobner/swift-mailer-db-log
v2.0.0
2019-11-29 14:25 UTC
Requires
- php: ^7.1
- doctrine/doctrine-bundle: ^1.9
- doctrine/orm: ^2.6
- symfony/config: ^3.4
- symfony/framework-bundle: ^3.4
- symfony/swiftmailer-bundle: ^3.2
Requires (Dev)
- fzaninotto/faker: ^1.8
- phpunit/phpunit: ^7.4
- roave/security-advisories: dev-master
This package is auto-updated.
Last update: 2026-05-29 01:26:18 UTC
README
Persist email sendet with SwiftMailer to database.
(This is a early alpha Version. Don't use it productive)
Install:
composer require schobner/swift-mailer-db-log
Config:
app/AppKernel.php anpassen:
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = [
new Schobner\SwiftMailerDBLogBundle\SchobnerSwiftMailerDBLogBundle(),
];
Set config:
schobner_swift_mailer_db_log:
email_log_entity: AppBundle\Entity\EmailLog
Extend class:
All db settings will be automatically set
namespace AppBundle\Entity;
use Schobner\SwiftMailerDBLogBundle\Model\EmailLog as BaseEmailLog;
/**
* @ORM\Entity()
* @ORM\Table(name="swift_mailer_log")
*/
class EmailLog extends BaseEmailLog
{
// ... add your logic if required ...
}