PHP Classes

How to download vendor/autoload.php file to use oauth?

Recommend this page to a friend!

      PHP OAuth Library  >  All threads  >  How to download vendor/autoload.php...  >  (Un) Subscribe thread alerts  
Subject:How to download vendor/autoload.php...
Summary:How do I get vendor/autoload.php to oauth through composer ?
Messages:2
Author:Gregory Carmo
Date:2017-09-08 14:29:41
 

  1. How to download vendor/autoload.php...   Reply   Report abuse  
Picture of Gregory Carmo Gregory Carmo - 2017-09-08 14:29:41
Good morning, masters. I am trying to use the oauth protocol, I downloaded a project, but this project needs the autoload.php file, and I can not download this file through composer. The error always occurs saying that the class "oauth" was not found. I installed the composer setup. How can I get this vendor / autoload.php file?

Thanks in advance.

  2. Re: How to download vendor/autoload.php...   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2017-09-09 04:48:58 - In reply to message 1 from Gregory Carmo
The vendor/autoload.php file is generated by composer with the names of the package classes.

The correct class name is oauth_client_class . That is the one you need to use with the new command.