A laravel package to use the newsletter product of infomaniak
vincent-tarrit/infomaniak-newsletter-laravel is a Laravel package for a laravel package to use the newsletter product of infomaniak.
It currently has 0 GitHub stars and 10 downloads on Packagist.
Install it with composer require vincent-tarrit/infomaniak-newsletter-laravel.
Discover more Laravel packages by vincent-tarrit
or browse all Laravel packages to compare alternatives.
Last updated
This package is under development.
You can install the package via composer:
composer require vincent-tarrit/infomaniak-newsletter-laravel
You can publish the config file with:
php artisan vendor:publish --tag="infomaniak-newsletter-laravel-config"
This is the contents of the published config file:
return [
'default_domain_id' => env('INFOMANIAK_NEWSLETTER_DEFAULT_DOMAIN_ID'),
'client' => env('INFOMANIAK_NEWSLETTER_CLIENT'),
'secret' => env('INFOMANIAK_NEWSLETTER_SECRET'),
'test_email' => env('INFOMANIAK_NEWSLETTER_TEST_EMAIL'),
];
$campaign = Newsletter::campaigns()
->make()
->subject("test")
->content("test")
->emailFromName('NAME')
->emailFromAddr('username')
->lang('fr')
->groups([123456])
->send();
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.