title: Running gearman Worker PHP code in multiple machines
body: <p>Im using multiple workers in my localhost Gearman server machine, where is all my code. 
  Im thinking, if i run this worker elsewhere i must need to move all the the libraries im using to perform this task. Am i right?</p>
  
  <p>Example: In this script im using FILE Class that also uses multiple libraries inside it. </p>
  
  <pre><code>namespace app\controllers;
  use app\file\File;
  
  require_once 'vendor/autoload.php';
  
  $worker = new \GearmanWorker();
  $worker-&gt;addServer();
  
  $worker-&gt;addFunction('parse_file', function($job){
      echo "entrou no add function!&lt;br&gt;";
      print_r ($job-&gt;workload());
      sleep(2);
      new File($job-&gt;workload()); # this class parses the files content in database
  });
  
  while($worker-&gt;work())
  {
    if ($worker-&gt;returnCode() != GEARMAN_SUCCESS)
    {
      echo "return_code: " . $worker-&gt;returnCode() . "\n";
      break;
    }
  }
  </code></pre>