update doc

I updated code presentation and add text to explain how to install it using composer.json