[ Prev ] [ Index ] [ Next ]

Composer

Created Tuesday 05 December 2017


# Require additional PHP dependencies with Composer
# Composer has already been added to my dotfiles/$PATH, so it should work out the box
$ pacman -S composer


Usage

# Notice this search example with Twig, that you have to specify package/package in the require command
$ composer search twig


twig/twig Twig, the flexible, fast, and secure template language for PHP
twig/extensions Common additional features for Twig that do not directly belong in core
...


# See the twig/twig package - That's how you define it when installing it
$ composer require twig/twig