小编Mat*_*alò的帖子

为什么我的autoload.php作曲家不起作用?

我有一个项目,我使用Composer,我导入很多东西...我需要我的索引(项目的根)中的autoload.php和istead Slim,Mongo,Twig工作得非常好.但是,当我打电话给一类尊重/验证时,它不起作用; 如果我只是使用Respect/Validation,则错误是:

Class 'Respect\Validation\Validator' not found in (path of file when i need it).

如果我在这里也要求autoload.php错误是:

**Warning**: require_once(vendor/autoload.php): failed to open stream: No such file or directory in (path of file when i need it)

**Fatal error**: require_once(): Failed opening required 'vendor/autoload.php' (include_path='.;C:\xampp\php\PEAR') in (path of file when i need it)

php dependencies composer-php respect-validation

18
推荐指数
3
解决办法
9万
查看次数