php – how can I make changes from the pc to a real-time hosting?

I have a project that I made years ago and they asked me to make changes in the site but I want to make the changes in real time, I mean without uploading files by filezilla.

$ conectors = array (
    'host' => 'host',
    'user' => '',
    'pass' => 'password',
    'DB_PV' => 'sales',