Update syntax and dependencies in composer.json