how to start PHP Telegram Bot Example? - php

I trying to run the PHP Telegram Bot Example located at https://github.com/php-telegram-bot/example-bot
I have dowloaded it and all the installating steps are done. Composer is ok also.
But.. how to run the project?
Sorry for the newbie question and thanks in advance

Related

How to run automatically Tailwindcss when the PHP project opens on VS?

I would like to ask you how to start automatically tailwindcss framework when the PHP project opens on Visual Studio. I'll explain better: first of all i have create a empty directory for my PHP projec in "C:/xampp/htdocs/project_PHP",afterwards i have follow the installation guide of TailwindCSS from the official website (Installation Guide).Next,I created a php file ("index.php") to tested the framework, and all works correctly. The main problem is that: every time I close and open the project from VS, i have to run this command everytime to "start" tailwindcss: 'npx tailwindcss -i input.css -o style.css --watch'. So far I have only been able to start tailwindcss using the npm run build command and setting the script in "package.json"..
Does anyone know if there is a way to start tailwind automatically when opening the project on VS without entering scripts in the terminal?
Thanks in advance everyone for the help :)
Have you tried to go in Tools > Options > Projects and Solutions > PHP or something similar to your project. And select Auto build and refresh browser after saving changes in Auto build and refresh option ?
I know this works for ASP .NET projects. (This will only work if run without debugging though)

Cannot validate since a PHP installation could not be found in my codeigniter

Hello everyone im new user in php with codeigniter as my framework, when im start to code, i got error can you see here, i have tried this with adding configuration :
`// Points to the PHP executable.
"php.validate.executablePath": null,` in my setting.json from this solved problem but still no change. i hope everyone can help me. thanks

How to deploy PHP backend application by google cloud

I install in the google cloud app engine the Apache and PHP.
I put the files in var/www/html/.
I try to connect to PHP by POST, it's not working.
seem the PHP files no running.
Please help me! Thank!
The way you use App Engine is by just deploying your applications, there is no need to install Apache or PHP on it. In fact there is a very simple guide over at https://cloud.google.com/appengine/docs/standard/php/quickstart which shows how to deploy a simple hello world application and you can start building from there.

Facebook Developer Tabs Heroku and Other

i was wondering if you could help me.
I am Currently Running Windows 8. Vs2012 with .php plugin. I have followed all the steps on the developer app page of facebook and then heroku using the git command line interface. and i seem to keep getting all kinds of errors. Does anybody know of an up to date decent tutorial of how to create, edit and upload a facebook application?
you can see the video on this link
https://www.youtube.com/watch?feature=player_embedded&v=HgiONvm5JB0
it will teach you how to pull and edit a facebook application
the video may get outdated so here is another link
https://devcenter.heroku.com/articles/facebook#create-an-app

Create the .cspkg and the .cscfg files to upload into Azure

I opened more topic here to solve my uploading problem but still nothing (not the answers, these were helpful) so I think the problem is at me!
So I wrote a little php program but after I create and upload the .cspkg and .cscfg files into Azure I get error. On localhost everything is good. I decided to reinstall all of my computer and sdk's but it takes so long time therefor I ask you a bit favour!
I send you my php files then you create the the .cspkg and .cscfg files and I upload it to my azure account and if it's OK, I can make sure of that the error is guaranteed to me...
Thank you in advance!
I am not sure how you are doing however I would like to provide your the correct way to use PHP with Azure:
Step 1: please have some time to study how Azure Interoperability team provided PHP SDK for Azure here:
http://azurephp.interoperabilitybridges.com/articles/setup-the-windows-azure-sdk-for-php
Step 2: Please download the PHP SDK for Windows Azure:
http://phpazure.codeplex.com/releases/view/78020
Step 3: Visit the SDK related documentation:
http://phpazure.codeplex.com/documentation
Above info will guide you through how to get it working. If you still need help for PHP issue, open an incident with Windows Azure Support Team using link below to get expert 1:1 assistance:
https://support.microsoft.com/oas/default.aspx?gprid=14928&st=1&wfxredirect=1&sd=gn
[Addition]
If you follow the link below, in the step 4 you were given the script to create ServiceDefinition.csdef using your paplication project folder details:
http://azurephp.interoperabilitybridges.com/articles/packaging-applications
Once you have your project folder set as described in above link and have ServiceDefinition.csdef you can full step 5 to generate the ServiceConfiguration.cscfg also.

Categories