# Third-party code bundled with this plugin

MailPane is **GPL-2.0-or-later**. See [LICENSE](LICENSE).

The plugin zip also carries its runtime dependencies, because WordPress has no
Composer step and a plugin that cannot run out of the box is not a plugin.
They ship in `vendor-prefixed/`, rewritten under the `MailPane\Vendor\`
namespace by [Strauss](https://github.com/BrianHenryIE/strauss) so that this
plugin cannot collide with another plugin's copy of the same library. The
prefixing changes namespaces and nothing else: the code, its authorship and
its licence are the upstream package's.

**Every one of them is MIT**, which is GPL-compatible, so the combined work is
distributable under the GPL. The table is what `composer licenses --no-dev`
reports; regenerate it after any dependency change. Each package's own
`LICENSE` file ships beside its code in `vendor-prefixed/`, except the three
`illuminate/*` packages, whose upstream release carries no licence file — their
notice is reproduced below.

## PHP dependencies (in the zip)

| Package | Version | Licence |
|---|---|---|
| `carbonphp/carbon-doctrine-types` | 3.2.1 | MIT |
| `doctrine/inflector` | 1.4.4 | MIT |
| `illuminate/contracts` | v5.4.36 | MIT |
| `illuminate/pagination` | v5.4.36 | MIT |
| `illuminate/support` | v5.4.36 | MIT |
| `nesbot/carbon` | 3.14.0 | MIT |
| `paragonie/random_compat` | v2.0.21 | MIT |
| `psr/clock` | 1.0.0 | MIT |
| `symfony/clock` | v6.4.30 | MIT |
| `symfony/deprecation-contracts` | v3.7.1 | MIT |
| `symfony/http-foundation` | v6.4.46 | MIT |
| `symfony/polyfill-mbstring` | v1.38.2 | MIT |
| `symfony/polyfill-php83` | v1.41.0 | MIT |
| `symfony/translation` | v6.4.44 | MIT |
| `symfony/translation-contracts` | v3.7.1 | MIT |
| `webklex/php-imap` | 6.2.0 | MIT |

The Composer autoloader in `vendor-prefixed/composer/` is MIT too, and carries
its own `LICENSE`.

## Assets (in the zip)

| What | Licence | Where |
|---|---|---|
| Bootstrap Icons 1.11.3 | MIT | `assets/bootstrap-icons/` — the stylesheet and the `woff`/`woff2` font, trimmed to the glyphs actually used by `bin/build-icons.php`; the `LICENSE` file ships beside them |

## Build-time only (never shipped)

Development dependencies — Strauss, PHP-Parser and friends — are installed by
`composer install` for tooling only. `bin/build-zip.sh` packs
`vendor-prefixed/` and never `vendor/`, so none of them reach the zip.

## The illuminate/* notice

The `illuminate/contracts`, `illuminate/pagination` and `illuminate/support`
packages are components of the Laravel framework, released under the MIT
licence but without a licence file in the split package at this version. The
notice, as published by the framework:

```
The MIT License (MIT)

Copyright (c) Taylor Otwell

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
```
