Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8724333
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:48:29+00:00 2026-06-13T07:48:29+00:00

I am trying to get on the Composer / Packagist train, and to that

  • 0

I am trying to get on the Composer / Packagist train, and to that end, I am trying to make sense of the best way to manage my workflow so that I can create composer pacakges with my framework of choice and application but damned if I can sort out a way to do it with Git/Github or Hg/BitBucket (or both).

Current Structure/Workflow

%path%/sites/[framework]
 - contains up to date framework git repo  
%path%/sites/[framework]/application
 - contains app specific code and is a bitbucket repo
*%path%/www/[appname]_public
 - contains public files and is a bitbucket repo i.e. "public_html" folder  

With properly aliasing, this works for my current sites (each site is a separate folder in “/sites”). And since I use two separate repo mechanisms, I can update the framework for that particular site whenever I want without it really hurting my application and vice versa.

Since the packages are contained as subfolders of the “application” folder (so I can create and test them), how can I “wrap” those folders as packages as separate repos so that I can provide them as standalone composer packages available on github or bitbucket? I am kind of at a loss.

%path%/sites/[framework]/application/[module]
 - contains controllers, models, views, etc... to be wrapped up as a composer
   "package" and made available on github or bitbucket as its own repo.

Perhaps someone here can give me a hand with the logic on this, or how to set it up, as I can’t fathom how to do it. Is it possible? Am I over/under thinking the issue?

Maybe my whole way of thinking is wrong. With my existing structure I was trying to accomplish the task, but Git Submodules or HG nested repos don’t seem to work the way I had anticipated.

Is my workflow seriously flawed or do I need more Git knowledge to accomplish this? Is there an easier / better way? I will happily rebuild my structure/workflow if I can keep the Framework / SiteApplicationCode / Packages as separate repos with some mechanism / logic I am missing.

Thanks in advance for any assistance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T07:48:31+00:00Added an answer on June 13, 2026 at 7:48 am

    %path%/sites/[framework]/application/[module] should be a git repository that you share with others by pushing it to some public (public to your company only if you want) location, say git.yourcompany.com .

    Then, you may create a satis composer repository accessible at satis.company.com, that you will initialize with a json file referencing your public repositories. Make sure you a create composer.json file for each of your modules first, to make them composer-installable.

    Then, reinstall your project using a composer.json file per application, that will fetch the desired modules at the desired version.
    They will appear in %path%/sites/[framework]/application/vendor/ and an autoload file will be generated.

    If your code can be published on github, you can skip the git+satis part and submit your modules to packagist.org

    I may have misunderstood your structure, but I hope you get the idea

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create a custom patch for Quartz Composer that will function just
Trying to get this expression to work, can someone look at it and tell
I'm trying to run composer using a local SVN repo, I can hit the
Im trying to create a Value Proxy (BrowserDetailItem ) that is formed of a
I am trying to create a WPF application that will be a central point
I'm trying to install doctrine 2.0 with composer. that's the tutorial i'm doing right
i have this pretty well known script that i am trying to get working,
I have been researching around trying to find the best way to begin developing
I'm trying to set up an application that includes groups that can be composed
I'm trying to get jQuery autocomplete working. The problem is that my json array

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.