Updated the doc

- Fixed the documented composer requirement
- Added the syntax highlighting on all code snippets