Today we’ll introduce a new convenient package to manage your SSH authorized_keys file via PHP. If you want to manage SSH keys on a remote server, you’d usually use ssh-copy-id to add your public SSH key to the authorized_keys file on the server. This is actually nice since it will ask you for a password for […]
Static method calls are sometimes necessary due to an existing API or because there is no alternative like injectable services. This makes them basically impossible to mock for unit testing.