🖥️
Adminetic
  • Introduction
  • What is Adminetic
  • Prerequisites
  • Installation
  • Configurations
  • Modules
    • User Management
    • Role Management
    • Settings
    • Preference
    • Activity
  • Commands
    • CRUD Generator
    • Permission Generator
    • Repo Generator
    • Superuser Generator
    • Dummy Generator
    • API Generator
    • Helper Command
  • Services
    • OAuth
    • MyMenu
    • MyDashboard
    • 😎Bouncer
    • 💻CLI
  • Change Logs
  • Github Repo
  • Addons
    • Announcement
    • Contact
    • Website
    • Notify
    • Backup
    • Google Analytics
    • Business Hour
    • Newsletter
  • Example Walkthrough
Powered by GitBook
On this page
  • Newsletter Module for Adminetic Admin Panel
  • Install
  • Uses
  • Contributing
  • Credits
  • License
  • Screenshots

Was this helpful?

  1. Addons

Newsletter

PreviousBusiness HourNextExample Walkthrough

Last updated 1 year ago

Was this helpful?

Newsletter Module for Adminetic Admin Panel

Newsletter module for Adminetic Admin Panel

Install

composer require adminetic/newsletter

Publish Resources

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

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

  • All Contributors

License

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

Screenshots

For detailed documentation visit

Newsletter Panel
Unsubscribe Panel
Adminetic Newsletter Module Documentation
Pratik Shrestha
Laravel Excel