Update dependencies in composer.json

Updated the dependencies in composer json to be compatible with both 4.*
versions or Laravel.