You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running "composer install" or "composer update", Studio will now
register its managed packages as "path repositories". This way, Composer
will not search for these packages on Packagist, but instead symlink them
into the vendor dir of the main project.
See https://getcomposer.org/doc/05-repositories.md#path.
Closes#14, #29.
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. :)
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 :)
The text was updated successfully, but these errors were encountered: