
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
vagrant-phpstorm-tunnel
Advanced tools
vagrant-phpstorm-tunnel
installs a proxy php binary which can be configured as a php-interpreter in PhpStorm.
It will forward all php calls to php
in the Vagrant VM.
This is a workaround for a missing feature in PhpStorm (see http://youtrack.jetbrains.com/issue/WI-19485).
vagrant plugin install vagrant-phpstorm-tunnel
You can configure your project_home
path within vagrant
machine. This is needed for proper paths mapping from PhpStorm
during debugging (please have a look also section below).
Also you can configure prefix for each command executed into VM. For example you can prefix command with extra sudo
permissions like in example below.
Vagrant.configure('2') do |config|
(...)
config.phpstorm_tunnel.project_home = '/home/vagrant/fuboo'
config.phpstorm_tunnel.command_prefix = 'sudo'
end
By default the plugin assumes that your project is shared as /vagrant
in the VM. It will copy PhpStorm's helper-scripts into .idea/vagrant/tmp/
to make them accessible from within the VM.
vagrant-phpstorm-tunnel
will create a file .idea/vagrant/php
in your vagrant-project.
Select this file as a PHP interpreter in PhpStorm:
Add PHP server for your project
You should also export PHP_IDE_CONFIG
parameter into VM
environment with the same value as your PHP server name configured above
export PHP_IDE_CONFIG='serverName=www.fuboo.dev'
This is recommended to append above line to ~/.profile
file of your VM
FAQs
Unknown package
We found that vagrant-phpstorm-tunnel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.