Download the PHP package nordsoftware/lumen-sparkpost without Composer
On this page you can find all versions of the php package nordsoftware/lumen-sparkpost. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nordsoftware/lumen-sparkpost
More information about nordsoftware/lumen-sparkpost
Files in nordsoftware/lumen-sparkpost
Package lumen-sparkpost
Short Description SparkPost module for the Lumen PHP framework.
License MIT
Informations about the package lumen-sparkpost
Lumen SparkPost
SparkPost module for the Lumen PHP framework.
Requirements
Setup
Installation
Run the following command to install the package through Composer:
Configure
Copy the configuration template in config/sparkpost.php
to your application's config
directory and modify according to your needs.
For more information see the Configuration Files section in the Lumen documentation.
The only required config is the API key
, which you can get on your SparkPost account pages. Please note that the
default configuration uses synchronous sending mode. If you want to change that, set the async
option to true
instead.
Bootstrapping
Add the following lines to bootstrap/app.php
:
Usage
You can now use Nord\Lumen\SparkPost\SparkPostService
to access SparkPost anywhere in your application.
Contributing
Please read the guidelines.
Running tests
Clone the project and install its dependencies by running:
Run the following command to run the test suite:
License
MIT, see LICENSE.
All versions of lumen-sparkpost with dependencies
guzzlehttp/guzzle Version ^6.2
php-http/guzzle6-adapter Version ^1.1
sparkpost/sparkpost Version ^2.1