0

Can you recommend me some simple php+mysql based backend framework in order to build a simple rest api (with login, signup, scope data) ?

Comments
  • 1
  • 1
    @ojt-rant thx for advice. You made my day sir. I tried around 10 different repos/tutorials and this seemed to be the best one https://youtu.be/MT-GJQIY3EU it has all basic crud routes implemented + login/logout/registration/search routes. Took me max 1 hour to setup everything and deploy to a shared webhost. Much easier than ktor or using pure php and tryharding to invent the wheel.
  • 1
    While my mostly sarcastic comment of "Anything other than PHP" applies, if that's a requirement I second using Laravel. It's the most sane framework I've found for PHP so far.
  • 1
    @zemaitis no probs. I know a lot of people still hate on PHP, but I love using the Laravel framework, even though I probably only use 30% of what it offers. I tend to use it either as a Backoffice system or as an API for retrieving various data (using JWT tokens for authentication). It's just so straight-forward and easy to follow.
  • 0
    I once used Fat Free Framework, it is not as complete as Laravel and you need to do most of the things yourself but it removes a lot of what I consider incoherence in PHP.

    Maybe Laravel would have been better but it was for a job I was not payed enough to even consider its learning curve. And I was too busy with other stuff to learn it in my free time.

    I know it is not the best approach… but web development is not my passion 😅
  • 0
    I also like the look of Slim PHP, especially for REST APIs. But I've not used it yet.

    https://www.slimframework.com
Add Comment