Skip to content

Instantly share code, notes, and snippets.

@caefer
Created September 29, 2011 13:13
Show Gist options
  • Save caefer/1250706 to your computer and use it in GitHub Desktop.
Save caefer/1250706 to your computer and use it in GitHub Desktop.
<?php
require_once __DIR__ . '/silex.phar';
$loader->register();
$app = new Silex\Application();
$app[ 'autoloader' ]->registerNamespaces(array(
'Symfony' => __DIR__ . '/../vendor',
'Caefer' => __DIR__,
));
$app->register(new Caefer\GoutteServiceProvider(), array(
'goutte.class_path' => 'phar://'.__DIR__.'/goutte.phar/src',
));
return $app;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment