Code Monkey home page Code Monkey logo

Comments (11)

treehousetim avatar treehousetim commented on May 25, 2024 1

manually adding these lines to my composer.json require block removed this error.

"symfony/console": "^2.7|^3.0",
"symfony/dependency-injection": "^2.2|^3.0",
"symfony/config": "^2.2|^3.0",
"symfony/yaml": "^2.1|^3.0",

from xsd2php.

goetas avatar goetas commented on May 25, 2024

can you share your composer json?

from xsd2php.

treehousetim avatar treehousetim commented on May 25, 2024

{
"require": {
"goetas-webservices/xsd2php-runtime":"~0.2",
"goetas-webservices/xsd2php":"^0.3"
}
}

from xsd2php.

goetas avatar goetas commented on May 25, 2024

as you can see on

"symfony/console": "^2.7|^3.0",

the dependencies are there... so please check your composer installation

from xsd2php.

goetas avatar goetas commented on May 25, 2024

goetas-webservices/xsd2php is recommended as "dev" dependency.

from xsd2php.

treehousetim avatar treehousetim commented on May 25, 2024

I used the composer details from the readme:

There is one recommended way to install xsd2php via Composer:

adding the dependency to your composer.json file:
"require": {
..
"goetas-webservices/xsd2php-runtime":"^0.2.2",
..
},
"require-dev": {
..
"goetas-webservices/xsd2php":"^0.3",
..
},

But when that didn't work, I put them both into the require block.

from xsd2php.

goetas avatar goetas commented on May 25, 2024

closing the issue (IMO is just a some typo somewhere or similar...), we can continue the "debugging" on the closed issue if you have more details to add

from xsd2php.

treehousetim avatar treehousetim commented on May 25, 2024

that composer.json file you referenced is where I found the lines to add to my file. But still, I'm confused as to why they aren't part of the recommended composer.json on the readme.

from xsd2php.

goetas avatar goetas commented on May 25, 2024

But still, I'm confused as to why they aren't part of the recommended composer.json on the readme.

they are automatically installed by composer

The deps specified on the readme are enough

from xsd2php.

goetas avatar goetas commented on May 25, 2024

(sorry for the stupid question) Did you run "composer update" after editing the composer.json file?

from xsd2php.

treehousetim avatar treehousetim commented on May 25, 2024

sorry for the opening a stupid issue. :/

I just went slowly through the steps of creating a blank project folder with a composer.json file in it and everything worked just fine. I'm not sure where my brain turned off earlier today.

Thanks for your time, and apologies for wasting it.

from xsd2php.

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.