Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Cameron_Lynch's avatar

PHP & front-end mobile frameworks

Hi. I'm learning to code. So go easy on me if this is a stupid question.

I decided to go with PHP & Laravel using PHP Storm as they seem to be the most popular and have the most support online from a web development perspective.

I also am interested in building my skill set to be able to handle (at least at a basic level), mobile applications. Is there a front-end mobile framework (like Ionic?) that could integrate with PHP backend knowledge?

All the talk at the moment seems to be that we should be learning mobile app development on the new Facebook open source React Native.

0 likes
5 replies
Cameron_Lynch's avatar

Hi. Could you give me a little bit more please. Are you suggesting that all mobile frameworks (Ionic, PhoneGap, etc.) will talk with backend PHP frameworks? I.e. If you have a website with a database, you can access that database on your mobile app which is uploaded onto the App Store & Andriod market?

Bootstrap as with the Foundation framework, I thought were simply responsive designs. To work on mobile, tablets, different screens etc. Not related to what I'm asking in developing and uploading mobile apps to App Store/Andriod market.

Thanks

jlrdw's avatar

Ok I see what you mean, you will need an API for bridging the two, but I don't know which is the best. I'd also check stackoverflow. And a while back there was a reply here that mentioned a couple examples. May I ask what kind of apps? And you're referring to a mobile app only, correct?
My main thought on mobile only apps, is yes they are smaller, but that makes them limited. For example facebook mobile is no where near what the regular site is. You can't even add a donate button. In today's world with mobile devices handling regular sites well, why would anyone want to write a mobile only?
As stated, by getting the css right, making images smaller in size, and things like that, a regular site can be a mobile site (app if you desire) as well.
There is also mobile detect software I use, one of the sites I have has had no problems on various mobile phones or devices I tested. Real test, having the site brought up and navigated.

1 like
jekinney's avatar

If they except Json data (which I believe they all do, I know for a fact swift does) then you need to set up an api service via php (larvel and lumen are great choice for this) that will communicate with your mobile app.

I know that's what I have done for Apple apps (swift 2 now) with no issues.

1 like
jekinney's avatar

Quick google search shows tutorials on ionic framework using Json from a web service so yes, you need to create an api with php and consume it with ionic.

1 like
Cameron_Lynch's avatar

Excellent. Thank you both.

I'm not convinced mobile app through the App Store and Android store have become redundant even with the improvement in technology to handle all the platforms. They may even all be able to compliment each other. Time will tell.

Cheers

Please or to participate in this conversation.