PHPackages                             pforret/php\_outlook\_signature - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. pforret/php\_outlook\_signature

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

pforret/php\_outlook\_signature
===============================

Create Outlook email signatures from a template

1.1.4(1y ago)38MITPHPPHP &gt;=7.4CI failing

Since Jul 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/pforret/php_outlook_signature)[ Packagist](https://packagist.org/packages/pforret/php_outlook_signature)[ Docs](https://github.com/pforret/php_outlook_signature)[ RSS](/packages/pforret-php-outlook-signature/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (4)Versions (7)Used By (0)

Create Outlook email signatures from a template
===============================================

[](#create-outlook-email-signatures-from-a-template)

[![Latest Version on Packagist](https://camo.githubusercontent.com/79c2bd808f41c7ee9c5b622cbc9662591a73f09223f7d92deb436a2cfe2a60ae/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70666f727265742f7068705f6f75746c6f6f6b5f7369676e61747572652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pforret/php_outlook_signature)[![Tests](https://github.com/pforret/php_outlook_signature/workflows/Tests/badge.svg)](https://github.com/pforret/php_outlook_signature/actions)[![Quality Score](https://camo.githubusercontent.com/454242111a47cde5e0749abed9144420bfda57b675c8bce4a0f779e9e9684605/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f70666f727265742f7068705f6f75746c6f6f6b5f7369676e61747572652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/pforret/php_outlook_signature)[![Total Downloads](https://camo.githubusercontent.com/db386a16be0fe9ced0ca654a5f13826642ff0f59a1bd8492a0ebb7af07ef9a27/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70666f727265742f7068705f6f75746c6f6f6b5f7369676e61747572652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pforret/php_outlook_signature)

Create valid Outlook HTML Signatures, from a template with placeholders. Kind of mail merge for Outlook email signatures.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require pforret/php_outlook_signature
```

Usage
-----

[](#usage)

```
use Pforret\PhpOutlookSignature\PhpOutlookSignature;
$signature = new PhpOutlookSignature("");
$personal_details=[
    "person_name"   => "Peter Gibbons",
    "person_function"   => "TPS Manager",
    ...
];
echo $signature->create("initech/pgibbons.htm",$personal_details);
// this will create the pgibbons.htm email signature, and copy all required files into pgibbons_files/ subfolder.
// it will also generate a install_signature.cmd script for easy installation of the signature into Outlook (Windows)
```

Signature template
------------------

[](#signature-template)

- let's say you call your template `waffle`
- your template folder should contain 1 HTML file `waffle.htm`and one asset folder with all the extra files needed (called `waffle_files`)
- in the assets folder there should be a `filelist.xml`. If not, this package will generate one.
- images in the assets folder that are referenced in the template as `src="/"`will be included as (hidden) attachments of the email and always show up for the receiver, i.e. not be filtered out like external images
- the HTML template can contain `{information}` placeholders. They will be replaced by the actual value of `"information" => "..."` from the $personal\_details array.
- a template with an `{information}` placeholder that is not specified in the $personal\_details array, will throw an error.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Peter Forret](https://github.com/pforret)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~319 days

Recently: every ~398 days

Total

6

Last Release

527d ago

PHP version history (2 changes)v1.0.1PHP ^7.4

1.1.4PHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/474312?v=4)[Peter Forret](/maintainers/pforret)[@pforret](https://github.com/pforret)

---

Top Contributors

[![pforret](https://avatars.githubusercontent.com/u/474312?v=4)](https://github.com/pforret "pforret (31 commits)")

---

Tags

emailmicrosoftoutlookphpsignaturessignatureemailwindowsOffice365outlookpforretphp\_outlook\_signature

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/pforret-php-outlook-signature/health.svg)

```
[![Health](https://phpackages.com/badges/pforret-php-outlook-signature/health.svg)](https://phpackages.com/packages/pforret-php-outlook-signature)
```

###  Alternatives

[egulias/email-validator

A library for validating emails against several RFCs

11.6k691.3M307](/packages/egulias-email-validator)[sendgrid/sendgrid

This library allows you to quickly and easily send emails through Twilio SendGrid using PHP.

1.5k47.5M164](/packages/sendgrid-sendgrid)[pelago/emogrifier

Converts CSS styles into inline style attributes in your HTML code

94944.1M110](/packages/pelago-emogrifier)[zbateson/mail-mime-parser

MIME email message parser

53949.2M79](/packages/zbateson-mail-mime-parser)[soundasleep/html2text

A PHP script to convert HTML into a plain text format

48419.5M75](/packages/soundasleep-html2text)[opcodesio/mail-parser

Parse emails without the mailparse extension

216.8M8](/packages/opcodesio-mail-parser)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
