Third-party components and their licenses
This page is for bundlers who must say what is inside their bundle and under which terms. Exponential itself is GPL version 2 or later; a bundle around it contains much more. Not legal advice: ask counsel about combinations you are unsure of.
Contents
- The layers of a bundle
- Composer packages
- Extensions
- Site packages and content
- Runtime and operating system
- The third-party list
- Warning signs
The layers of a bundle
| Layer | How to list it | License information from |
|---|---|---|
Composer packages (vendor/, Composer-installed extensions) | composer licenses | each package's composer.json license field |
| Extensions | the extension/ directory, Info > About | ezinfo.php, extension.xml, LICENSE |
| Libraries inside extensions (JavaScript, CSS, fonts) | the extension's files and README | the library's own license header or file |
| Site packages | package.xml of each package | the package's license entry (License fields) |
| Runtime: PHP, Velocity, a web server, a database | your image or package list | their projects |
| Operating system | your distribution's package list | the distribution |
Composer packages
composer licenses (a built-in Composer command) prints every installed package with the license its
composer.json declares. Run it in the built bundle and keep the output with the release:
composer licenses --no-dev > THIRD-PARTY-composer.txt
composer licenses --no-dev --format=json > var/log/bundle-licenses.jsonA package without a license field shows as "none"; look it up by hand before you ship it.
The kernel's libraries: Exponential Components (Apache 2.0)
Every bundle of Exponential contains the kernel's libraries. Since 6.0.15 they are the Exponential Components,
Exponential's fork of the Zeta Components, one Composer package each (se7enxweb/expcomponents-mail,
se7enxweb/expcomponents-archive ...), installed in vendor/se7enxweb/expcomponents-*/. Up to 6.0.14 they were the
upstream zetacomponents/* packages in vendor/zetacomponents/. Either way:
- their license is the Apache License 2.0 (
Apache-2.0incomposer licenses), not the GPL; - each package's
LICENSE.txtbegins with notice lines ("Zeta Components ...", "Apache Zeta Components ...", "Originally developed by eZ Systems as eZ Components ...") that must be passed on with the package; shipping thevendor/folder unchanged does that, together with theNOTICEfile each fork ships; - list them in the third-party list;
composer licenses --no-dev | grep expcomponentsprints them.
The kernel's license, GPL version 2 or later, allows the combination to be distributed under GPL version 3, with which the Free Software Foundation considers Apache 2.0 compatible (Exponential Components). Not legal advice.
Extensions
The Info > About page of an installed bundle lists every extension "with its license and website", and a Third-party software table with "software, version, license and the extension that includes it" (About and Copyright pages). Use it to cross-check your list; an extension that shows no license there needs a look at its files.
Extensions made from the RAD wizards and package wizard choose their license from the strict list in
settings/package.ini [LicenseSettings] (Package licenses and Semantic Versioning).
Site packages and content
A site package can contain classes, templates, images, styles and demo content. The license of the package applies to all of them unless the package says otherwise. Demo images in particular may carry a license of their own; read the package's documents before you ship its demo content to customers (Documentation requirements: license and documents).
Runtime and operating system
- Velocity is a Composer package (
se7enxweb/exponential-velocity) and also published as deb and rpm packages, Docker images and static binaries (Velocity packages, Docker images and binaries). Its license is in its repository. - FrankenPHP, if you use it, is a downloaded binary that bundles Caddy, PHP and PHP extensions (FrankenPHP); list it with its own license.
- PHP, the database and the operating system come with their own terms; your distribution's tools list them.
The third-party list
Ship one list (THIRD-PARTY.txt or a section of your notice) in this shape:
Component Version License Source / where to get it
se7enxweb/exponential 6.0.14 GPL-2.0-or-later https://github.com/se7enxweb/exponential
se7enxweb/expcomponents-mail <version> Apache-2.0 https://github.com/se7enxweb/expcomponents-mail
<extension> <version> <license> <URL>
<library> <version> <license> <URL>
PHP <version> <license> <URL>
...Generate the Composer part with composer licenses; add the rest by hand from the table above.
Warning signs
| You see | Ask |
|---|---|
| A component with no license at all | May you distribute it? Without a license the answer is usually no. |
| A non-commercial or no-derivatives Creative Commons license on code or images | Does your bundle's use fit those terms? |
| A proprietary extension next to GPL code | Can it be distributed in the same bundle? Ask counsel. |
LicenseRef-Proprietary in a package | It means "all rights reserved" (Package licenses): get written permission. |
| A library copied into an extension without its license header | Restore the header or replace the library. |
Related pages
- GPL obligations when you distribute
- License texts and notices to ship
- Licensing for partners
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.