Answer the question
In order to leave comments, you need to log in
How to develop directly online?
Challenge: Quickly and easily test integrations with various APIs (including webhooks). And get rid of the manual transfer of written code from local to hosting, otherwise it is very annoying.
Now, in order to test and debug some kind of integration with getting data via webhooks, I have to use var_dump and logging. In addition, after each fix, re-upload the code to the hosting and clear the logs. This takes a lot of time, but I don't know of any other way yet, and (for example) all services can't be forced to send data from webhooks to my local PC. At the same time, I can definitely see on the local that there is a convenient xdebug.
Briefly speaking: is it possible to somehow connect xdebug (or something similar) to the hosting, while writing code and debugging on the local area, uploading the code to the hosting by pressing hotkeys? In general, I understand that this is possible, but I can’t draw up a roadmap for myself on how to do it ...
Answer the question
In order to leave comments, you need to log in
I'm not very good at this. And I met the words webhook only when trying to develop a telegrambot on Laravel. But as now I remember the key words.
Ngrok and tunnel. This magic allowed showing the site from the local server directly to the network.
And everything somehow worked). Look at them, suddenly what thoughts will lead
PhpStorm has the ability to automatically upload changes via ftp/sftp when saving a file via ctrl+s
Tools -> Deployment -> Automatic upload
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question