Composer > Update Package(s)
MAMP PRO makes it easy to update installed Composer packages directly through the user interface.
Updating Packages
-
Open the Menu:
Select Site → Composer → Update Package(s) from the top menu. -
Select Packages to Update:
A dialog window will open showing a list of all Composer packages currently installed for the selected site. You can select one or multiple packages from the list. -
Optional: Dry Run:
Enable the “Dry run” the update without actually changing anything checkbox to simulate the update process. This allows you to preview which changes would be made without modifying any files. -
Update Packages:
Click the Update button to update the selected package(s). Composer will then perform the update process in the background and update the composer.json and composer.lock files accordingly.
After the update completes, the selected packages will be updated to the latest allowed versions as defined by the version constraints in the composer.json file.