Git Product home page Git Product logo

Comments (9)

seejohnrun avatar seejohnrun commented on July 19, 2024

If you're using vendor/autoload you'll also need a package file for composer that specifies tumblr.php as a dependency. See the getting started docs on composer: http://getcomposer.org/doc/00-intro.md

from tumblr.php.

mase857 avatar mase857 commented on July 19, 2024

Thank you so very much for your quick response , I'm not quite sure I understand what you meant though ..So what I did to get the vendor folder is running these two commands I saw on github
curl -sS https://getcomposer.org/installer | php
php composer.phar install --no-dev

Then I downloaded the Tumblr folder as zip from github , put it in my FTP , and also put the vendor folder inside the API folder, which is inside the Tumblr folder.. Apparently I did it wrong from what you said ... So what commands should I use to also install tumblr.php as a dependancy .. Do you also have the commands for tumblr.php so I can install it too and once installed , where should the vendor folder be exactly placed ? A step by step process would help so much , with the command line commands for windows .

from tumblr.php.

seejohnrun avatar seejohnrun commented on July 19, 2024

You'll want to make a package.json in the format specified in the link I gave, and then when you run php composer.phar it'll install tumblr correctly so you can require vendor/autoload

from tumblr.php.

mase857 avatar mase857 commented on July 19, 2024

where is package.json ? what commads am I supposed to use to get it ?? for example curl -sS https://getcomposer.org/installer | php
php composer.phar install --no-dev

from tumblr.php.

seejohnrun avatar seejohnrun commented on July 19, 2024

It's not something you get, it's something you need to add yourself.
It will have a format very similar (identical) to the format in the link I added above
Here's a link to the specific section that shows the format: http://getcomposer.org/doc/00-intro.md#declaring-dependencies

from tumblr.php.

mase857 avatar mase857 commented on July 19, 2024

I'm extremely Sorry John , I've been sick so I couldn't get back on this ... The link you redirected me to was not clear about the package.json you mentioned as an example .. is it the one shown at this link https://github.com/tumblr/tumblr.php/blob/master/composer.json ? I already have it .. now that I already have it , should I just save it as it is in a folder in my local computer and run these two commands below from that folder ? Because as you can tell , last time I run those two commands , and it still wouldn't work , should I have just included the composer.json in the same folder ? Thanks much !!!
curl -sS https://getcomposer.org/installer | php
php composer.phar install --no-dev

from tumblr.php.

mase857 avatar mase857 commented on July 19, 2024

I actually figured it out ...

from tumblr.php.

seejohnrun avatar seejohnrun commented on July 19, 2024

Sorry for the delay - thanks @mase857

from tumblr.php.

mvoges avatar mvoges commented on July 19, 2024

@mase857 It would be nice if you posted how you resolved the issue, because I'm having the same problem and can't solve it.

from tumblr.php.

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.