Skip to content

Instantly share code, notes, and snippets.

@alexbilbie
Created March 30, 2013 13:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexbilbie/5276773 to your computer and use it in GitHub Desktop.
Save alexbilbie/5276773 to your computer and use it in GitHub Desktop.
Laravel 3 autoload Composer
# Add after $paths['public']
// --------------------------------------------------------------
// The path to the composer vendors directory.
// --------------------------------------------------------------
$paths['composer'] = 'vendor';
# Add after require '../paths.php';
// --------------------------------------------------------------
// Autoload composer vendors.
// --------------------------------------------------------------
require path('composer').'autoload.php';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment