Download the PHP package priyolahiri/sendgrid-php without Composer

On this page you can find all versions of the php package priyolahiri/sendgrid-php. 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 sendgrid-php

sendgrid-php

This library allows you to quickly and easily send emails through SendGrid using PHP.

License

Licensed under the MIT License.

Downloading

Installing the SendGrid package is as simple as adding it to your project's include path and requiring it. If you're using git, you can just clone down the repo like this:

Note: If you don't have git or would rather install by unpacking a Zip or Tarball, you can always grab the latest version of the package from the downloads page.

Testing

The existing tests in the Test directory can be run using PHPUnit with the following command:

SendGrid APIs

SendGrid provides two methods of sending email: the Web API, and SMTP API. SendGrid recommends using the SMTP API for sending emails. For an explanation of the benefits of each, refer to http://docs.sendgrid.com/documentation/get-started/integrate/examples/smtp-vs-rest/.

This library implements a common interface to make it very easy to use either API.

Mail Pre-Usage

Before we begin using the library, its important to understand a few things about the library architecture...

Mail Usage

To begin using this library, you must first include it

Then, initialize the SendGrid object with your SendGrid credentials

Create a new SendGrid Mail object and add your message details

Send it using the API of your choice (SMTP or Web)

Or

Using Categories

Categories are used to group email statistics provided by SendGrid.

To use a category, simply set the category name. Note: there is a maximum of 10 categories per email.

Using Attachments

Attachments are currently file based only, with future plans for an in memory implementation as well.

File attachments are limited to 7 MB per file.

Using Substitutions

Substitutions can be used to customize multi-recipient emails, and tailor them for the user

Using Sections

Sections can be used to further customize messages for the end users. A section is only useful in conjunction with a substition value.

Using Unique Arguments

Unique Arguments are used for tracking purposes

Using Filter Settings

Filter Settings are used to enable and disable apps, and to pass parameters to those apps.

Using Headers

Headers can be used to add existing sendgrid functionality (such as for categories or filters), or custom headers can be added as necessary.


All versions of sendgrid-php with dependencies

PHP Build Version
Package Version
No informations.
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 priyolahiri/sendgrid-php contains the following files

Loading the files please wait ....