Download the PHP package s-ichikawa/laravel-sendgrid-driver without Composer

On this page you can find all versions of the php package s-ichikawa/laravel-sendgrid-driver. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-sendgrid-driver

Laravel SendGrid Driver

SymfonyInsight Build Status

A Mail Driver with support for Sendgrid Web API, using the original Laravel API. This library extends the original Laravel classes, so it uses exactly the same methods.

To use this package required your Sendgrid Api Key. Please make it Here.

Compatibility

Laravel laravel-sendgrid-driver
9, 10, 11 ^4.0
7, 8 ^3.0
5, 6 ^2.0

Install (for Laravel)

Add the package to your composer.json and run composer update.

or installed with composer

Install (for Lumen)

Add the package to your composer.json and run composer update.

or installed with composer

Add the sendgrid service provider in bootstrap/app.php

Create mail config files. config/mail.php

Configure

.env

config/services.php (In using lumen, require creating config directory and file.)

config/mail.php

endpoint config

If you need to set custom endpoint, you can set any endpoint by using endpoint key. For example, calls to SendGrid API through a proxy, call endpoint for confirming a request.

How to use

Every request made to /v3/mail/send will require a request body formatted in JSON containing your email’s content and metadata. Required parameters are set by Laravel's usually mail sending, but you can also use useful features like "categories" and "send_at".

more info https://www.twilio.com/docs/sendgrid/api-reference/mail-send/mail-send

Laravel 10, 11:

Laravel 9:

Using Template Id

Illuminate\Mailer has generally required a view file. But in case of using template id, set an empty array at view function.

Laravel 10, 11:

Laravel 9:


All versions of laravel-sendgrid-driver with dependencies

PHP Build Version
Package Version
Requires illuminate/mail Version ^9.0||^10.0||^11.0
illuminate/notifications Version ^9.0||^10.0||^11.0
illuminate/support Version ^9.0||^10.0||^11.0
guzzlehttp/guzzle Version ^7.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package s-ichikawa/laravel-sendgrid-driver contains the following files

Loading the files please wait ....