Creating a Project from Downloaded Files
From time to time, you may need to update externally created and uploaded to a remote host with access through the FTP/SFTP/FTPS/WebDAV protocol, network share, or mounted drive. PhpStorm does not support direct editing of files on remote hosts. Therefore to work with remote sources in PhpStorm, you need to download them and arrange them in a PhpStorm project. To keep your local and remote or shared sources synchronized, you can configure automatic upload using the Upload changed files automatically to the default server list in the Options dialog
PhpStorm interacts with the remote host where the files are located according to a server access configuration. You can use an appropriate existing configuration or define a new one during project creation, see Deploy your application for details.
Creating a Project from Downloaded Sources
Configure synchronization with this remote host, see Configure synchronization with a server.
Download the required sources and arrange them in a PhpStorm project on the fly, see Creating a Project from Downloaded Files.