Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP/Composer Projects with root + package git repositories #2963

Open
mneuhaus opened this issue Jan 22, 2025 · 1 comment
Open

PHP/Composer Projects with root + package git repositories #2963

mneuhaus opened this issue Jan 22, 2025 · 1 comment

Comments

@mneuhaus
Copy link

Issue

I’m working on a larger PHP/Symfony application where the main project resides in a single Git repository, but I also have additional packages managed by Composer in the vendor/ folder. Each of these packages is its own separate repository. When I run Aider on the main project, it only has knowledge of the code in that top-level repository and doesn’t map or understand these external packages.

I’d like to know if there’s a recommended workflow or best practice for handling multi-repo setups so that Aider can incorporate (or at least reference) these Composer-managed vendor packages. Specifically, I want Aider to be aware of and possibly refactor or suggest changes that involve code in those vendor packages as well.

Questions

Does Aider currently support scanning/updating multiple separate Git repositories in a single project context?
Are there recommended approaches, such as Git submodules or combining repos, to make Aider “see” the vendor packages?
Any best practices, tips, or known approaches for similar Composer-based multi-repo Symfony/PHP projects?
Thank you!

Version and model info

No response

@paul-gauthier
Copy link
Collaborator

Thanks for trying aider and filing this issue. This doc may be helpful:

https://aider.chat/docs/faq.html#can-i-use-aider-with-multiple-git-repos-at-once

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants