schobner / swift-mailer-db-log
Symfony SchobnerSwiftMailerDBLogBundle
Installs: 237
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Type:symfony-bundle
pkg:composer/schobner/swift-mailer-db-log
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
 
- dev-master
 - v2.0.0
 - v1.2.2
 - v1.2.1
 - v1.2.0
 - v1.1.30
 - v1.1.29
 - v1.1.28
 - v1.1.27
 - v1.1.26
 - v1.1.25
 - v1.1.24
 - v1.1.23
 - v1.1.22
 - v1.1.21
 - v1.1.20
 - v1.1.19
 - v1.1.18
 - v1.1.17
 - v1.1.16
 - v1.1.15
 - v1.1.14
 - v1.1.13
 - v1.1.12
 - v1.1.11
 - v1.1.10
 - v1.1.9
 - v1.1.8
 - v1.1.7
 - v1.1.6
 - v1.1.5
 - v1.1.4
 - v1.1.3
 - v1.1.2
 - v1.1.1
 - v1.1.0
 - v1.0.7
 - v1.0.6
 - v1.0.5
 - v1.0.4
 - v1.0.3
 - v1.0.2
 - v1.0.1
 - v0.0.2
 - dev-dependabot/composer/symfony/config-tw-4.4
 - dev-dependabot/add-v2-config-file
 
This package is auto-updated.
Last update: 2025-10-29 02:30:37 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 ...
}