adminetic / newsletter
Newsletter Module For Adminetic Admin Panel
Installs: 32
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Blade
Requires
- maatwebsite/excel: ^3.1
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
README
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.