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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:43:19+00:00 2026-06-14T19:43:19+00:00

I have just started to explore zf2 and trying to install modules. have downloaded

  • 0

I have just started to explore zf2 and trying to install modules. have downloaded zip for ZfcAdmin and ZfcUser and added them manually but no luck. I think it can be installed by using composer.phar but how I have skeleton application running perfectly.

I know php composer.phar self-update / install but how to write composer.json is my question

  • 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-14T19:43:20+00:00Added an answer on June 14, 2026 at 7:43 pm

    You open the composer.json file with a text-editor of your choice. Then you’ll be able to see the json formatted data, that will be passed to composer.phar

    If you wish to add new modules, you’ll see the require: {} block, to which you simply add the namespaces/modules you wish to include. For example extend your composer.json to something like this:

    "minimum-stability": "alpha",
    "require": {
        "php": ">=5.3.3",
        "zendframework/zendframework": "2.*",
        "zendframework/zend-developer-tools": "dev-master",
        "doctrine/doctrine-orm-module": "0.*"
    }
    

    Seeing this i install both zend-developer-tools and zendframework from the zendframework Git-Repositories and additionally i install doctrine-orm-module from doctrine-repository.

    A little catch: Some repositories / modules are under heavy development and there will be no stable version yet. Personally i run with the additional parameter "minimum-stability": "alpha", to tell composer to include all alpha repositories for downloading.

    If you just need a single alpha-version, you’d much likely need to re-write the composer.json a couple of times.

    Last but not least, php composer.phar update will do the trick and you’ll always be up to date with the repositories.

    Some additional notes for windows users

    • Sometimes Write-Permissions may be missing from command line. You can change this by running the command line with administrator privileges.
    • If the PHP Command is not found, you may need to add the PATH to the PHP-Executable into your Environment-Variable PATH
    • I wrote a detailed blog-post on how to keep ZF2 running via command line with git for windows 7 myself, so far this has covered most problems, you may want to check out my Blogpost

    Hope this gets you running 😉

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

Sidebar

Related Questions

I have just started learning python version 3 and trying to create a file
I'm used to old-style C and and have just recently started to explore c99
we have just started using a git account of our Django website project so
I have just started using RSpec and I copied the very simple test on
I have just started implementing ISet 's instead of IList 's in my project
I have just started leaning and working on xquery with java. I have a
I have just started to learn how to code iOS apps. I have made
I have just started on event bubbling in jQuery so my understanding is very
I have just started using flexigrid and wanted to use the resource string to
I have just started studying node.js and express, the documentation of express on the

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.