Split database reads

Hi Team,

I want to split write and read database connections on master and slave databases servers respectively, Do we already have some solution for this, plugin or configuration setting that i can use

thanks in advance