Download the PHP package statikbe/craft-flexmail without Composer

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

Flexmail for Craft CMS

This plugin integrates the Flexmail REST API into Craft CMS. The first version will focus on adding contacts, and assigning preferences & interests.

Installation

To install the plugin, follow these instructions:

Settings

The plugin has the following settings:

The default contact source can be set in settings, or you can set in template using a hidden source field.

Usage

By default, a contact in Flexmail has the following fields (API docs):

Basic subscribe form

``

Subscribe form with custom fields

Flexmail custom fields can be added in the fields namespace. For example fields[city], where "city" is the handle of the custom field in Flexmail.

``

Subscribe form with interests

Flexmail is 2 ways to segment or add metadata to contacts: interests. These can be added by using labels[] and preferencs[] respectivly.

It's important to note that the values for these need to be the ID of that item in Flexmail.

``

Interests can be imported and refresh from the API through a Utility.

Fields

The plugin includes fields for interests that are defined in your Flexmail account.

The idea here is that you can create an interest for contacts that subscribe from a specific page/product/etc.

This field will use the imported interests.

Helpers

Flexmail uses ID's for most things (sources, labels, preferences) but those ID's are not exposed in the webpages.

You can use these console command to list each of these, they will return all items with their ID and label

flexmail/debug/get-interest
flexmail/debug/get-sources

All versions of craft-flexmail with dependencies

PHP Build Version
Package Version
Requires craftcms/cms Version ^4.0.0-beta.1
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 statikbe/craft-flexmail contains the following files

Loading the files please wait ....