Install Composer Mac

There are two options to update Composer: Install the update and restart Composer and Download now and install when you close Composer. Select either option based on your needs, and then select Okay. After you see the Update complete window, select Okay to reinstall and restart Composer. Install Composer globally on Mac OS. Download Composer. Install download the composer using the following curl command in your terminal, this is provided by the project itself: curl -sS php. After running that command, there will be a file composer.phar in the current directory.

macOS Big Sur takes the most advanced operating system in the world to a whole new level of power and beauty, and makes your apps look better than ever. Widgets and the widget gallery help you deliver more value to your users. Adding intelligence to your apps with machine learning is simple with extensive tools, models, training capabilities, and APIs. You can create more powerful Mac versions of your iPad apps with Mac Catalyst. And you can easily bring your extensions to Safari — and to the App Store.

All-new Interface

macOS Big Sur brings a new design that’s been finely tuned for the powerful features that make a Mac a Mac. Core features, such as the menu bar and Dock, take advantage of the large Mac display, with translucent backings and spacious pull-down menus. The new Control Center, designed just for Mac, provides quick access to controls while keeping the menu bar clutter-free. Notification Center puts recent notifications and powerful new widgets together in a single view for at-a-glance information as you work. And a streamlined new design for apps features full-height sidebars and integrated toolbar buttons.


Easily build widgets using the WidgetKit framework and the new widget API for SwiftUI. Widgets now come in multiple sizes, and users can visit the new widget gallery to search, preview sizes, and add them to Notification Center to access important details at a glance.

Safari Extensions

With support for the popular WebExtension API, it’s even easier to bring powerful extensions to Safari. Xcode 12 even includes a porting tool to streamline the process.

The new Extensions category on the Mac App Store showcases Safari extensions, with editorial spotlights and top charts to help users discover and download great extensions from the developer community.

Machine Learning

With macOS Big Sur, creating apps that leverage the power of machine learning is even easier and more extensive with additional tools in Core ML for model deployment, new models and training capabilities in Create ML, more APIs for vision and natural language, and improved resources for training on Mac and converting models to Core ML format.

Mac Catalyst

Create even more powerful Mac versions of your iPad apps. Apps built with Mac Catalyst now take on the new look of macOS Big Sur and help you better define the look and behavior of your apps. You can choose to turn off automatic scaling of iPad controls and layout, allowing you to precisely place every pixel on the screen. Provide full control of your app using just the keyboard, take advantage of the updated Photos picker, access more iOS frameworks, and more.

User privacy on the App Store

The Mac App Store helps users better understand apps’ privacy practices. You’ll need to enter your privacy practice details into App Store Connect for display on your product page.

Tools and resources

Use Xcode 12 and these resources to build apps for macOS Big Sur.

Developer(s)Nils Adermann,
Jordi Boggiano
Initial releaseMarch 1, 2012; 9 years ago[1]
Stable release
Written inPHP
Operating systemCross-platform
TypePackage manager
LicenseMIT License

Composer is an application-level package manager for the PHPprogramming language that provides a standard format for managing dependencies of PHP software and required libraries. It was developed by Nils Adermann and Jordi Boggiano, who continue to manage the project. They began development in April 2011 and first released it on March 1, 2012.[1] Composer is strongly inspired by Node.js's 'npm' and Ruby's 'bundler'.[3] The project's dependency solving algorithm started out as a PHP-based port of openSUSE's libzypp satsolver.[4]

Composer runs from the command line and installs dependencies (e.g. libraries) for an application. It also allows users to install PHP applications that are available on 'Packagist'[5] which is its main repository containing available packages. It also provides autoload capabilities for libraries that specify autoload information to ease usage of third-party code.


Install composer mac brew


Composer offers several parameters including :[6]

  • require: add the library in parameter to the file composer.json, and install it.
  • install: install all libraries from composer.json. It's the command to use to download all PHP repository dependencies.
  • update: update all libraries from composer.json, according to the allowed versions mentioned into it.
  • remove: uninstall a library and remove it from composer.json.

Libraries definition[edit]

Example of composer.json generated by the following command:


The different authorized versions of the libraries are defined by:[7]

SymbolRole (placed before a version number)Example
>=allows to extend the number. Moreover, we can use: >, <, <=.'php': '>=5.5.9' includes PHP 7.
!=excludes a version.
-defines a range of versions.
¦¦add possibles versions.'symfony/symfony': '2.8 ¦¦ 3.0' regroups only these two versions.
*extends to all subversions.'symfony/symfony': '3.1.*' includes the 3.1.1.
~extends to the next versions of the same level.'doctrine/orm': '~2.5' also concerns the 2.6, but neither the 2.4 nor the 3.0.
^same as tilde, only if there is a backward compatibility.

Install Composer Mac Globally

Supported frameworks[edit]

  • Symfony version 2 and later
  • Laravel version 4 and later
  • CodeIgniter version 3.0 and later
  • CakePHP version 3.0 and later
  • FuelPHP version 2.0 and later
  • Drupal version 8 and later
  • TYPO3 version 6.2 and later
  • SilverStripe version 3.0 later
  • Magento version 2.0 later
  • Yii version 1.1 and later
  • Zend Framework version 1 and later

See also[edit]

Install Composer Mac Brew


  1. ^ abSoftware release,, Retrieved April 24, 2016.
  2. ^'Composer'. Retrieved Apr 26, 2021.CS1 maint: discouraged parameter (link)
  3. ^Getting Started/Dependency management,, Retrieved November 28, 2013.
  4. ^'composer/composer'. Jun 23, 2020. Retrieved Jun 24, 2020 – via GitHub.CS1 maint: discouraged parameter (link)
  5. ^See
  6. ^'Command-line interface / Commands'.
  7. ^'Versions and constraints - Composer'.

External links[edit]

Brew Install Composer

Wikimedia Commons has media related to Composer (software).
  • Composer at Open Hub
Retrieved from ''