Composer tips and tricks

Submitted by Greg Nowak on 2019-05-30

Composer without root

Run this in ~/composer: curl -sS https://getcomposer.org/installer | php

Put this in .bashrc: alias composer="php ~/composer/composer.phar"

Install Drupal 8 With Composer In Custom Web Folder

composer create-project drupal-composer/drupal-project:8.x-dev my_site_name_dir --no-interaction --no-install
Adjust web folder in composer.json file and then run "composer install".

Check available versions of a package

composer show package_name --available


Submitted by Greg Nowak on 2015-03-14


  • CodeIgniter POS
  • Development and optimization of a custom built Point of Sales (POS) system in the PHP framework Code Igniter.
  • Transferwise API
    • Building an API to Transferwise to monitor and optimize currency exchange rates and transfers.
  • JavaFX 14, PostgreSQL, and PGadmin4.
    • Creating PostgreSQL database with trigger functions and creating a JavaFX interface to load and reload the contents of the database.