PHPackages                             stidges/laravel-sparkpost-transport - 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. stidges/laravel-sparkpost-transport

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

stidges/laravel-sparkpost-transport
===================================

Sparkpost transport for Laravel

v3.0.1(1y ago)028.3k—1.9%1MITPHPPHP ^8.2CI passing

Since Sep 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/stidges/laravel-sparkpost-transport)[ Packagist](https://packagist.org/packages/stidges/laravel-sparkpost-transport)[ Docs](https://github.com/stidges/laravel-sparkpost-transport)[ RSS](/packages/stidges-laravel-sparkpost-transport/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (6)Versions (5)Used By (0)

Sparkpost transport for Laravel 11.x/12.x
=========================================

[](#sparkpost-transport-for-laravel-11x12x)

[![Latest Version on Packagist](https://camo.githubusercontent.com/291fc464e33f2bed82fff52635826c99a02e430c76a21b1a1186237cfd9cdd71/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f737469646765732f6c61726176656c2d737061726b706f73742d7472616e73706f72742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/stidges/laravel-sparkpost-transport)[![GitHub Tests Action Status](https://camo.githubusercontent.com/1053c9ba06a3d644dfda5cdd3915d2335a1bab32d73f87f23c731658cada6f6c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f737469646765732f6c61726176656c2d737061726b706f73742d7472616e73706f72742f72756e2d74657374732e796d6c3f6c6162656c3d7465737473)](https://github.com/stidges/laravel-sparkpost-transport/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/c8b134e1e810ebc49f3b8b7af6790ef2574cb40b752e559ca7eb086677f9f442/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f737469646765732f6c61726176656c2d737061726b706f73742d7472616e73706f72742f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6c6162656c3d636f64652532307374796c65)](https://github.com/stidges/laravel-sparkpost-transport/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/f48984f149b7f16cdb2936aeeca7e9874dae02b42647db4ced087cfff360f179/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f737469646765732f6c61726176656c2d737061726b706f73742d7472616e73706f72742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/stidges/laravel-sparkpost-transport)

A Sparkpost transport for Laravel 11.x/12.x

**Note:** use v1 of this package for Laravel 9.x support **Note:** use v2 of this package for Laravel 10.x support

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require stidges/laravel-sparkpost-transport
```

Usage
-----

[](#usage)

### 1. Configuration

[](#1-configuration)

To get started, update your `config/services.php` with your Sparkpost secret key like so:

```
