Automating the process with Composer

How to Automate the process with Composer ?