Skip to content

Instantly share code, notes, and snippets.

In code we trust

Bruno Rodrigues bruno-rodrigues

In code we trust
  • Sydney, Australia
View GitHub Profile
reinink / bootstrap.php
Created Feb 20, 2014
Using illuminate/container outside of Laravel
View bootstrap.php
// Vendor includes
include $config->base_path . '/libraries/Vendor/autoload.php';
// Include configuration file
$config = include('../config.php');
// Create IoC container
$ioc = new \Illuminate\Container\Container;