Master And Replication Database on same singleton instance With PDO
Define the DB Hostnames, usernames, password
If you have already build all your code and don't whant to change it if you need now a read replication. This class know when to use the query on master or replication without changing anything actualy on production