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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:23:25+00:00 2026-06-11T23:23:25+00:00

when you use the zend skeleton to start your new project and composer to

  • 0

when you use the zend skeleton to start your new project and composer to install packages it recommends this:

    "doctrine/common": "Doctrine\\Common >=2.1 for annotation features",

    "ext-intl": "ext/intl for i18n features",

    "pecl-weakref": "Implementation of weak references for Zend\\Stdlib\\CallbackHandler",

    "zendframework/zendpdf": "ZendPdf for creating PDF representations of barcodes",

    "zendframework/zendservice-recaptcha": "ZendService\\ReCaptcha for rendering ReCaptchas in Zend\\Captcha and/or Zend\\Form"

I could install the zendpdf, zendservice-recaptcha and doctine/common package but not the PECL ones.

I think it’s a little sad that zf2 suggest the packages, but leaves users alone with, how to properly configure the composer.json.

I heard composer could also get PECL packages, but couldn’t find any documentation on it.

How do I install them?

  • 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-11T23:23:26+00:00Added an answer on June 11, 2026 at 11:23 pm

    To install the suggested packages, modify composer.json to include them.

    "repositories": [
        {
            "type": "composer",
            "url": "http://packages.zendframework.com/"
        }
    ],
    "require": {
        "php": ">=5.3.3",
        "zendframework/zendframework": "2.*",
        "doctrine/common": "dev-master",
        "zendframework/zendpdf": "2.*",
        "zendframework/zendservice-recaptcha": "2.*"
    }
    

    Then run

    php composer.phar update
    

    Note: that composer installs doctrine/common by using

    git clone http://github.com/doctrine/common
    

    On Windows git needs to be in your PATH environment variable.

    Regarding ext/intl, this extension is bundled with PHP as of PHP version 5.3.0. and can be found in the ext/ folder of your php installation.[1]

    To enable, uncomment (remove the semi-colon before the directive) it in php.ini

    extension=php_intl.dll
    

    Regarding pecl-weakref, this is also a PHP extension however this is not bundled with php and needs to be installed. More information on how to do that can be found at http://php.net/manual/en/install.pecl.php

    A DLL for this PECL extension is currently unavailable. See also the
    building on Windows section. [4]

    [1] http://php.net/manual/en/intl.requirements.php

    [2] http://php.net/manual/en/weakref.installation.php

    [3] http://php.net/manual/en/install.pecl.intro.php

    [4] http://php.net/manual/en/install.pecl.windows.php

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

Sidebar

Related Questions

In our project we use Zend Framework Model generator, which produces something like this
I have a Zend Framework project using version 1.10.8 with Doctrine 1.2.4.I use Zend_Auth
I use Zend framework with doctrine for a project , the problem is that
I'm currently working on a project where I use Zend Framework with Propel. I'm
Can I use zend Registry to save variable to use in other controller? this
This article explains how to use Zend in Codeigniter. http://www.beyondcoding.com/2008/02/21/using-zend-framework-with-codeigniter/ I am using XAMPP
I use Zend-Form to generate my forms in my project. First: How do you
I use Zend framework and Doctrine. In many projects, business logic is built into
I use zend's JSON helper, and I have a problem... When I use this
I use Zend Framework and have the following custom file (this is the only

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.