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

  • Home
  • SEARCH
  • 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 7914399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T14:06:03+00:00 2026-06-03T14:06:03+00:00

So far, the bundles I’ve used for Symfony2 has been installed modifying the deps

  • 0

So far, the bundles I’ve used for Symfony2 has been installed modifying the deps file and then running the command bin/vendors install, but for this bundle (WhiteOctoberPagerfantaBundle) the installation process is made using git submodule add command which I don’t fully understand.

git submodule add http://github.com/whiteoctober/Pagerfanta.git vendor/pagerfanta
git submodule add http://github.com/whiteoctober/WhiteOctoberPagerfantaBundle.git vendor/bundles/WhiteOctober/PagerfantaBundle

I assume that this command retrieves the master version of both libraries, but the documentation says that if I’m using Symfony 2.0.x (which is my case) I should get the symfony2.0 branch:

“Note: If you are using a 2.0.x release of Symfony2, please use the symfony2.0 branch of this bundle. The master branch of this bundle tracks the Symfony2 master branch.”

How should I modify the git commands to get the symfony2.0 branch instead of the master? Why some bundles are installed using the deps files while others uses git submodules? What is the difference?

  • 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-03T14:06:05+00:00Added an answer on June 3, 2026 at 2:06 pm

    You can still use bin/vendors and the deps system to install these bundles/vendors

    in deps

    [Pagerfanta]
        git=http://github.com/whiteoctober/Pagerfanta.git
        target=/pagerfanta
    
    [WhiteOctoberPagerfantaBundle]
        git=http://github.com/whiteoctober/WhiteOctoberPagerfantaBundle.git
        target=/bundles/WhiteOctober/PagerfantaBundle
        version=origin/symfony2.0
    

    And re-run bin/vendors install

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

Sidebar

Related Questions

So far and thanks to this website, I've been able to set up an
I have been trying to setup Symfony2 on Windows so that I can use
In the Settings.bundle file in Resources group, so far, I have only a PSGroupSpecifier
I have been building a single page app using requireJS and so far loving
My Rails application is running so far and I decided to add the 'devise'
In my standard Symfony2-app I'm having a bunch of bundles with some entities. Some
Here is my image gallery code. So far, for testing purpose I directly used
I have an Eclipse feature which includes several bundles. I want to tell p2
I created an eclipse run configuration for a number of bundles. One of the
I LOVE cucumber, my clients love it too. As far as I know currently

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.