Change method of environment detection
Update readme and composer.json requirements