Created
March 30, 2013 13:54
-
-
Save alexbilbie/5276773 to your computer and use it in GitHub Desktop.
Laravel 3 autoload Composer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add after $paths['public'] | |
// -------------------------------------------------------------- | |
// The path to the composer vendors directory. | |
// -------------------------------------------------------------- | |
$paths['composer'] = 'vendor'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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