Thursday, 15 July 2010

php - Code organization with laravel and several git repositories -


I am working on several projects but everyone connects to a REST web service.

I developed the first one using the larrez, and made some sections really useful to communicate with web services.

I would like to start another one, and of course, reuse the sections that were developed for the REST connection.

My problem is that my company wants to use several GIT directories for projects, and each should upload to a different spring project. Springlops are a bit like gitb, you can use your code GIT.

How do you proceed to avoid copy / paste and use the same larval code, but in different projects (and I think, in different places)?

I'm not sure I'm really clear, but do not hesitate to ask me for more information.

Thanks

Create your composer package and assign it to a different (private) How do you store in? As far as the composer is concerned, it is like any other package, so you want to see it:

Using a personal repository

Actually the same The solution allows you to work with yourself. Personal treasures in GitHub and BitBucket:

  {"requirement": {"seller / my-private-repo": "dev-master"}, "Repository": [{"Type": "Vcs", "url": "git@bitbucket.org: vendor / my-private-repo.git"}]}  

the sole GST is the setting of the SSH key for one requirement Client


No comments:

Post a Comment