services/pheanstalk.php
#!/usr/bin/php
<?php
$config = [
'git_urls' => ['https://github.com/pda/pheanstalk.git' => 'pheanstalk/'],
'autoload_config' => ['pheanstalk/src/' => 'Pheanstalk'],
'example' => function () {
$pheanstalk = new Pheanstalk\Pheanstalk('127.0.0.1');
var_dump($pheanstalk);
},
];
if ($return_config) {
return $config;
} require_once __DIR__ . '/_yf_autoloader.php'; new yf_autoloader($config);