I want to integrate a telegram API in PHP.
I refereed following link
https://github.com/funcoding/TelegramPHPBot/blob/master/README.md
I installed composer on my machine but i am not able to generate
vendor/autoload.php file.
I am new to this. can anyone give me solution.
A comprehensive official documentation can be found here.
2
Answers
After creating the
composer.json
file runcomposer install
command to install the dependencies. This will create avendor
folder where you can findautoload.php
file.Just follow below steps for install
Telegram API
:master.zip
file. Extract zip file into your localwamp
server.
cmd
and then go to yourwamp
directory usingcd wamp
andcd www
.Telegram API
directory usingcd Telegram API
composer install
command fromcommand prompt
vendor
folder in yourTelegram API
directory after finish installation.No need to edit
composer.json
file.See below screenshot
Composer.json code