Registry / networking / sparkpost-sparkpost

sparkpost-sparkpost

JSON →
library2.3.0phppackagistunverified

Client library for interfacing with the SparkPost API.

composer require sparkpost/sparkpost
INSTALL
IMPORT
SIG · SPARKPOST-SPARKPOS
S
sparkpost-sparkpost
networkingphpv2.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SparkPost
✓ use SparkPost\SparkPost;

Send an email via SparkPost API

use SparkPost\SparkPost; $client = new SparkPost('YOUR_API_KEY'); $results = $client->transmissions->send(['recipients' => [['address' => 'test@example.com']]]);
Debug
Known issues
gotchaAPI key must have appropriate permissions
fix
Ensure your API key has 'Transmissions: Read/Write' permission
affects: >=2.0.0
Upgrade
Version history
2.3.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
OpenAI (training)
1
Resources
sparkpost-sparkpost — pip install sparkpost-sparkpost · libregistry