原文地址:https://blog.csdn.net/qq_21326433/article/details/82597041
1、安装phpstorm,安装包请自行官网下载
[http://www.jetbrains.com/phpstorm/download/](http://www.jetbrains.com/phpstorm/download/)
2、下载JetbrainsCrack.jar文件,存放至你的phpstorm执行文件同级目录下 https://github.com下载JetbrainsCrack.jar
例如我的执行文件目录为:D:\Program Files\JetBrains\PhpStorm 2018.1\bin\phpstorm.exe
JetbrainsCrack.jar文件存放地址:D:\Program Files\JetBrains\PhpStorm 2018.1\bin\JetbrainsCrack.jar
3、phpstorm执行文件同级目录找到phpstorm.exe.vmoptions,phpstorm64.exe.vmoptions文件并编辑(两个文件可同时添加,也可根据系统需求自己选择相应文件)
在文件末尾追加代码,引入JetbrainsCrack.jar文件:
-javaagent:D:\Program Files\JetBrains\PhpStorm 2018.1\bin\JetbrainsCrack.jar
4、启动phpstorm,注册时选择Activation code,将以下内容复制到编辑框,点击OK
ThisCrackLicenseId-{
"licenseId":"ThisCrackLicenseId",
"licenseeName":"Admin",
"assigneeName":"",
"assigneeEmail":"Lycan@gmail.com",
"licenseRestriction":"Admin",
"checkConcurrentUse":false,
"products":[
{"code":"II","paidUpTo":"2099-12-31"},
{"code":"DM","paidUpTo":"2099-12-31"},
{"code":"AC","paidUpTo":"2099-12-31"},
{"code":"RS0","paidUpTo":"2099-12-31"},
{"code":"WS","paidUpTo":"2099-12-31"},
{"code":"DPN","paidUpTo":"2099-12-31"},
{"code":"RC","paidUpTo":"2099-12-31"},
{"code":"PS","paidUpTo":"2099-12-31"},
{"code":"DC","paidUpTo":"2099-12-31"},
{"code":"RM","paidUpTo":"2099-12-31"},
{"code":"CL","paidUpTo":"2099-12-31"},
{"code":"PC","paidUpTo":"2099-12-31"}
],
"hash":"2911276/0",
"gracePeriodDays":7,
"autoProlongated":false}
5、大功告成