I want to write code by connecting to the cPanel server, how can I do this?

Hello friends, I want to connect to my cpanel hosting and update the database operations and files directly in cpanel hosting instead of localhost xampp. How can I do this?