To install click the Add extension button. That's it.

The source code for the WIKI 2 extension is being checked by specialists of the Mozilla Foundation, Google, and Apple. You could also do it yourself at any point in time.

4,5
Kelly Slayton
Congratulations on this excellent venture… what a great idea!
Alexander Grigorievskiy
I use WIKI 2 every day and almost forgot how the original Wikipedia looks like.
What we do. Every page goes through several hundred of perfecting techniques; in live mode. Quite the same Wikipedia. Just better.
.
Leo
Newton
Brights
Milds

Composer (software)

From Wikipedia, the free encyclopedia

Composer
Developer(s)Nils Adermann,
Jordi Boggiano
Initial releaseMarch 1, 2012; 12 years ago (2012-03-01)[1]
Stable release
2.7.2[2] Edit this on Wikidata / 11 March 2024; 29 days ago (11 March 2024)
Repository
Written inPHP
Operating systemCross-platform
TypePackage manager
LicenseMIT License
Websitegetcomposer.org

Composer is an application-level dependency manager for the PHP programming 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 SAT solver.[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.

YouTube Encyclopedic

  • 1/5
    Views:
    36 185
    8 131
    81 975
    11 056
    6 808
  • Music Theory won't make you a Composer
  • TECH: dB Technologies Composer Software Overview for DVA T12 T8 T4 S30 Mini VIO
  • The DAW All Media Composers Must Learn
  • Review - music composer software for beginners
  • Roland TR-808 Software Rhythm Composer Overview

Transcription

Syntax

Commands

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

Example of composer.json generated by the following command:

composer require monolog/monolog
{
    "require": {
        "monolog/monolog": "1.2.*"
    }
}

Versions

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

Symbol Role (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.
* 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.

Supported frameworks

See also

References

  1. ^ a b Software release, github.com, Retrieved April 24, 2016.
  2. ^ "Release 2.7.2". 11 March 2024. Retrieved 22 March 2024.
  3. ^ Getting Started/Dependency management, getcomposer.org, Retrieved November 28, 2013.
  4. ^ "composer/composer". Jun 23, 2020. Retrieved Jun 24, 2020 – via GitHub.
  5. ^ See packagist.org
  6. ^ "Command-line interface / Commands". getcomposer.org.
  7. ^ "Versions and constraints - Composer". getcomposer.org.

External links

This page was last edited on 20 March 2024, at 23:52
Basis of this page is in Wikipedia. Text is available under the CC BY-SA 3.0 Unported License. Non-text media are available under their specified licenses. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc. WIKI 2 is an independent company and has no affiliation with Wikimedia Foundation.