Skip to content

Extract Swift mailer capability to new package #131

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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