Blog Spameri

My development blog about PHP, Nette Framework, ElasticSearch or occasional short tips.

Project maintained by Spamercz Hosted on GitHub Pages — Theme by mattgraham

How to install composer and make alias for it.


In case you dont have php7. How to install php7

1. Execute php code from

Assuming we are in directory /home/spamer/.

2. Create alias

alias composer='/home/spamer/composer.phar'

Now you can composer anywhere.

Back to index RSS

Posted: 26 Jan 2017