Download the PHP package mistralys/mailcode without Composer

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

Mailcode

A backend-agnostic preprocessor command language for email templates.

What Is Mailcode?

Email template systems often lock you into a specific backend preprocessor — Velocity, HubL, or whatever your mailing platform speaks. Mailcode frees you from that. Authors write in one readable, verbose syntax, and the library translates it into whatever the backend requires. Your email editor becomes portable across platforms without rewriting a single template.

Features

Requirements

Quick Start

Syntax at a Glance

Supported Commands

Category Commands
Display {showvar}, {showdate}, {shownumber}, {showprice}, {showsnippet}, {showencoded}, {showphone}, {showurl}
Variables {setvar} (string, arithmetic, list counting)
Conditionals {if}, {elseif}, {else}, {end} — 16 subtypes (variable, contains, empty, list-contains, begins-with, bigger-than, etc.)
Loops {for}, {break}
Formatting {mono}, {code}
Meta {comment}

Translation Targets

Syntax Coverage
Apache Velocity Full — all commands translated
Hubspot HubL Partial — {break} and {showsnippet} not supported

Learn More

Resource Description
Usage Guide Full syntax reference, all commands, encoding, safeguarding, and translation examples
Apache Velocity Translation Velocity-specific translation details and configuration
HubL Translation Hubspot HubL translation support and limitations
Changelog Version history and breaking changes

License

Mistralys


All versions of mailcode with dependencies

PHP Build Version
Package Version
Requires mistralys/application-utils Version >=3.2.0
mistralys/application-localization Version >=2.1.2
giggsey/libphonenumber-for-php Version ^8.12
monolog/monolog Version >=2.7
ext-json Version *
php Version >=8.4
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 mistralys/mailcode contains the following files

Loading the files please wait ...