Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
mcmuffin477yLaravel is my go-to for this. Don't bother with lumen (small version of laravel-ish) you will find yourself upgrading to full laravel pretty soon after starting. I can also suggest the fractal package to handle transformations.
-
lotd77757y@officialrkay yes.
Last i checked it works just fine by registering it in your Bootstrap and either enabling db / eloquent or overriding the connection class.
Otherwise, a quick search gave me this :
https://github.com/dusterio/... -
@officialrkay lumen doesnt have migrations??? How? I think you are missing something (never used Lumen but I did look at it closely a while back)
-
lotd77757y@Codex404 it's not.
The default composer.json does require illuminate/database
https://github.com/laravel/...
So it's likely a matter of enabling the in Lumen.
@officialrkay have you remembered to configure your database connections(DB_*) either in your environment file (.env) or bootstrap? -
lotd77757y
-
@lotd brother I think I want to reinstall the luman in my laptop with your given composer.json
-
Laravel if you like what is inside. Slim is also excellent if you want more customised or simple api
Related Rants
Which PHP framework is best for REST APIs and Why ?
undefined
frameworks
api
php