added require library to composer.json