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 7815737
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T05:36:51+00:00 2026-06-02T05:36:51+00:00

I have a cakephp project. Let us call it Project Super . It has

  • 0

I have a cakephp project. Let us call it Project Super.

It has its own github repo.

Super has git submodule that pulls from this repo. https://github.com/predominant/TwigView

The issue is that I need to have my own project specific extensions, so I need to create new files in the Lib folder of https://github.com/predominant/TwigView and I need to add require_once statements inside the file View/TwigView.php of https://github.com/predominant/TwigView

I want to maintain the git submodule as much as I can.

I know I can fork the https://github.com/predominant/TwigView and add the project specific extension files and changes.

Super would then have this forked version as git submodule.

However, I am not pleased with that because that means

  1. it is slightly harder to update the forked version from its upstream
  2. I need to have 1 forked version per project.

What would be the cleanest, and easily maintainable way to use https://github.com/predominant/TwigView as a git submodule in Project Super and other cakephp projects?

  • 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-02T05:36:53+00:00Added an answer on June 2, 2026 at 5:36 am
    1. no, it should be that much harder to update your forked project.
      If you just add upstream (original TwigView repo) as a remote, you can pull any changes from upstream to your local submodule, and push back to your fork.
      (as described in “Pull new updates for forked Github repository“)
      Granted, it is slightly harder, but is the recommended workflow.
    2. Why one fork per repo?
      The idea behind a fork is to gain publication privileges (you can push to a fork because you own it).
      Why not push to a branch-per-project within the unique TwigView fork?
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently been assigned a CSS & design project that's in a CakePHP
I have a Cakephp project the controller has several different methods. function Index() function
I have hosted my cakePhp project on hostgator. Its not able to retrieve data
I have a CakePHP project where I modified app/config/routes.php so that the root points
i have a project i took over. it is an app that has been
I just started using CakePHP for a small project. I have rails experience, and
I have a CakePHP app that is being moved to Sql Server from MySql.
Let me preface by saying this is the first live cakephp project for me.
I've started a project in CakePHP. I have no experience of it, most of
I have a simple cakephp form WITH validation that submits to a database. It

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.