franzliedke / studio

A workbench for developing Composer packages.
MIT License
1.14k stars 73 forks source link

Autoload files #29

Closed tobyzerner closed 8 years ago

tobyzerner commented 9 years ago

Studio currently doesn't autoload files from the packages that it manages. See https://github.com/franzliedke/studio/blob/master/src/Composer/StudioPlugin.php#L55

In Flarum we have some temporary code (in bootstrap.php) to work around this by loading the files we need manually.

Just creating an issue so this doesn't get forgotten :)

franzliedke commented 8 years ago

I just pushed a commit that should fix this issue.

Managed packages will not be hacked into the autoloader files anymore, but instead they will be symlinked into the vendor dir. Composer already provides this for free using path repositories. :)