     # Command for namespaces
     atom.commands.add 'atom-workspace', 'atom-autocomplete-php:namespace': =>
         namespace.createNamespace(atom.workspace.getActivePaneItem())
+
+    # Command to test configuration
+    atom.commands.add 'atom-workspace', 'atom-autocomplete-php:configuration': =>
+        @testConfig(true)
 
     @writeConfig()
 

    if testResult.status = null or testResult.status != 0
      atom.notifications.addError(errorTitle, {'detail': errorMessage})
      return false

    return true


   * Tests the user's PHP and Composer configuration.
   * @return {bool}
  ###
  testConfig: (interactive) ->
    @getConfig()

    exec = require "child_process"
