Link to home
Start Free TrialLog in
Avatar of RajG1978
RajG1978

asked on

What is best framework for PHP?

I have to use PHP to develop a website.
Can anyone please suggest which is the best framework between Cake and Symfony. I have to choose one of these two.

My website is a small to medium site for internal use in my company.
What will be benefits and limitation in using the one I should be selecting?
SOLUTION
Avatar of Mark Brady
Mark Brady
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You might want to ask yourself "why?"  If you don't already know PHP and you don't know the framework, then you have taken a single problem (PHP) and turned it into two problems (PHP + another unknown).  

The best framework is the one you already know.  So I agree with Elvin66.  I would avoid any framework until you know exactly what you want to do and how the framework supports your goals.  Try a few of them out before you make a commitment.

I also agree with Loganathan.  Laravel is getting a lot of traction right now.  So is Slim.  The people I know who are choosing these frameworks are experienced programmers and very knowledgeable computer scientists.

CodeIgniter is another option.  So is Zend.  There are a lot of frameworks, just like there are a lot of cars.  You would test drive a few and choose the one that makes the most sense for your needs.
Afterthought... Have you considered WordPress?  Their entire codex is online.  It is by far the most popular of the frameworks and has a large community of developers with lots of themes, plug-ins and widgets.
Avatar of RajG1978
RajG1978

ASKER

Basically I am a .net developer, my boss wants me to develop a website in PHP using Symfony or Cake framework. I do not know PHP, I have learn it too, suggestions please.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@Scott: I think this is the operative quote here:  "... my boss wants me to develop a website in PHP using Symfony or Cake framework."

I teach this stuff for a living and I think your instincts are right on about questioning whether to go framework or not.  If I were the boss I might start differently, perhaps learning PHP to create a simple web site, add a data base and some templates, then step over to the framework.  But I'm not the boss.