Download the PHP package tsfcorp/email without Composer

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

Library for sending emails - Laravel

Fluent interface for composing and sending emails

This package was designed to work in a standalone project or in a cluster of projects which push messages into a master project/database which act as a collector.

If you use this package in cluster mode, make sure the process php artisan emails:dispatch-jobs is running on master project. This can be kept alive with supervisor

Upgrade from 8.x to 9.x

Amazon SES default webhooks configuration under Identity is no longer supported. Switch to configuration sets

Upgrade from 7.x to 8.x

Upgrade from 6.x to 7.x

In order to migrate older emails to the new structure, you have to:

  1. publish the new migration file for email_recipients and run the migration
  2. build a script which loops through current emails and insert the recipients for to, cc and bcc and execute it
  3. create a migration which should drop to, cc, bcc and bounces_count columns
  4. create a migration which removes the email_bounces table

Upgrade from 5.x to 6.x

Upgrade from 4.x to 5.x

Upgrade from 3.x to 4.x

Upgrade from 2.x to 3.x

Installation

Require this package in your composer.json and update composer. Run the following command:

After updating composer, the service provider will automatically be registered and enabled using Auto-Discovery

If your Laravel version is less than 5.5, make sure you add the service provider within app.php config file.

Next step is to run the artisan command to install config file and optionally migration file. The command will guide you through the process.

Update config/email.php with your settings.

Requirements

This package makes use of Laravel Queues/Jobs to send emails. Make sure the queue system is configured properly

Usage Instructions

Use enqueue() method to save the message in database without sending. Useful when you want to just save the message but delay sending. Or when database_connection config value is another database and sending is performed from there.

Save the message and schedule a job to send the email

Email Providers

Bounce Webhooks

If an email could not be sent to a recipient, the email provider can notify you about this. This package handles permanent failures webhooks for you.

Mailgun

Add http://app.example/webhook-mailgun link to "Permanent Failure" section within you mailgun webhooks settings.

Amazon SES

  1. Create a new topic under Amazon SNS
  2. Create a new subscription under the topic created above where you specify http://app.example/webhook-ses as endpoint
  3. After the subscription was created, AWS will make a post request to specified endpoint with an URL which should be used to confirm subscription. That url can be found in app logs. Copy and paste that in browser.
  4. Create a configuration set
  5. After the configuration set was created, configure Event Destination and select Amazon SNS where you select the topic created at step 1.

All versions of email with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0.2
ext-json Version *
laravel/framework Version ^9.0|^10.0|^11.0|^12.0
aws/aws-php-sns-message-validator Version ^1.5
symfony/mailgun-mailer Version ^6.0
symfony/http-client Version ^6.0
symfony/google-mailer Version ^6.0
async-aws/ses Version ^1.3
symfony/amazon-mailer Version ^6.0
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 tsfcorp/email contains the following files

Loading the files please wait ....