Simple script to clone PhpStorm project settings from a template project to a new checkout
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

A quick, basic script to clone project settings for a PhpStorm project from an initial template project to a new project (stored in a templateProject folder). To create a template project, start a new project named templateProject and apply any settings you like.

##Usage: newProjectName

Your project name is the name of the folder into which your code has just been checked out. For instance, if I have code in directories like this:

  • templateProject
  • ticket1
  • ticket2

And I check out a new branch, ticket3...

  • templateProject
  • ticket1
  • ticket2
  • ticket3

I'd use ticket3

to create a PhpStorm project out of the files in the ticket3 folder, copying all the settings from my templateProject.