varspool / sphpdox

PHPDoc to Sphinx/ReStructured Text API documentation tool
GNU General Public License v3.0
48 stars 16 forks source link

Require in sphpdox.php #3

Closed patgod85 closed 11 years ago

patgod85 commented 11 years ago

Hello

I'd installed Sphpdox using composer. In my project structure it looks like:

root ├── project folders └── vendor           ├──autoload.php           └──sphpdox                    └──sphpdox.php

So trying to run sphpdox.php return exception in this string:

    require __DIR__ . '/vendor/autoload.php';

Using composer files structure I've changed it to:

    require __DIR__ . '/../../autoload.php';

Thanks

bd808 commented 11 years ago

The changes in #6 should help with your problem. Try updating sphpdox and then using the new vendor/bin/sphpdox script to run.

php composer.phar update
./vendor/bin/sphpdox help process
patgod85 commented 11 years ago

Ok . But I already use it as separate project. Thanks