{"id":15527096,"url":"https://github.com/aik099/phpstormprotocol","last_synced_at":"2025-04-05T21:10:31.902Z","repository":{"id":8267931,"uuid":"9720430","full_name":"aik099/PhpStormProtocol","owner":"aik099","description":"Custom protocol handler for the PhpStorm","archived":false,"fork":false,"pushed_at":"2023-08-22T17:19:35.000Z","size":473,"stargazers_count":304,"open_issues_count":8,"forks_count":64,"subscribers_count":14,"default_branch":"master","last_synced_at":"2024-05-22T17:33:12.332Z","etag":null,"topics":["phpstorm"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aik099.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2013-04-27T20:10:07.000Z","updated_at":"2024-05-15T10:14:09.000Z","dependencies_parsed_at":"2024-01-13T01:38:42.480Z","dependency_job_id":"d3cf00d9-07b0-47dd-ba88-8089ae220a54","html_url":"https://github.com/aik099/PhpStormProtocol","commit_stats":{"total_commits":39,"total_committers":17,"mean_commits":"2.2941176470588234","dds":0.717948717948718,"last_synced_commit":"aa95787bc430a1b7c017c65b7dffb10c4f2939e6"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aik099%2FPhpStormProtocol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aik099%2FPhpStormProtocol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aik099%2FPhpStormProtocol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aik099%2FPhpStormProtocol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aik099","download_url":"https://codeload.github.com/aik099/PhpStormProtocol/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247399885,"owners_count":20932880,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["phpstorm"],"created_at":"2024-10-02T11:04:25.598Z","updated_at":"2025-04-05T21:10:31.872Z","avatar_url":"https://github.com/aik099.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nOverview\n========\nThis app allows to use ```phpstorm://``` protocol to open a file in a [PhpStorm IDE](http://www.jetbrains.com/phpstorm/) the same way as it's done in [TextMate, (section 21.2)](http://manual.macromates.com/en/using_textmate_from_terminal.html).\n\nNOTE: Built-in ``idea://`` and ``phpstorm://`` protocols are supported in PhpStorm 8 EAP 138.190+\naccording to this [comment](https://youtrack.jetbrains.com/oauth?state=%2Fissue%2FIDEA-65879#comment=27-736256).\n\nFollowing string must be specified as an editor in your app:\n```bash\nphpstorm://open?url=file://%f\u0026line=%l\n```\n\nThe **Windows version** also supports opening a directory as project and files without specified line.\n\nAlternative syntax is supported for cross-platform compatibility with PhPStorm 8+ (Mac version)\n```bash\nphpstorm://open?file=%f\u0026line=%l\n```\n\nIf something doesn't work, then feel free to [submit an issue](https://github.com/aik099/PhpStormProtocol/issues/new) on GitHub.\n\n\nMore reading about protocol handlers: http://pla.nette.org/en/how-open-files-in-ide-from-debugger.\n\nInstalling on Linux\n===================\n\nA package for Arch Linux (Arch, Manjaro, Antergos, etc.) is available from the [AUR](https://aur.archlinux.org/packages/phpstorm-url-handler/).\nIf you're using other Linux distribution then follow these instructions:\n\n1. clone [https://github.com/sanduhrs/phpstorm-url-handler](https://github.com/sanduhrs/phpstorm-url-handler) repository\n2. go to cloned folder\n3. read installation instructions in [README.md](https://github.com/sanduhrs/phpstorm-url-handler/blob/master/README.md)\n4. delete cloned folder\n\nInstalling on Mac\n=================\nPlease follow instructions from the [this page](LinCastor.md) if the `PhpStorm Protocol.app` won't work as expected on your OS X version.\nPhpStorm 8+ (Mac version only) has built-in url handler and `phpstorm://open?file=%f\u0026line=%l` url needs to be used instead (see https://youtrack.jetbrains.com/issue/IDEA-65879).\n\n1. clone this repository\n2. go to cloned folder\n3. copy folder ```PhpStorm Protocol.app``` to ```/Applications/``` folder\n4. delete cloned folder\n\nInstalling on Windows\n=====================\n\n## Downloading \u0026 Installation\n\n1. clone this repository\n2. go to cloned folder\n3. copy folder ```PhpStorm Protocol (Win)``` to ```C:\\Program Files\\``` folder\n4. delete cloned folder\n5. double-click on ```C:\\Program Files\\PhpStorm Protocol (Win)\\run_editor.reg``` file\n6. agree to whatever Registry Editor asks you\n\n# Uninstallation\n\n1. double-click on ```C:\\Program Files\\PhpStorm Protocol (Win)\\uninstall.reg``` file\n2. agree to whatever Registry Editor asks you\n\n## Configuration\n\n### When using JetBrains ToolBox\n\n1. enable shell scripts in the JetBrains Toolbox configuration\n2. update settings at ```C:\\Program Files\\PhpStorm Protocol (Win)\\run_editor.js``` file:\n   #### run_editor.js:\n    ```js\n    // Set to PhpStorm shell script (filename ends with \"*.cmd\") from the \"C:\\Users\\%username%\\AppData\\Local\\JetBrains\\Toolbox\\scripts\" directory.\n    toolbox_shell_script: 'PhpStorm.cmd'\n    ```\n   #### updated run_editor.js\n   ```js\n    // Set to PhpStorm shell script (filename ends with \"*.cmd\") from the \"C:\\Users\\%username%\\AppData\\Local\\JetBrains\\Toolbox\\scripts\" directory.\n    toolbox_shell_script: 'pstorm.cmd'\n   ```\n\n### When not using JetBrains ToolBox\n\n1. update settings at ```C:\\Program Files\\PhpStorm Protocol (Win)\\run_editor.js``` file (because each PhpStorm version is installed into it's own sub-folder!):\n   #### run_editor.js:\n    ```js\n    // Set to folder name, where PhpStorm was installed to (e.g. 'PhpStorm')\n    folder_name: '\u003cphpstorm_folder_name\u003e',\n\n    // Set to window title (only text after dash sign), that you see, when switching to running PhpStorm instance\n    window_title: '\u003cphpstorm_window_title\u003e',\n    ```\n   #### updated run_editor.js\n   ```js\n   // Set to folder name, where PhpStorm was installed to (e.g. 'PhpStorm')\n   folder_name: 'PhpStorm 2017.1.4',\n\n   // Set to window title (only text after dash sign), that you see, when switching to running PhpStorm instance\n   window_title: 'PhpStorm 2017.1.4',\n   ```\n\n#### Working under another path?\n\nYou can make use of the [project alias settings](https://github.com/aik099/PhpStormProtocol/blob/master/PhpStorm%20Protocol%20(Win)/run_editor.js#L14-L17) in case you are working under a network share or Vagrant.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faik099%2Fphpstormprotocol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faik099%2Fphpstormprotocol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faik099%2Fphpstormprotocol/lists"}