phpoffice / wmf
WMF - Manipulate WMF Images
Requires
- php: ^7.1|^8.0
- ext-gd: *
Requires (Dev)
- phpstan/phpstan: ^0.12.88 || ^1.0.0
- phpunit/phpunit: ^7.0 || ^8.0 || ^9.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-08 20:37:08 UTC
README
WMF is a library written in pure PHP that provides a set of classes to read WMF based file (like .wmf or .emf files).
WMF is an open source project licensed under the terms of MIT. WMF is aimed to be a high quality software product by incorporating continuous integration and unit testing. You can learn more about WMF by reading this Developers'Documentation and the API Documentation
If you have any questions, please ask on StackOverFlow
Read more about WMF:
Features
-
Read files
- WMF files
- EMF files
- EMF+ files
Requirements
WMF requires the following:
- PHP 7.1+
Installation
WMF is installed via Composer. To add a dependency to WMF in your project, either
Run the following to use the latest stable version
composer require phpoffice/wmf
or if you want the latest unreleased version
composer require phpoffice/wmf:dev-master
Credits
The EMF test files of the directory tests/resources/libemf2svg come from the libemf2svg project, licensed under the GNU General Public License v2.0.
The EMF test file tests/resources/phpspreadsheet/issue274.emf comes from the issue PHPOffice/PhpSpreadsheet#274.
They are only used by the test suite and are not distributed in the Composer package.
Contributing
We welcome everyone to contribute to PHPWord. Below are some of the things that you can do to contribute.
- Fork us and request a pull to the master branch.
- Submit bug reports or feature requests to GitHub.
- Follow @PHPOffice on Twitter.