crisp-im / php-crisp-api

:elephant: Crisp API PHP Wrapper
https://docs.crisp.chat/guides/rest-api/
MIT License
56 stars 28 forks source link

Where is vendor/autoload.php? #6

Closed rvencu closed 6 years ago

rvencu commented 6 years ago

I guess because I cannot find the vendor/autoload.php file I have no reference to the RestClient class

$this->_rest = new RestClient

rvencu commented 6 years ago

well, composer only stuff. Downloading the zip file is not enough

baptistejamin commented 6 years ago

Could you contact us on crisp.chat ? It seems to be related with how you are using the SDK itself.

Did you install composer ?

rvencu commented 6 years ago

Yes, I am in contact via chat. I use PHPStorm on my Window 10. I have a linux server on backend, I just went there, ran the composer commands then downloaded all files into my project. Apparently it should work now still I was not yet able to test the first sample bot (the advanced one from example folder). I will be on chat if I will be totally stuck with it.

baptistejamin commented 6 years ago

Please contact us on crisp.chat. Ask Baptiste.

Baptiste Jamin CEO, Crisp https://crisp.im/ - Connect your customers to your team.

On 8 Aug 2018, at 13:41, Richard Vencu notifications@github.com wrote:

Yes, I am in contact via chat. I use PHPStorm on my Window 10. I have a linux server on backend, I just went there, ran the composer commands then downloaded all files into my project. Apparently it should work now still I was not yet able to test the first sample bot (the advanced one from example folder). I will be on chat if I will be totally stuck with it.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/crisp-im/php-crisp-api/issues/6#issuecomment-411376903, or mute the thread https://github.com/notifications/unsubscribe-auth/AA04w88X5m6KZ3PEj2KO0dQqOxgMzdpcks5uOs5bgaJpZM4Vzr09.

rvencu commented 6 years ago

All is working well now. Setting up composer commands properly solved any missing dependency