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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T22:54:03+00:00 2026-06-16T22:54:03+00:00

We created a ZF2 project with skeleton app and it works fine for a

  • 0

We created a ZF2 project with skeleton app and it works fine for a simple test application. Now we are working on a real project. My question is what we should store in the repository (SVN), the whole project structure or just the new source code? ZF2 comes with a vendor directory which is almost 31MB in size (which has the ZF libraries). Should we store the whole vendor folder in SVN?

This is the first time we are using PHP and ZF so are not clear in how we will deliver the complete project to production from SVN. Also what is the build process if at all exists. Any clues/links to “ZF2 project packaging” is appreciated.

  • 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-16T22:54:04+00:00Added an answer on June 16, 2026 at 10:54 pm

    No, don’t include dependencies in your repository! Putting your dependencies under version control doesn’t do any good, it just blows up your repo for no reason.

    You want to add the skeleton to your repository and your own library but definitely not the framework or any other dependencies.

    The way to go is to use composer for dependency installation and some kind of build tool like Phing to automate installation of your project.

    See the relevant chapter on phptherightway for more information on how to build your application.

    The most simple build process doesn’t even need a build tool

    • checkout your project from SVN/git
    • run php composer.phar install to install the needed dependencies (defined in your composer.json)

    But most probably you want to do some more stuff like setup up the environment, deleting some files, etc.

    A word about ZF packages. They’re not available from packagist but you can install them with composer anyways. You just have to add the dedicated repository to your composer.json as described here: http://framework.zend.com/downloads/composer

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

Sidebar

Related Questions

I just created a ZF2 application from Zend Skeleton Application. The default routing of
Having created my first iOS app as part of my MSc project I now
Created a Location alarm based app. Everything is working fine on emulator. But the
I'm working on an application using ZF2. In my application, I have to insert
I already developed with ZF1, now I'm playing with ZF2. I have already working
Created a test app using Eclipse to get the authToken from one of my
Created a ASP.Net MVC3 application with DI container and using StructureMap. Everything works in
Created an empty project in Xcode, which merely sets up the App Delegate with
Created project with Spring, Hibernate & Maven. My question is what is the logic
I've created my code as ZF2 pushes you to do it and now I'm

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.