NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2204 most downloaded on Packagist
Composes all dependencies as a package inside a WordPress plugin
Latest stable
1.2.3
Last release 6 months ago
01 May 2026
Ships unpredictably
gaps range from 8 days to 4.9 years
Nearly every release is documented
notes for 30 of 33 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
41 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
Fix: Throw explicit exception when namespace inference fails by @coenjacobs in https://github.com/coenjacobs/mozart/pull/385
Full Changelog: https://github.com/coenjacobs/mozart/compare/1.2.2...1.2.3
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.2.3
docker pull ghcr.io/coenjacobs/mozart:1.2.3
1.2.3 - This release
latest - Latest stable version (if this is the highest version)
Full Changelog: 1.2.2...1.2.3
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.2.3docker pull ghcr.io/coenjacobs/mozart:1.2.31.2.3 - This release
latest - Latest stable version (if this is the highest version)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Backport: fix alias qualified names by @coenjacobs in https://github.com/coenjacobs/mozart/pull/382 - thanks @nickvergessen 🙌
Full Changelog: https://github.com/coenjacobs/mozart/compare/1.2.1...1.2.2
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.2.2
docker pull ghcr.io/coenjacobs/mozart:1.2.2
1.2.2 - This release
latest - Latest stable version (if this is the highest version)
Full Changelog: 1.2.1...1.2.2
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.2.2docker pull ghcr.io/coenjacobs/mozart:1.2.21.2.2 - This release
latest - Latest stable version (if this is the highest version)
BACKPORT: Fix symlinks in vendor packages causing UnableToListContents failure by @coenjacobs in #373
Full Changelog: https://github.com/coenjacobs/mozart/compare/1.2.0...1.2.1
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.2.1
docker pull ghcr.io/coenjacobs/mozart:1.2.1
1.2.1 - This release
latest - Latest stable version (if this is the highest version)
Mozart 1.2.0 is a major feature release. 🎉 The headline: Mozart now works with zero configuration — just run mozart compose and it handles the rest. T
Mozart 1.2.0 is a major feature release. 🎉 The headline: Mozart now works with zero configuration — just run mozart compose and it handles the rest. This release also adds global-scope constant and function prefixing and automatic autoloader generation.
mozart compose is now the only opt-in required. All six settings have sensible defaults, inferred from your project's composer.json. Existing extra.mozart blocks continue to work unchanged. A new mozart config command lets you inspect the resolved configuration and where each value came from. #316generate_autoloader: true) and replaces the need to manually configure your project's composer.json autoload section. See usage docs. #315const or define() at global scope are now prefixed with constant_prefix (defaults to an uppercased version of classmap_prefix). References via constant(), defined(), and bare constant fetches are updated throughout the codebase. #308functions_prefix (defaults to a lowercased version of classmap_prefix). References via function_exists() and direct function calls are updated accordingly. #308symfony/polyfill-php80 are no longer broken by having their declarations prefixed. #306define() calls routed correctly — define() inside a namespace block is now handled by the namespace replacer instead of being incorrectly prefixed with constant_prefix. #353$baseDir, and absolute classmap paths. #362delete_vendor_directories: false and generate_autoloader: false are now properly distinguished from "not set" when reporting config sources. #323replaceParentPackage() exiting after the first autoloader combination instead of processing all of them. #288replacePackages() to prevent processing the same package twice. #292MozartException subtypes; error output uses writeln() instead of write(). #294FileOperationException. #296These bug fixes have been released earlier today in versions 1.1.4 and 1.0.10 as well:
@param, @return, @var, @throws, etc.) logic reworked and are now properly rewritten to use the prefixed namespace. #360composer.json for Mozart-processed dependencies, have your code include the newly created autoload.php to benefit from this new feature. Or alternatively, set generate_autoloader to false in your extra.mozart block to keep your existing setup. See the configuration docs.constant_prefix and functions_prefix are derived from classmap_prefix by default. If your dependencies declare global-scope constants or functions, these will now be prefixed. Set either to an empty string in extra.mozart to disable.Full documentation for all features is available in docs/:
Full Changelog: https://github.com/coenjacobs/mozart/compare/1.1.4...1.2.0
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.2.0
docker pull ghcr.io/coenjacobs/mozart:1.2.0
1.2.0 - This release
latest - Latest stable version (if this is the highest version)
Backport: fix alias qualified names by @coenjacobs in https://github.com/coenjacobs/mozart/pull/383 - thanks @nickvergessen 🙌
Full Changelog: https://github.com/coenjacobs/mozart/compare/1.1.5...1.1.6
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.1.6
docker pull ghcr.io/coenjacobs/mozart:1.1.6
1.1.6 - This release
latest - Latest stable version (if this is the highest version)
Full Changelog: 1.1.5...1.1.6
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.1.6docker pull ghcr.io/coenjacobs/mozart:1.1.61.1.6 - This release
latest - Latest stable version (if this is the highest version)
BACKPORT: Fix symlinks in vendor packages causing UnableToListContents failure by @coenjacobs in #374
Full Changelog: https://github.com/coenjacobs/mozart/compare/1.1.4...1.1.5
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.1.5
docker pull ghcr.io/coenjacobs/mozart:1.1.5
1.1.5 - This release
latest - Latest stable version (if this is the highest version)
Maintenance release, containing:
Maintenance release, containing:
Full Changelog: https://github.com/coenjacobs/mozart/compare/1.1.3...1.1.4
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.1.4
docker pull ghcr.io/coenjacobs/mozart:1.1.4
1.1.4 - This release
latest - Latest stable version (if this is the highest version)
[FORWARD PORT] Fix delete_vendor_directories setter name mismatch #321
Full Changelog: https://github.com/coenjacobs/mozart/compare/1.1.2...1.1.3
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.1.3
docker pull ghcr.io/coenjacobs/mozart:1.1.3
1.1.3 - This release
latest - Latest stable version (if this is the highest version)
[Backport] Fix Windows directory separator breaking PSR-4 path flattening #311
Full Changelog: https://github.com/coenjacobs/mozart/compare/1.1.1...1.1.2
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.1.2
docker pull ghcr.io/coenjacobs/mozart:1.1.2
1.1.2 - This release
latest - Latest stable version (if this is the highest version)
Maintenance release containing:
Maintenance release containing:
Full Changelog: https://github.com/coenjacobs/mozart/compare/1.1.0...1.1.1
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.1.1
docker pull ghcr.io/coenjacobs/mozart:1.1.1
1.1.1 - This release
latest - Latest stable version (if this is the highest version)
AST-based replacement engine — Complete rewrite of the core replacement system using nikic/php-parser. Eliminates regex fragility that corrupted nulla
nikic/php-parser. Eliminates regex fragility that corrupted nullable type hints, matched inside strings/comments, and missed edge cases.files autoloader type, which was previously ignored entirely. Packages like php-di/php-di now work correctly.class_exists(), function_exists(), interface_exists(), trait_exists(), and related functions are now properly prefixed..gitattributes.Details and discussion of what changed and why can be found: Beta testing for Mozart 1.1.0 has begun!
Full Changelog: https://github.com/coenjacobs/mozart/compare/1.0.6...1.1.0
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.1.0
docker pull ghcr.io/coenjacobs/mozart:1.1.0
1.1.0 - This release
latest - Latest stable version (if this is the highest version)
Details and discussion of what changed and why can be found: Beta testing for Mozart 1.1.0 has begun!
Details and discussion of what changed and why can be found: Beta testing for Mozart 1.1.0 has begun!
Full Changelog: https://github.com/coenjacobs/mozart/compare/1.1.0-beta-1...1.1.0-beta-2
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.1.0-beta-2
docker pull ghcr.io/coenjacobs/mozart:1.1.0-beta-2
1.1.0-beta-2 - This releaseDetails and discussion of what changed and why can be found: Beta testing for Mozart 1.1.0 has begun!
Details and discussion of what changed and why can be found: Beta testing for Mozart 1.1.0 has begun!
Full Changelog: https://github.com/coenjacobs/mozart/compare/1.0.5...1.1.0-beta-1
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.1.0-beta-1
docker pull ghcr.io/coenjacobs/mozart:1.1.0-beta-1
1.1.0-beta-1 - This releaseMaintenance release, containing:
Maintenance release, containing:
Full Changelog: https://github.com/coenjacobs/mozart/compare/1.0.9...1.0.10
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.0.10
docker pull ghcr.io/coenjacobs/mozart:1.0.10
1.0.10 - This release
latest - Latest stable version (if this is the highest version)
Maintenance release, containing:
Maintenance release, containing:
Full Changelog: https://github.com/coenjacobs/mozart/compare/1.0.8...1.0.9
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.0.9
docker pull ghcr.io/coenjacobs/mozart:1.0.9
1.0.9 - This release
latest - Latest stable version (if this is the highest version)
[Backport] Fix Windows directory separator breaking PSR-4 path flattening #312
[Backport] Fix Windows directory separator breaking PSR-4 path flattening #312
Full Changelog: https://github.com/coenjacobs/mozart/compare/1.0.7...1.0.8
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.0.8
docker pull ghcr.io/coenjacobs/mozart:1.0.8
1.0.8 - This releaseMaintenance release containing backported fixes that were applicable from the 1.1.1 release:
Maintenance release containing backported fixes that were applicable from the 1.1.1 release:
Full Changelog: https://github.com/coenjacobs/mozart/compare/1.0.6...1.0.7
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.0.7
docker pull ghcr.io/coenjacobs/mozart:1.0.7
1.0.7 - This releaseMaintenance release, containing the following fixes:
Maintenance release, containing the following fixes:
Full set of changes: https://github.com/coenjacobs/mozart/compare/1.0.5...1.0.6
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.0.6
docker pull ghcr.io/coenjacobs/mozart:1.0.6
1.0.6 - This release
latest - Latest stable version (if this is the highest version)
Maintenance release, containing the following fixes:
Maintenance release, containing the following fixes:
Full set of changes: https://github.com/coenjacobs/mozart/compare/1.0.4...1.0.5
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.0.5
docker pull ghcr.io/coenjacobs/mozart:1.0.5
1.0.5 - This release
latest - Latest stable version (if this is the highest version)
Maintenance release, containing the following fixes:
Maintenance release, containing the following fixes:
Full set of changes: https://github.com/coenjacobs/mozart/compare/1.0.3...1.0.4
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.0.4
docker pull ghcr.io/coenjacobs/mozart:1.0.4
1.0.4 - This release
latest - Latest stable version (if this is the highest version)
Maintenance release, containing the following fixes:
Maintenance release, containing the following fixes:
Full set of changes: https://github.com/coenjacobs/mozart/compare/1.0.2...1.0.3
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.0.3
docker pull ghcr.io/coenjacobs/mozart:1.0.3
1.0.3 - This release
latest - Latest stable version (if this is the highest version)
Maintenance release, containing the following fixes:
Maintenance release, containing the following fixes:
Full set of changes: https://github.com/coenjacobs/mozart/compare/1.0.1...1.0.2
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.0.2
docker pull ghcr.io/coenjacobs/mozart:1.0.2
1.0.2 - This release
latest - Latest stable version (if this is the highest version)
Maintenance release, containing the following fixes:
Maintenance release, containing the following fixes:
Thank you both for contributing. 😊
Full set of changes: https://github.com/coenjacobs/mozart/compare/1.0.0...1.0.1
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.0.1
docker pull ghcr.io/coenjacobs/mozart:1.0.1
1.0.1 - This release
latest - Latest stable version (if this is the highest version)
This is the stable release of version 1.0.0 of the Mozart project. I'm proud to say that this release is finally here and this marks a significant mil
This is the stable release of version 1.0.0 of the Mozart project. I'm proud to say that this release is finally here and this marks a significant milestone in the project. For details on everything that has changed, please refer to the beta testing and 1.0.0 feature set post in the discussions. Thanks everyone for their continued support, helpful comments and contributions. Thank you everyone!
I've written a bit about the whole process around this on my personal blog: Mozart 1.0: Five years in the making.
Full Changelog: https://github.com/coenjacobs/mozart/compare/0.7.1...1.0.0
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.0.0
docker pull ghcr.io/coenjacobs/mozart:1.0.0
1.0.0 - This release
latest - Latest stable version (if this is the highest version)
Fixed a couple long standing bugs and due updates in Flysystem dependencies, which also resolved a lot of deprecation warnings during runtime and test…
Fixed a couple long standing bugs and due updates in Flysystem dependencies, which also resolved a lot of deprecation warnings during runtime and tests. Details and discussion of what changed and why can be found: Mozart 1.0.0 is almost here, we're in beta testing phase
Full Changelog: https://github.com/coenjacobs/mozart/compare/1.0.0-beta-2...1.0.0-beta-3
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.0.0-beta-3
docker pull ghcr.io/coenjacobs/mozart:1.0.0-beta-3
1.0.0-beta-3 - This releaseSecond beta release, mainly to verify the release mechanism has been polished and completely working before we pull the trigger on 1.0.0 stable and fi
Second beta release, mainly to verify the release mechanism has been polished and completely working before we pull the trigger on 1.0.0 stable and final release. Details and discussion of what changed and why can be found: Mozart 1.0.0 is almost here, we're in beta testing phase
Full Changelog: https://github.com/coenjacobs/mozart/compare/1.0.0-beta-1...1.0.0-beta-2
This release includes Docker images for multiple architectures (linux/amd64, linux/arm64, linux/arm/v7).
docker pull coenjacobs/mozart:1.0.0-beta-2
docker pull ghcr.io/coenjacobs/mozart:1.0.0-beta-2
1.0.0-beta-2 - This releaseDetails and discussion of what changed and why can be found: Mozart 1.0.0 is almost here, we're in beta testing phase
Details and discussion of what changed and why can be found: Mozart 1.0.0 is almost here, we're in beta testing phase
Full Changelog: https://github.com/coenjacobs/mozart/compare/0.7.1...1.0.0-beta-1
As @szepeviktor mentioned, the PHAR we created starting from the last release was way too big (at a whopping 14MB). This was caused because all the de
As @szepeviktor mentioned, the PHAR we created starting from the last release was way too big (at a whopping 14MB). This was caused because all the development dependencies were included as well. This release changes that, reducing the created PHAR to 1.3MB.
This release quickly follows the 0.6.0 release and is focussed on solving the problems with distribution and isolation Mozart has been facing. That's
This release quickly follows the 0.6.0 release and is focussed on solving the problems with distribution and isolation Mozart has been facing. That's why Mozart is now available as a Docker image and a PHAR file will be attached to each release and can be downloaded from the releases page (or via Phive). All of this is to ensure that Mozart can run in isolation itself and not have potential conflicts with your projects dependencies (yes, for a package claiming to solve dependency conflicts, this is crazy meta - I know!).
I've also put lots of attention to the installation instructions in the README, explaining how the different installations methods work and point at the pros and cons for each.
Mozart is now supporting all supported PHP versions, which include: PHP 7.3, 7.4 and 8.0. Support for PHP 7.2 has been dropped.
Other than the logistical part of the project, 0.7.0 is a very small release. No actual code has been changed, apart from some code standards and minor fixes. The availability of the Docker image and the building of PHAR files is a big step forward though!
This has been in the works for far longer than it should have. Special thanks to @BrianHenryIE as he has been so hard at work with multiple changes an
This has been in the works for far longer than it should have. Special thanks to @BrianHenryIE as he has been so hard at work with multiple changes and debugging things for other developers, in the issues. I try to scrape every single bit of time that I can put into Mozart, but I don't know how I could do it without him. 🎉
In this release, the highlights are:
packages key in the configuration and Mozart will transform all packages.override_autoload configuration key, you can specify the autoload configuration for that package, after it is transformed by Mozart.excluded_packages configuration key you can disable a package from being transformed by Mozart. This is useful for packages, for example PSR-11's ContainerInterface that is a standardised class.Besides the highlights, Mozart has been improved across the board. A whole lot of fixes have been merged over the past couple months, that have made the code base more solid and bug free.
Aside: By the end of last year, I posted a long post about my thoughts about the future of Mozart: The future of Mozart - we're at a crossroad! - I've spent the first weeks of this year, thinking this through some more. Right now, I feel I have a solid understanding of the most pressing issues within our tiny ecosystem. Enough at least, to put a little roadmap together, which I'll post soon. The next release of Mozart will be all about distribution of the package, adding a Docker image and possibly other means of running the code, in addition to requiring Mozart as a package in your project. More on that soon!
Conditional logic in verifying the composer.json file is valid #49
composer.json file is valid #49.gitkeep file in order to persist the directory in CVS #52Thank you @markjaquith and @BrianHenryIE for your contributions! 🎉
Second beta today, but I have messed up something while reviewing and that is now fixed.
Second beta today, but I have messed up something while reviewing and that is now fixed.
With so much going on, I feel a proper beta for this next release is in order. I'd like to run this through some rigorous testing before tagging the s
With so much going on, I feel a proper beta for this next release is in order. I'd like to run this through some rigorous testing before tagging the stable release.
I still want to check if #42 is still required after #39 is already merged.
Thanks a ton, @BrianHenryIE for all the help and contributions. I'll get your contributions properly attributed in the release notes once this becomes the next stable.
Fixed: Symfony command must have an integer as return status code
Fixed: Symfony command must have an integer as return status code (#33)
Santa came early and dropped a new release of Mozart. This release contains:
Santa came early and dropped a new release of Mozart. This release contains:
/vendor directory. This has been on my radar for a while to test out, but this bug proved that it was worth my while.Version 0.4.0 of Mozart is here. The main change that everyone will notice is that Mozart now requires PHP 7.1 and up. The reasoning behind this is do
Version 0.4.0 of Mozart is here. The main change that everyone will notice is that Mozart now requires PHP 7.1 and up. The reasoning behind this is documented in #26, but the tldr is:
Mozart is a developers tool. In my humble opinion, developers should lead by example in using supported PHP versions only and have no reason to stay behind on unsupported versions.
Further changes in this release:
^4 now of both symfony/console and symfony/finder packages). See #25 for more details.Big thank you to everyone contributing to and using Mozart, your help is very much appreciated! 🎉
Thanks to the hard work of @costasovo in his attempt to support rewriting the full dependency tree in #10, I have been able to tackle this issue now f
Thanks to the hard work of @costasovo in his attempt to support rewriting the full dependency tree in #10, I have been able to tackle this issue now finally. This release contains:
Nothing published for this version
Nothing published for this version
The second version of Mozart available for public testing is now available, introducing:
The second version of Mozart available for public testing is now available, introducing:
Nothing published for this version
One column per quarter.