PHPackages                             worksofallen/laravel-mail-scheduler - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. worksofallen/laravel-mail-scheduler

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

worksofallen/laravel-mail-scheduler
===================================

A simple way to send batch emails

v2.0.0(4mo ago)01.2kMITPHPPHP ^8.1CI failing

Since Jun 2Pushed 4mo agoCompare

[ Source](https://github.com/worksofallen/laravel-mail-scheduler)[ Packagist](https://packagist.org/packages/worksofallen/laravel-mail-scheduler)[ Docs](https://github.com/worksofallen/laravel-mail-scheduler)[ RSS](/packages/worksofallen-laravel-mail-scheduler/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (11)Versions (4)Used By (0)

Laravel Mail Scheduler
======================

[](#laravel-mail-scheduler)

[![Status](https://camo.githubusercontent.com/263f3694f42afc27e06a1ff829cd63884893b55624e13a16893dd0a3ba772b94/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7374617475732d6163746976652d737563636573732e737667)](https://camo.githubusercontent.com/263f3694f42afc27e06a1ff829cd63884893b55624e13a16893dd0a3ba772b94/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7374617475732d6163746976652d737563636573732e737667)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](/LICENSE)[![PHP](https://camo.githubusercontent.com/55119e0553f52e25200843d20c0b7f94802872deee3c7737d4dcd41a851167c6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312d626c75652e737667)](https://camo.githubusercontent.com/55119e0553f52e25200843d20c0b7f94802872deee3c7737d4dcd41a851167c6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312d626c75652e737667)[![Latest Version on Packagist](https://camo.githubusercontent.com/054e4f0a682b0eb61ec2c7c0b316add4068a60e24dd67db71589c4948a07fcb7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f776f726b736f66616c6c656e2f6c61726176656c2d6d61696c2d7363686564756c65722e737667)](https://packagist.org/packages/worksofallen/laravel-mail-scheduler)[![Downloads](https://camo.githubusercontent.com/21d739e64baf15205fe9a9b5de3da8f79e0c564ec0c133b502d53dc136de0565/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f776f726b736f66616c6c656e2f6c61726176656c2d6d61696c2d7363686564756c65722e737667)](https://packagist.org/packages/worksofallen/laravel-mail-scheduler)[![Run tests](https://github.com/worksofallen/laravel-mail-scheduler/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/worksofallen/laravel-mail-scheduler/actions/workflows/tests.yml)

---

This package gives you the ability to send emails in batches. After creating ScheduledEmails you may send emails using the auto schedule feature or registering the command in the Console kernel yourself.

Table of Contents
-----------------

[](#table-of-contents)

- [Getting Started](#getting_started)
    - [Prerequisites](#prerequisites)
    - [Installing](#installing)
    - [Configuration](#configuration)
- [Usage](#usage)
- [Configuration](#configuration-file)
- [Authors](#authors)
- [Changelog](#changelog)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

Getting Started
-----------------------------------------------------------

[](#getting-started-)

### Prerequisites

[](#prerequisites)

This package requires the following :

- PHP 8.1 or higher
- Laravel 8.0 or higher

### Installing

[](#installing)

To get started, you will need to install the following dependencies :

```
composer require worksofallen/laravel-mail-scheduler
```

That's it, you're ready to go!

### Configuration

[](#configuration)

You may publish the package's configuration by running the following command :

```
php artisan vendor:publish --tag="mail-scheduler-config"
```

> **Note** You can find details about the configuration options in the [configuration file section](#configuration-file).

You may publish the migrations table by running the following command :

```
php artisan vendor:publish --tag="mail-scheduler-migrations"
```

Usage
---------------------------------------

[](#usage-)

The package provides a fluent facade to create a scheduled email:

```
