GithubHelp home page GithubHelp logo

Comments (7)

gianarb avatar gianarb commented on July 19, 2024

hmm are you sure? I have tried this command now and work!

composer require zendframework/zftool:dev-master

from zftool.

lkiii avatar lkiii commented on July 19, 2024

Yes I am sure. I have tried it in clean new folder and it works, but I can't add it to my application.

from zftool.

gianarb avatar gianarb commented on July 19, 2024

mm I don't know, I have tried now this flow

git clone [email protected]/zendframework/ZendSkeletonApplication
cd ZendSkeletonApplication
composer require zendframework/zftool:dev-master

And work.. This is the output

15:09 $ git clone [email protected]:zendframework/ZendSkeletonApplication.git
Cloning into 'ZendSkeletonApplication'...
remote: Counting objects: 2547, done.
remote: Total 2547 (delta 0), reused 0 (delta 0), pack-reused 2547
Ricezione degli oggetti: 100% (2547/2547), 1.54 MiB | 677.00 KiB/s, done.
Risoluzione dei delta: 100% (1109/1109), done.
Checking connectivity... fatto.
✔ /tmp 
15:09 $ cd ZendSkeletonApplication/
✔ /tmp/ZendSkeletonApplication [master|✔] 
15:09 $ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev)
  - Installing zendframework/zendxml (1.0.0)
    Loading from cache

  - Installing zendframework/zendframework (2.4.2)
    Downloading: 100%         

zendframework/zendframework suggests installing doctrine/annotations (Doctrine Annotations >=1.0 for annotation features)
zendframework/zendframework suggests installing ircmaxell/random-lib (Fallback random byte generator for Zend\Math\Rand if OpenSSL/Mcrypt extensions are unavailable)
zendframework/zendframework suggests installing ocramius/proxy-manager (ProxyManager 0.5.* to handle lazy initialization of services)
zendframework/zendframework suggests installing zendframework/zendpdf (ZendPdf for creating PDF representations of barcodes)
zendframework/zendframework suggests installing zendframework/zendservice-recaptcha (ZendService\ReCaptcha for rendering ReCaptchas in Zend\Captcha and/or Zend\Form)
Writing lock file
Generating autoload files
✔ /tmp/ZendSkeletonApplication [master|✔] 
15:09 $ composer require zendframework/zftool:dev-master
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing zendframework/zenddiagnostics (v1.0.4)
    Loading from cache

  - Installing zendframework/zftool (dev-master 8bab848)
    Cloning 8bab848834bfc48fef2f4b3e874ddd3760fb9e0d

zendframework/zenddiagnostics suggests installing sensiolabs/security-checker (Required by Check\SecurityAdvisory)
zendframework/zenddiagnostics suggests installing symfony/yaml (Required by Check\YamlFile)
zendframework/zenddiagnostics suggests installing guzzle/http (Required by Check\GuzzleHttpService)
zendframework/zenddiagnostics suggests installing predis/predis (Required by Check\Redis)
zendframework/zenddiagnostics suggests installing videlalvaro/php-amqplib (Required by Check\RabbitMQ)
Writing lock file
Generating autoload files

I have seen this issue can you try to update your composer.phar? :)
Thanks..

from zftool.

lkiii avatar lkiii commented on July 19, 2024

First thing I did was updating composer. You are already using composer version 69210d5bc130f8cc9f96f99582a041254d7b9833.

My composer.json before running require zftool:

{
    "name": "zendframework/skeleton-application",
    "description": "Skeleton Application for ZF2",
    "license": "BSD-3-Clause",
    "keywords": [
        "framework",
        "zf2"
    ],
    "homepage": "http://framework.zend.com/",
    "require": {
        "zf-commons/zfc-base": "0.*",
        "zf-commons/zfc-user": "0.1.*"
    },
    "require": {
        "php": ">=5.3.3",
        "zendframework/zendframework": "~2.4",
        "zendframework/zend-developer-tools": "dev-master",
        "doctrine/doctrine-orm-module": "0.8.0",
        "doctrine/doctrine-module": "0.8.0",
        "zf-commons/zfc-user-doctrine-orm": "dev-master"
    }

}

And I have already checked that issue.

from zftool.

gianarb avatar gianarb commented on July 19, 2024

you have two require node :)

In my opinion you can try to use

{
    "name": "zendframework/skeleton-application",
    "description": "Skeleton Application for ZF2",
    "license": "BSD-3-Clause",
    "keywords": [
        "framework",
        "zf2"
    ],
    "homepage": "http://framework.zend.com/",
    "require-dev": {
        "zendframework/zend-developer-tools": "dev-master",
        "zendframework/zftool": "dev-master"
    },
    "require": {
        "php": ">=5.3.3",
        "zendframework/zendframework": "~2.4",
        "doctrine/doctrine-orm-module": "0.8.0",
        "doctrine/doctrine-module": "0.8.0",
        "zf-commons/zfc-user": "~1.0",
        "zf-commons/zfc-user-doctrine-orm": "dev-master"
    }
}

from zftool.

lkiii avatar lkiii commented on July 19, 2024

Thank you! I was trying to solve this issue for hours :)

from zftool.

gianarb avatar gianarb commented on July 19, 2024

eheh good! :) Can you close this issue please?

Thanks a lot!

from zftool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.