Download the PHP package garagist/mautic without Composer

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

Garagist.Mautic

Latest stable version GitHub stars GitHub watchers

This package makes it possible to send personalized newsletters from Neos with Mautic, include forms from Mautic as a content element and add Mautic tracking. The forms are integrated via the Javascript API. All backend requests to Mautic are event-sourced. This ensures that the tasks are processed even if Mautic is not available.

Screenshot with the overview of emails Screenshot with the view of a document Screenshot with the detail view of an email

Installation

Add the package in your site package:

The run composer update in your project root.

Finally you need to run the following commands:

Configure Mautic

  1. Visit your Mautic installation and create a user for API.
  2. Enable API and HTTP basic auth. Optional: Be sure your Mautic installation is running on HTTPS for the sake of security.
  3. If you want to send test emails, please install our GaragistMauticApiBundle plugin.
  4. Skip this, if your website and Mautic are running on the same server:

Configure Neos

The default values are set in Settings.Garagist.yaml.

routeArgument setting

htmlTemplate sets the argument used to call the HTML variant of the newsletter and send it to Mautic.

plaintextTemplate sets the argument used to call the plaintext variant of the newsletter and send it to Mautic.

If you use Garagist.Mjml htmlTemplate is automatically set to mjml. The important thing is simply to respect the loading order of the composer and load Garagist.Mjml after Garagist.Mautic.

api setting

Set your credentials userName and password from Mautic. baseUrl is the URL where Mautic can be reached via PHP. This may be different from the publicUrl (see next section) if Mautic is running in its own Docker container.

publicUrl setting

Set here the URL where the Mautic installation is publicly accessible. This will be used for tracking, forms and links in the newsletter module.

enableTracking setting

Enable the Javascript tracking code from Mautic. By default it is set to false in the development context and to true in the production context.

mail setting

trackingPixel injects the tracking pixel from Mautic right before the closing body tag.

form setting

hide sets the IDs of the forms you want to hide in the inpsector. You can pass an array (eg. [1, 2, 3]) or an integer

category setting

newsletter sets the ID of the category you want to use for the newsletters. Be aware that the category must exist in Mautic.

testMail setting

recipients defines the email addresses you want to use for send test emails. You can pass an array (eg. ['[email protected]', '[email protected]']) or an string (eg. '[email protected]'). Note that the GaragistMauticApiBundle plugin must be installed in your Mautic installation. Also the setting action.test need to set to true.

segment setting

action setting

In this group you can enable/disable folwing actions:

Personalization

It is possible to send personalized emails. To use this, simply apply the following markup in the text on your page:

Availble fields are every field from contactfield, surounded by an # on both sides (case insensitive)

NodeTypes

Garagist.Mautic:Mixin.Email

Add this mixin to any document to enable the ability to send newsletter.

Garagist.Mautic:Mixin.Category

Add this mixin to any document to define this as a category for newsletters. This is used in the overview of the newsletter module.

Garagist.Mautic:Mixin.DoNotTrack

Add this mixin to any document to have the ability to disable the Mautic tracking for this specific page.

Garagist.Mautic:Mixin.Form

Add this mixin to a node to add the selector for Mautic forms. Be aware that you need to include the Fusion prototype Garagist.Mautic:Component.Form somewhere in your markup


All versions of mautic with dependencies

PHP Build Version
Package Version
Requires ext-intl Version *
ext-json Version *
neos/neos-ui Version ^7.3 || ^8.0
neos/event-sourcing Version ^2.0
neos/neos Version ^7.3 || ^8.0
neos/fusion-form Version ^2.0
mautic/api-library Version ^3.0.0
carbon/eel Version ^2.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 garagist/mautic contains the following files

Loading the files please wait ....