ensure composer and db config