hillus/sin-notifications-client

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (dev-main) of this package.

dev-main 2022-06-03 18:24 UTC

This package is not auto-updated.

Last update: 2025-01-12 04:42:27 UTC


README

Api-gateway para entrega de e-mails via api rest

Instalação

composer require hillus/sin-notifications-client

Publicando config

php artisan vendor:publish

escolha a opção Hillus\SinNotifications\SinNotificationMailProvider

Adicionado configuração de transport

Caso esteja com uma versão do laravel 7+, é necessário adicionar ao arquivo de configuração mail
o transport em mailers. 

...
'mailers' => [
    ...
    'sinnotification' => [
        'transport' => 'sinnotification',
    ],
    ...
],

Confirando variaveis de ambiente

SIN_NOTIFICATION_URL = http://host.docker.internal:8080
SIN_NOTIFICATION_API_USER=usuario_api
SIN_NOTIFICATION_API_PASSWORD=password

Referências