GithubHelp home page GithubHelp logo

lewisw / mailmerge Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zanbaldwin/mailmerge

0.0 2.0 0.0 114 KB

A PHP library for document mail merges with template providers, transformers, placeholder collections, and parser/generator engines.

License: MIT License

PHP 100.00%

mailmerge's Introduction

Mail Merge

What is Mail Merge?

Mail Merge is a PHP library for document generation with mail-merge support (using data-providers such as a database entities, CSV files, spreadsheets, etc). It utilizes template providers, transformers, placeholder collections, and parser/generator engines.

Requirements

Only PHP versions 5.4 and above are supported.

Installation

The recommended installation method is through Composer, a dependency management library for PHP.

Composer

If you have cURL and PHP installed, getting Composer is as easy as:

curl -s https://getcomposer.org/installer | php

Add the zanderbaldwin/mailmerge as a dependency of your project by running:

php composer.phar require zanderbaldwin/mailmerge

Or adding it manually to your composer.json file:

{
    "require": {
        "zanderbaldwin/mailmerge": "dev-develop"
    }
}

Cloning

Alternatively, clone the repository directly with git clone git://github.com/zanderbaldwin/mailmerge.git, and include the basic autoloader in your application.

<?php

    require_once __DIR__ . '/mailmerge/MailMerge.php';

Quick Start

For the current dev-develop version of this library, an example script can be found at docs/example.php. The example script is not valid PHP but provides commentary on how the library is envisioned.

Running Tests

Run PHPUnit from the project's root directory.

php ./vendor/bin/phpunit

Contributing

To contribute to this project, all bug reports, feature requests or patches (pull requests) must be done through the GitHub repository page. Please see the CONTRIBUTING file for more details.

License

MailMerge is licensed under the MIT/X11 license, see the accompanying LICENSE file for the full license.

mailmerge's People

Contributors

zanbaldwin avatar

Watchers

Lewis avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.