sendgrid/sendgrid
This library allows you to quickly and easily send emails through Twilio SendGrid using PHP.
8.1.11
53M downloads/mo
#624 most downloaded on Packagist
sendgrid/sendgrid-php
What this package is like to depend on
Last release 1 years ago
no release in 18 months
Ships unpredictably
gaps range from 1 weeks to 1.3 years
Some releases are documented
notes for 51 of 110 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
110 releases · first in 2013
0 releases in the last 12 months
see the full history below
Release timeline
110 releases · Apr 2013 to Feb 2025Releases
latest 60 of 110-
8.1.1122 Feb 2025Release notes
Open source → -
8.1.1011 Feb 2025Release notes
Open source →Release Notes
Library - Fix
- PR #1111: Use starkbank/ecdsa 2.1.0. Thanks to @simoheinonen!
Library - Chore
- PR #1115: install docker-compose. Thanks to @tiwarishubham635!
-
8.1.928 Jan 2025Release notes
Open source →Release Notes
Library - Fix
- PR #1111: Use starkbank/ecdsa 2.1.0. Thanks to @simoheinonen!
Library - Chore
- PR #1115: install docker-compose. Thanks to @tiwarishubham635!
-
8.1.828 Jan 2025Release notes
Open source →Release Notes
Library - Fix
- PR #1111: Use starkbank/ecdsa 2.1.0. Thanks to @simoheinonen!
Library - Chore
- PR #1115: install docker-compose. Thanks to @tiwarishubham635!
-
8.1.713 Jan 2025Release notes
Open source →Release Notes
Library - Fix
- PR #1111: Use starkbank/ecdsa 2.1.0. Thanks to @simoheinonen!
Library - Chore
- PR #1115: install docker-compose. Thanks to @tiwarishubham635!
-
8.1.609 Jan 2025Release notes
Open source →Release Notes
Library - Fix
- PR #1111: Use starkbank/ecdsa 2.1.0. Thanks to @simoheinonen!
Library - Chore
- PR #1115: install docker-compose. Thanks to @tiwarishubham635!
-
8.1.512 Dec 2024Release notes
Open source →Release Notes
Library - Fix
- PR #1111: Use starkbank/ecdsa 2.1.0. Thanks to @simoheinonen!
Library - Chore
- PR #1115: install docker-compose. Thanks to @tiwarishubham635!
-
8.1.412 Dec 2024Release notes
Open source →Release Notes
Library - Fix
- PR #1111: Use starkbank/ecdsa 2.1.0. Thanks to @simoheinonen!
Library - Chore
- PR #1115: install docker-compose. Thanks to @tiwarishubham635!
-
8.1.305 Dec 2024Release notes
Open source →Release Notes
Library - Fix
- PR #1111: Use starkbank/ecdsa 2.1.0. Thanks to @simoheinonen!
Library - Chore
- PR #1115: install docker-compose. Thanks to @tiwarishubham635!
-
8.1.218 Apr 2024Release notes
Open source →Release Notes
Library - Chore
- PR #1107: updating php-http-client version to dynamic. Thanks to @tiwarishubham635!
-
8.1.106 Dec 2023Nothing published for this version
-
8.1.001 Dec 2023Nothing published for this version
-
8.0.110 Aug 2022Nothing published for this version
-
8.0.004 May 2022Nothing published for this version
-
7.11.509 Mar 2022Nothing published for this version
-
7.11.409 Feb 2022Nothing published for this version
-
7.11.326 Jan 2022Nothing published for this version
-
7.11.212 Jan 2022Nothing published for this version
-
7.11.115 Dec 2021Nothing published for this version
-
7.11.017 Nov 2021Nothing published for this version
-
7.10.018 Oct 2021Nothing published for this version
-
7.9.227 Jan 2021Nothing published for this version
-
7.9.118 Nov 2020Nothing published for this version
-
7.9.005 Nov 2020Nothing published for this version
-
7.8.514 Oct 2020Nothing published for this version
-
7.8.428 Sep 2020Nothing published for this version
-
7.8.302 Sep 2020Nothing published for this version
-
7.8.219 Aug 2020Nothing published for this version
-
7.8.105 Aug 2020Nothing published for this version
-
7.8.022 Jul 2020Nothing published for this version
-
7.7.008 Jul 2020Nothing published for this version
-
7.6.010 Jun 2020Nothing published for this version
-
7.5.227 May 2020Nothing published for this version
-
7.5.113 May 2020Nothing published for this version
-
7.5.029 Apr 2020Nothing published for this version
-
7.4.601 Apr 2020Nothing published for this version
-
7.4.518 Mar 2020Nothing published for this version
-
7.4.404 Mar 2020Nothing published for this version
-
7.4.319 Feb 2020Nothing published for this version
-
7.4.222 Jan 2020Nothing published for this version
-
7.4.109 Jan 2020Nothing published for this version
-
7.4.011 Dec 2019Nothing published for this version
-
7.3.015 Apr 2019Release notes
Open source →Fixed
- PR #821: PHP 7.3 support and fix Prism download problem.
- Closes #669, PR #670: Fix Mail::setGlobalSubject(). Thanks to Spencer Salisbury for the solution!
- Closes #782, PR #783: Remove references to 'whitelabel'. Thanks to Chandler Weiner for the solution!
- Closes #763, PR #764: Update link to license. Thanks to Pranjal Vyas for the solution!
- PR #760: Clean up Prism shell script. Thanks to gy741 for the solution!
- Closes #739, PR #740: . Thanks to Alex Borisov for the solution!
Added
- PR #828: Update Twilio branding, CLA policy.
- Closes #768, PR #769: Update prerequisites. Thanks to Rishabh for the solution!
- Closes #733, PR #736: Update CONTRIBUTING - contribution guideline to branch off development. Thanks to Alex for the solution!
- Closes #481, PR #743: Added Box attachment example. Thanks to Joel for the solution!
- Closes #690, PR #698: Update prism version. Thanks to Gergo Juhasz for the solution!
-
7.2.118 Sep 2018Release notes
Open source → -
7.2.015 Aug 2018Release notes
Open source →Added
- Closes #648, PR #657: Allow for Dynamic Templates Implementation. Thanks to Mike Willbanks for the PR!
-
7.1.115 Aug 2018 -
7.1.014 Aug 2018Release notes
Open source →Added
- Closes #612, PR #652: Fixes #612 Add TypeException and include type validations in classes inside mail/. Thanks to James Harding for the PR!
- Closes #551, PR #571: Add ability to impersonate subuser. Thanks to Stian Prestholdt for the PR!
- Closes #617, PR #651: Add try / catch to examples. Thanks to James Harding for the PR!
- Closes #619, PR #620: PHPDoc & code improvements. Thanks to Martijn Melchers for the PR!
- Closes #610, PR #628: Removes unnecessary linter warning from phpcs. Thanks to James Harding for the PR!
- Closes #608, PR #626: Add check so that getContents() always returns content with MimeType text/plain first in array of Content objects. Thanks to James Harding for the PR!
- Closes #611, PR #618: Attachments now automatically get base64 encoded if they are not already. Thanks to Martijn Melchers for the PR!
- PR #661: Add Code Triage tag. Thanks to Anshul Singhal for the PR!
- PR #663: Improve Contributing.md readability. Thanks to Anshul Singhal for the PR!
Fixed
- PR #631: Broken documentation link. Thanks to David Duman for the PR!
- PR #633: Fixes for non-composer environments. Thanks to Tom Gordon for the PR!
- PR #634: Fixes missing file extension. Thanks to Muberra Duman Demirtepe for the PR!
- PR #658: Corrected PHP Syntax. Thanks to David Passmore for the PR!
- Fixes #624, PR #625: Fix setGroupsToDisplay's handling of array arguments. Thanks to Mo Ismailzai for the PR!
-
7.0.019 May 2018Release notes
Open source →BREAKING CHANGE
Thanks to the strong support and feedback of the SendGrid PHP community, we have a new version of this SDK that should be a big improvement in the developer experience for this SDK.
In particular, I'd like to make special mention of @caseyw, @vitya1, @Braunson, @cbschuld, @paoga87, @Taluu, @mazanax, @ninsuo, @ianh2, @WadeShuler, @jaimehing, @KnightAR, @alextech (my apologies if I've missed you)
Since this is a major departure from v6.X, we advise you to refactor your code according to the documentation found in the README and USE_CASES files. We hope you find the new interface much easier to work with. Please open an issue or PR if you run into any trouble or have any feedback.
If you wish to continue using previous versions of this SDK, no problem. However, we will not be updating versions less than v7 except for critical bugs and/or security issues.
We hope this will be the last breaking change in the foreseeable future; that said, let the iterations begin!
-
6.2.029 Mar 2018Release notes
Open source →Added
-
Closes #454, PR #502: Add helper for adding new recipients to your contactdb via a webform, thanks to Kraig Hufstedler for the PR!
-
Closes #487, PR #506: Add helper to get all stats from a specified data range, thanks to Milos Pejanovic for the PR!
-
Closes #368, PR #511: Add support for commas and semicolns in email name, thanks to Quentin Ligier for the PR!
-
Closes #491, PR [#493](https://github.com/sendgrid/sendgrid-php/pull/493: Allow for setting attachment content from path, thanks to rparpa for the PR!
-
-
6.1.027 Mar 2018Release notes
Open source →Added
-
PR #512: Omit PHP closing tag in use case sample, thanks to Sébastien Santoro for the PR!
-
PR #575: Add an example to the README.md describing how to send emails as HTML as the content type, thanks to Benjamin Manford for the PR!
-
Closes #547, PR #549: Added Code Review to Contributing.md, thanks to tomhorvat for the PR!
-
PR #565: Add PHP 7.1 and 7.2 to Travis build matrix, thanks to Emir Beganović for the PR!
-
PR #577: Update PHP Version terms, thanks to Siddhant Sharma for the PR!
-
Closes #540, PR #543: Feature/split unit tests, thanks to Owen Voke for the PR!
-
Closes #441, PR #467: Add deploy to heroku button, thanks to pangaunn for the PR!
-
Closes #423, PR #510: Adding Google App engine installation with composer instructions, thanks to Nalin Bhardwaj for the PR!
-
Closes #541, PR #542: Added CodeCov support, thanks to Owen Voke for the PR!
-
PR #539: Rename LICENSE.txt to md, thanks to Ankit Jain for the PR!
-
Closes #436, PR #535: Add docker development setup, thanks to Samundra Shrestha for the PR!
-
Closes #532, PR #537: Add license date range unit test, thanks to uppe-r for the PR!
-
Closes #533, PR #536: Add unit test to check that specific files exist in repo, thanks to Bertus Steenberg for the PR!
-
Closes #524, PR #527: Created code climate YML file, thanks to Prashu Chaudhary for the PR!
-
Closes #520, PR #523: Added sample env file, thanks to Joey Lee for the PR!
-
PR #513: Update to PHP 7.0.0 refactor - Fix syntax error in refactor documentation, thanks to Sébastien Santoro for the PR!
-
PR #505: Update README.md with additional badges, thanks to Lalit Vijay for the PR!
-
Closes #500, PR #504: SEO Friendly Section links, thanks to Dharma Saputra for the PR!
-
PR #503: Added new badges to README.md, thanks to Alex for the PR!
-
Closes #492, PR #494: Demonstrate how to review the request body for troubleshooting, thanks to Alex for the PR!
-
PR #476: Update README.md with license information, thanks to Tarmo Leppänen for the PR!
-
PR #475: Add documentation for setting up domain whitelabel, thanks to Sourav Sarkar for the PR!
-
PR #468: Changes the recommendation to use composer as recommended source, thanks to Gabriela D'Ávila Ferrara for the PR!
-
PR #463: Add TROUBLESHOOTING.md section about fixing error 415, thanks to AlbinoDrought for the PR!
-
PR #456: Added Code of Conduct, thanks to Rubemlrm for the PR!
-
PR #439: Update to PHP 7.0.0 refactor - Removal of Collections, thanks to Joseph Opanel for the PR!
-
PR #416: Add release notifications, thanks to Gabriel Krell for the PR!
-
PR #415: Updated example.php to fix that there was no way for the sections to get substituted without their being a substitution that calls them, thanks to Kyle Roberts for the PR!
Fixed
-
PR #545: Fix typo CONTRIBUTING.md, thanks to thepriefy for the PR!
-
PR #588: Fix broken unit tests
-
PR #576: API level addressing of the string-only in addSubstitution arg rule. Every long integer triggers a bad request, thanks to Ezequiel Villarreal for the PR!
-
PR #517: Fix typos in USAGE.md, thanks to Anatoly for the PR!
-
PR #530: Changed the license period., thanks to Siddhant Sharma for the PR!
-
PR #514: Don't close img tag in HTML, thanks to Sébastien Santoro for the PR!
-
PR #507: Fix typos in various files, thanks to Brandon Smith for the PR!
-
Fixes #336, PR #479: Incorrect documentation path fixed, thanks to Valerian Pereira for the PR!
-
PR #465: Fix typo in README.md, thanks to shra1cumar for the PR!
-
PR #449: Fix typos in USAGE.md, thanks to Cícero Pablo for the PR!
-
PR #448: Fix typos in TROUBLESHOOTING.md, thanks to Cícero Pablo for the PR!
-
PR #435: Change spam_report() to spam_reports() in documentation and examples, thanks to mrmxs for the PR!
-
PR #431: Fixed minor typo during Mail creation, thanks to joeldixon66 for the PR!
-
-
6.0.001 Jul 2017Release notes
Open source →BREAKING CHANGE
- PR #408: Update Mail constructor to signify which parameters are required for sending all email
- The
Mail()constructor now requires$from,$subject,$toand$contentparameters like so:Mail($from, $subject, $to, $content). Those are the minimally required parameters to send an email. - Thanks to Casey Wilson for the PR!
-
5.6.230 Jun 2017Release notes
Open source →Fix
- PR #410: Adding name for ReplyTo for issue #390
- Thanks to Casey Wilson for the PR!
-
5.6.127 Jun 2017 -
5.5.118 May 2017Release notes
Open source →Fixed
- Pull #396: Use
print_rinstead ofechoon Arrays - Thanks to Ryan P.C. McQuen for the PR!
- Pull #396: Use
-
5.5.005 May 2017Release notes
Open source →Added
- Pull #393: Update php-http-client dependency
- v3.6: Pass the curlOptions to the client in buildClient
- v3.7: Added ability to get headers as associative array
-
5.4.218 Apr 2017 -
5.4.104 Apr 2017Release notes
Open source →Added
- Pull #373
- PSR1 & PSR2 Conversion
- Thanks to Braunson Yager for the PR!
-
5.4.016 Mar 2017Release notes
Open source →Added
- Pull #337
- API level addressing of the string-only custom arg rule
- Thanks to Chris Schuld for the PR!
-
5.3.015 Mar 2017Release notes
Open source →Added
- Pull #367
- UTF8 encoding forced for content value and message subject
- Thanks to Chris Schuld for the PR!
-
5.2.304 Mar 2017Release notes
Open source →Fixed
- Pull #334
- Fixed serialization of empty JSON objects, fixes #332 & #314
- Thanks to Matthew Dreyer for the PR!