2017 © Pedro Peláez
 

library outlook-formatter

Scan all dom and add/replace width attribute, make sure table/img in outlook desktop will be working

image

gorilladash/outlook-formatter

Scan all dom and add/replace width attribute, make sure table/img in outlook desktop will be working

  • Wednesday, February 7, 2018
  • by casperlaitw
  • Repository
  • 2 Watchers
  • 0 Stars
  • 32 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 7 % Grown

The README.md

Outlook Formatter

Scan all dom and add/replace width attribute, make sure table/img in outlook desktop will be working, (*1)

Only affect outlook desktop, (*2)

How to use

Laravel 5.5

    use OutlookFormatter;

    $html = ''; // your html
    $result = OutlookFormatter::format($html);

PHP

    use GorillaDash\OutlookFormatter\Formatter;

    $formatter = new Formatter(800); // First argument is max width for container;
    $formatter->setAutoCenter(['table' => true, 'image' => true]); // Set all table/td/image to be center, default is false

    $html = ''; // your html
    $result = $formatter->format($html);

The Versions

07/02 2018

dev-master

9999999-dev https://github.com/GorillaDash/outlook-formatter

Scan all dom and add/replace width attribute, make sure table/img in outlook desktop will be working

  Sources   Download

MIT

The Requires

 

by Casper Lai
by Anthony Gherghetta

formatter outlook

07/02 2018

v1.0.0

1.0.0.0 https://github.com/GorillaDash/outlook-formatter

Scan all dom and add/replace width attribute, make sure table/img in outlook desktop will be working

  Sources   Download

MIT

The Requires

 

by Casper Lai
by Anthony Gherghetta

formatter outlook