Download the PHP package warksit/laravel-mail-chimp-sync without Composer

On this page you can find all versions of the php package warksit/laravel-mail-chimp-sync. 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-mail-chimp-sync

Laravel MailChimp Sync for Laravel 5.2

Codeship Status for warksit/laravel-mail-chimp-sync

A package to sync subscribers and interests (using eloquent events) with MailChimp (API v3) for Laravel 5.2+. It's only dependency is Guzzle 6 or 7.

Installation

To get started, require this package:

Add the ServiceProvider in config/app.php:

Next run vendor:publish to copy the migrations.

Run the migrations:

Usage

This package has 2 main uses. It syncs subscribers to a list(s) and syncs a list of interests of an interest group(s). It makes use of eloquent events to detect changes and also makes use of queued jobs so the relative expensive calls to MailChimp don't slow your program flow. The one exception is deleting a model as we need to remove that from MailChimp while the record still exists.

Sync Subscribers

This allows you to keep changes you make to an Eloquent Model in sync with a MailChimp List. It uses eloquent events. This is achieved through the trait. This requires a few methods on the model which are enforced by implementing the interface. Have a look in the doc blocks for more details. If you have overidden the method make sure you call no worries if you haven't.

Sync Interest

This allows you to keep changes you make to an Eloquent Model in Sync as the Interest for an Interest Group. This is achieved through the trait. This requires a few methods on the model which are enforced by implementing the interface. Have a look in the doc blocks for more details. Again if you have overidden the method make sure you call no worries if you haven't.

Manual Sync

If you would like to trigger a sync for a model at another time just call to resync a member or on the relevant model. This is particularly useful to add a new interest to a member.

Contributing

Please! This meets my needs but am open to help. If you find an issue, or have a better way to do something, open an issue or a pull request. There are some tests. To get the integration tests to work copy to and enter your MailChimp credentials.


All versions of laravel-mail-chimp-sync with dependencies

PHP Build Version
Package Version
Requires guzzlehttp/guzzle Version ^6.0 || ^7.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 warksit/laravel-mail-chimp-sync contains the following files

Loading the files please wait ...