php - Code organization with laravel and several git repositories -
i working on several projects each 1 connects rest web service.
i've developed first 1 using laravel, , developed few classes useful communicate web services.
i start second one, , of course, reuse classes developed rest connection.
my problem is, company wants me use several git directories projects, , each 1 should uploaded different springloops project. springloops bit github, can upload code using git.
how proceed avoid copy/paste , use same laravel code in different projects (and guess, in different locations)?
i'm not sure i'm clear, don't hesitate ask me more information if need to.
thanks.
how creating own composer package , store in separate (private) git repo? far composer concerned it's other package, may want check out this section of docs:
using private repositories
exactly same solution allows work private repositories @ github , bitbucket:
{ "require": { "vendor/my-private-repo": "dev-master" }, "repositories": [ { "type": "vcs", "url": "git@bitbucket.org:vendor/my-private-repo.git" } ] }
the requirement installation of ssh keys git client.
Comments
Post a Comment