
This will fetch a list of all repositories that we can access using our account and allows us to clone those into a PhpStorm project:Īfter clicking the Clone button, we’ll have the entire repository contents available locally and can code away. Why not clone a project from GitHub right from within PhpStorm?įrom the VCS menu, we can use the Checkout from Version Control | GitHub command. Another approach would be memorizing the repository URL and cloning that. What if we want to continue working on an existing project hosted on GitHub? Typically, we would have to open a browser and navigate to the repository website to copy the URL we can clone using Git. There we go: our project is now available on GitHub and we haven’t left our IDE! From now on we can use any other command from the VCS menu as described in this post. After doing that, click the Share button. PhpStorm will then ask us to provide a repository name and description. Once our project is ready to be published on GitHub, we can use the VCS | Import into Version Control | Share project on GitHub menu item to start publishing the project. Do you start coding and then push the initial code to GitHub? Or do you create a project on GitHub, clone it locally and then start coding? Depending on what you like for breakfast (chicken or egg), PhpStorm supports both, right from the IDE. Whenever you want to start a new project on GitHub, there’s always a bit of a chicken-egg problem. Doing this ensures that you don’t have to provide your GitHub account details every once in a while. It’s also best to make sure that you have registered your GitHub account credentials or signed up for a GitHub account through PhpStorm.
#Phpstorm github how to
Refer PhpStorm web help on how to do this (“prerequisites”). Before we start, make sure that PhpStorm knows the path to your Git executable. This functionality is available in IntelliJ Idea, P圜harm, WebStorm, PhpStorm, RubyMine, and AppCode. More on these features can be found in our earlier VCS overview post.
#Phpstorm github update
Next to those actions, PhpStorm provides full support for the Git VCS like commit and update file/directory or an entire project, changelists, revision support and so forth.

In this post, we’ll explore several integrations with GitHub that are available from within your IDE:


A very popular VCS is Git, driven by the collaboration that’s possible using GitHub. In a previous post we saw how PhpStorm handles Version Control Systems (VCS).
