Sentora Support Forums
PHP framework? - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: General Forums - (Non-Sentora Support) (https://senforums.mach-hosting.com/forumdisplay.php?fid=1)
+--- Forum: General Discussions (Non-Support Related) (https://senforums.mach-hosting.com/forumdisplay.php?fid=2)
+--- Thread: PHP framework? (/showthread.php?tid=2754)



PHP framework? - Me.B - 04-08-2016

Hi,

Question if any here is used to? 

What is the best php framework you would use for building an API. Clean and light. 

I'm thinking about F3:

http://fatfreeframework.com/


RE: PHP framework? - apinto - 04-08-2016

F3 is nice , however not much active community, that is not good.

Please, use a framework with an active community like Lumen / Laravel, battle tested and you will get plenty of documentation that you will never be able to find for F3.

https://lumen.laravel.com/


RE: PHP framework? - Me.B - 04-08-2016

LARAVEL is too much bloated for an API.

May be lumen or silex... But love the F3 light framework. In coldfusion I'm used to FW/1: http://framework-one.github.io/ and the logic behind it is to keep it simple. FW/1 is one file! with all the stuff you need to have the conventions to build MVC apps, API's (caching! rest sevices)! Far from the bloated hype in new frameworks.

Lumen / laravel requirement: PHP >= 5.5.9. Would mean only run on ubuntu 14 ( default setup!).

Also saying F3 is not active is too easy:

check the github:

https://github.com/bcosca/fatfree-core

And the documentation is good. http://fatfreeframework.com/user-guide
Looks very good.

Update:

http://www.slant.co/topics/2642/compare/~slim_vs_fat-free-framework_vs_lumen

Not sure but see PRO: good documentation ;-).


RE: PHP framework? - apinto - 04-09-2016

I understand that Laravel is too much. WAY too much.
However Lumen is very very nice, but yes the php requirement might be a drawback for sentora Sad

I know I said it was not much active, but I wanted to mean less active than lumen

But it is a good framework, I considered it for a small project myself, shall you want to move with it, you got my vouch (for whatever it is worth Wink )


RE: PHP framework? - Me.B - 04-09-2016

laravel community on slack sucks big time... over 8800 members and few if not none would tell me why to pick up lumen. If I asked such question in CF Slack I would get already a dozen serious replies.


RE: PHP framework? - apinto - 04-09-2016

Actually I do not share the same experience with Laravel community. But again I'm not on their Stack (might join).

To be honest the major drawback I see for Sentora is the PHP requirement, other than that I believe it would be an perfect pick.

Still, go ahead with F3, it's a solid choice too.