Besides php, you may also want to have composer installed on your system, composer is dependency manager for php, using composer you can add tons of php libraries to your web application. So this article is about installing composer on xubuntu 16.04.
The old way of installing composer is using curl, but we are not going to do that, because on xubuntu/ubuntu 16.04 composer become part of the official repository, that means you can install composer using apt-get command.
Step by step installing composer on xubuntu 16.04
- open command line on xubuntu, press CTRL + ALT + T
- run this command to install composer
sudo apt-get install composer
composer about
composer list
Now that you have composer installed, you can add new php library that needed on your current php application. You can also create new project for php framework such as laravel, slim, phalcon, etc.