adminetic/newsletter

Newsletter Module For Adminetic Admin Panel


Keywords
newsletter, adminetic
License
MIT

Documentation

Newsletter Module for Adminetic Admin Panel

Adminetic Newsletter Module

Latest Version on Packagist

Stars Downloads StyleCI License

Newsletter module for Adminetic Admin Panel

For detailed documentation visit Adminetic Newsletter Module Documentation

Install

composer require adminetic/newsletter

Publish Resources

php artisan vendor:publish --tag=newsletter-config
php artisan vendor:publish --tag=newsletter-migrations

Migrate

php artisan migrate

Uses

Display Subscriber Panel

@livewire('subscriber-panel')

Subscribe and unsubscribe an email

subscribe('johndoe@test.com'); //subscribe
unsubscribe('johndoe@test.com'); //unsubscribe

Subscribe Model Methods

$subscriber = Adminetic\Newsletter\Models\Admin\Subscriber::first();
$subscriber->subscribe();
$subscriber->unsubscribe();
$subscriber->verify();
$subscriber->unverify();

Subscribe Verification Email

Note : Only works when config newsletter.subscription_mail is set to true

$subscriber = Adminetic\Newsletter\Models\Admin\Subscriber::first();
$subscriber->send_subscription_notification_email()

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email pratikdai404@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Screenshots

Newsletter Panel

Unsubscribe Panel