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

Emad_nour's avatar

i made a laravel app using sanctum ,axios api .i want to convert it to a desktop app using phpdesktop-chrome-57.0 , but it doesnt connect my sqlite or mysql till i run command "php artisan serve "

i made a laravel app using sanctum ,axios api .i want to convert it to a desktop app using phpdesktop-chrome-57.0 , but it doesnt connect my sqlite or mysql till i run command "php artisan serve "...the app is working well locally as a website . but when i use phpdesktop-chrome-57.0 it doesnt connect database

0 likes
1 reply
martinbean's avatar

@emad_nour And like I told you in your other thread, PHP is a web language and not suited for desktop apps at all.

Use an appropriate tool for the job. For desktop apps you’re going to need to use something like Electron, or native technologies like C# for Windows, SwiftUI for macOS, etc.

Stop creating multiple threads asking the same question hoping you’ll get a different answer. You’re not. The answer is still the same no matter how many times you ask the question or how many different ways you try and word it.

Please or to participate in this conversation.