Fix composer app issues with cake.php