



Laravel Newsletter is an open source project that can be used for sending newsletters to multiple subscribers, mailing lists, … at once. This project can be used together with free mailing applications such as MailGun.
First of all you need to clone the repository and install it using composer.
git clone git@github.com:NathanGeerinck/laravel-newsletter.git
cd laravel-newsletter && composer install
php artisan laravel-newsletter:install
npm run production
Then you need to create a database and fill out the credentials in the .env
file. An example:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel-newsletter
DB_USERNAME=root
DB_PASSWORD=root
Once you’ve created the database you can migrate all the tables into your database by running:
php artisan migrate
If you want to import the demo data then you can run:
php artisan laravel-newsletter:demo
For sending emails you need to fillout your mail credentials.. You can use a service like Mailgun. You can adjust these settings also in the .env
file.
MAIL_DRIVER=smtp
MAIL_HOST=mailgun.org
MAIL_PORT=2525
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=null
If you want to use a Queue, it’s possible!
Now you’re ready to rock and roll! Visit the /register
page of you’re application and create an account! 😉
If you ran the
php artisan laravel-newsletter:demo
command, you can login with ‘john.doe@gmail.com‘ and ‘test123’.
- Translate the application to more languages (now available: English, Dutch)
- Email bounce tracking
- Creating an API
- Importing subscriptions with use of an URL (JSON)
The laravel-newsletter application is open source software licensed under the license MIT.
If you love this project and you appreciate my work.. You might consider buying me a coffee. ☕️

Leave a Reply