Skip to content

Instantly share code, notes, and snippets.

@dlancea
dlancea / WSSoapClient.php
Created April 17, 2019 14:02 — forked from Turin86/WSSoapClient.php
WS-Security for PHP SoapClient
<?php
/**
* This class can add WSSecurity authentication support to SOAP clients
* implemented with the PHP 5 SOAP extension.
*
* It extends the PHP 5 SOAP client support to add the necessary XML tags to
* the SOAP client requests in order to authenticate on behalf of a given
* user with a given password.
*
@dlancea
dlancea / config.fish
Last active December 18, 2015 19:56 — forked from schaary/ssh_agent_start.fish
Setup fish shell to auto-start ssh_agent
# Goes in ~/.config/fish/config.fish
# Start SSH agent
setenv SSH_ENV $HOME/.ssh/environment
start_agent