Skip to content

Extract Swift mailer capability to new package #131

@fezfez

Description

@fezfez

Hi,

I would like to drop the swiftmailer/swiftmailer dependencies from this package.

To achieve this i propose to add a new interface JobbyNotifier such has :

<?php 

namespace Jobby;

interface JobbyNotifier
{
    /**
     * @param string $job
     * @param string $message
     *
     * @return void
     */
    public function sendMessage($job, $message)
}

and new repo such has jobbyphp/jobby-swiftmailer.

the jobbyphp/jobby package could suggest to install jobbyphp/jobby-swiftmailer for mails capability.

A good alternative will be to add symfony/notifier but this will drop php 5.6, 7.0, 7.1.

How do you feel about this proposal ?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions