Search

Composer in MAMP PRO

Composer is a tool for dependency management in PHP. It allows you to easily install, update, and manage external PHP libraries. MAMP PRO comes with Composer pre-installed and provides a graphical interface for executing the most common Composer functions—no command line required.

Composer Features in MAMP PRO

The following functions are available:

  • Add Package
    Install a new Composer package by entering the package name and optionally a version constraint (e.g., monolog/monolog:^3.0). The package will be downloaded and added to your “composer.json” file automatically.

  • Remove Package(s)
    Remove one or more installed packages from your project. You can select the packages to be removed from a list of currently installed packages.

  • Update Package(s)
    Update selected or all installed packages to the latest versions that are compatible with your “composer.json” constraints.

  • Show Package Info
    View detailed information about a selected package, including its version, description, dependencies, and a link to the project homepage.

  • Show outdated Packages
    Display a list of all installed packages for which newer versions are available.

Additional Information