D
D
Danil Chekalin2018-03-18 22:58:19
PHP
Danil Chekalin, 2018-03-18 22:58:19

Is there any PHP binding for Android?

Extremely "vinaigrette" question. I am writing a mobile application in react-native. I need an implementation of instagram private api, and with my regret, only the php package ( https://github.com/mgp25/Instagram-API) has the highest quality implementation. I have already implemented a binding (native module) for react-native with a similar implementation in java, but unfortunately the package is very weak ( https://github.com/charlieAndroidDev/Instagram4And... There is no desire to rewrite the php package, at this stage , so the question arises: is there any way to bind the php interpreter to android?The dependencies of php are different, for example requests via curl.Here is the full list:


"php": ">=5.6",
"lazyjsonmapper/lazyjsonmapper": "^1.6.1",
"guzzlehttp/guzzle": "^6.2",
"ext-curl": "*",
"ext-mbstring": "*",
"ext-gd": "*",
"ext-exif": "*",
"ext-zlib": "*",
"react/event-loop": "^0.4.3",
" react/promise": "^2.5",
"react/socket": "^0.8",
"binsoul/net-mqtt-client-react": "^0.3.2",
"clue/socks-react": "^ 0.8.2",
"clue/http-proxy-react": "^1.1.0",
"psr/log": "^1.0",
"valga/fbns-react": "^0.1.8"

gd, exif, react* - I don’t need all this, it can be cut out,
and of course, the php interpreter should eventually be in the application build, and not as a separate entity that will need to be installed separately on android

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Aksentiev, 2018-03-18
@Sanasol

set up a server with popup and work with it via api.
php is a server language, why drag it to the client.
Normal operation of any application.

V
vasea_xp, 2020-02-05
@vasea_xp

Hi I have made an implementation directly for android application via Rest API, I can help you if need for simple REST API or for full android implementation. Contact me at [email protected]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question