/    Sign up×
Community /Pin to ProfileBookmark

Which PHP framework is more productive – Symfony, Laravel,Zend or CodeIgniter?

Hey We have this Post. [color=red]*** link deleted by moderator ***[/color] but also wanted to hear your thought about php framework that which one is better and why?[ATTACH]17419[/ATTACH]

[canned-message]attachments-removed-during-migration[/canned-message]

to post a comment
PHP

21 Comments(s)

Copy linkTweet thisAlerts:
@ginerjmFeb 07.2017 — Smells like click-bait. I'll pass.
Copy linkTweet thisAlerts:
@SBebbersFeb 07.2017 — It is not the framework that is more productive, it is the developer. Frameworks, APIs and such help you but they don't do everything for you.

Regards,

Shaun.
Copy linkTweet thisAlerts:
@Endive_SoftwareauthorFeb 08.2017 — Thanx for your suggestion.. but i need to know if you guys work on any framework you prefer which framework and why.
Copy linkTweet thisAlerts:
@NogDogFeb 08.2017 — As far as I'm concerned, if it's a MVC framework for PHP you want, Laravel is the clear leader for now.

If what you really want is some pre-built CMS, it's less clear, and probably more dependent on the exact business need.
Copy linkTweet thisAlerts:
@SBebbersFeb 10.2017 — Whilst Laravel may be the market leader, I have found that this framework in particular encourages PHP developers to be inefficient in other areas. For instance, one of the following is common for every Laravel I've worked with to date:

"I don't want to*/am unable to*/can't* work with Magento/Joomla!/Zend FrameWork/CodeIgniter/ExpressionEngine/[insert other non-Laravel framework or CMS here] because [insert arbitrary reason here]"

or:

"I don't like the way that works - it'd be better if it worked like Laravel"

Unfortunately, I'm yet to meet a pragmatic Laravel developer who is willing to work with any of the above without finding issues with it.

Regards,

Shaun.

  • * Delete as appropriate.
  • Copy linkTweet thisAlerts:
    @NogDogFeb 10.2017 — I've met very few developers who think anything that is not their favorite tool/language of any given type is any good. ?
    Copy linkTweet thisAlerts:
    @SBebbersFeb 10.2017 — Perhaps I don't have a favourite then as I'll work with almost anything PHP once I understand how it works (or any language in fact - I quite like C and C#). There is still a line between favouritism and fanboy-ism.

    There is a serious point in the amount of time wasted over things like this and other minor details (whether to use camelCase or snake_case, where to put the opening brace etc...) - I always say that as long as you are being consistent, it doesn't matter as no one wants to read through or debug scripts that have regular code style changes and stuff of this nature.

    Regards,

    Shaun.
    Copy linkTweet thisAlerts:
    @NogDogFeb 10.2017 — Yep, I did say "very few" not "no". ?

    I'm just glad I'm on the server-side of things, and only have to deal right now with PHP and an in-house framework while also working on a Ruby on Rails app to confuse me. The client side world seems to have a new favorite framework every 3 to 6 months. :rolleyes:
    Copy linkTweet thisAlerts:
    @Douglas_WilliamFeb 10.2017 — ... There is a serious point in the amount of time wasted over things like this and other minor details (whether to use camelCase or snake_case, where to put the opening brace etc...) - I always say that as long as you are being consistent, it doesn't matter as no one wants to read through or debug scripts that have regular code style changes and stuff of this nature.

    Regards,

    Shaun.[/QUOTE]

    If I'm not mistaken: Is this, or - could this be, a case that may be applied to coding/scripting some of your own then grabbing [someone else's] code(s)/script(s) and then continuing in your coding/scripting and then going out and finding another [someone-else's] code(s)/script(s) and cobbling a page/site together? ...creating a hodge-podge of various styles of codeing/scripting that indeed makes a page/site work/function.

    If indeed the case of this (or scenario - probably a better descript[ion] of the above I placed here) is ... it may be that when One gets a code/script snippet it would be best to rev-engineer it and understand it in its capacity and then adapt the gotten code/script snippet into your own style of coding/scripting to alleviate the "(whether to use camelCase or snake_case, where to put the opening brace etc...)"

    Just a thought as towards a reason to learn to personally produce/write language code(s)/script(s) for your use within a personal/private or commercial page/site. ... [i]plus I'm curious[/i] ...

    - Douglas
    Copy linkTweet thisAlerts:
    @SBebbersFeb 13.2017 — I have no idea what you're saying so I couldn't possibly comment.

    My point was that consistency is easier to work with.

    Regards,

    Shaun.
    Copy linkTweet thisAlerts:
    @mandylopezFeb 14.2017 — I am a freelancer, I make websites for a living.

    Laravel has its own set of packages which promotes a certain type of opinion. Though beginner friendly, it comes with its own set of beliefs and opinions.

    Symphony is for experienced developers. Maybe built by the best php developer alive, Fabien Potencier, and less opinionated.

    Code igniter does not have a structure but great to create something quickly. What I do not like is, it feels as if it is not smart. It does not promote MVC, it does not have an inbuilt templating package, it is not as secure as the other two, feels a little bloated

    Yii is good but feels like half baked. Leaves me wanting for more.

    WordPress as a framework is great for an absolute minimal project, but the moment you try to customize any thing, feels like you have to do a PhD in WordPress plugin development. Every time I create a custom post type feels like I am hacking into source.

    Headless Drupal is a nice starting point. I need to explore more here as there is tremendous potential. Why? Community, quality of coders and quality of modules available. Feels like php on steroids.

    My heart goes out to Slim. It is such a nice small framework with the latest php PSR 07 standard of coding, feels like you are ahead of all developers. But this is not an easy little beast to handle.

    Fat Free framework, no opinions, many packages, lightweight, beginner friendly. You cannot build a legacy application using this. But this is great for a solo programmer like me which does not promote opinions.

    Finally, being solo I could choose doing projects without any frameworks. Composer, packageist, required packages, application. No bloat.

    I feel most productive when I code less and do more. Every framework is merely a means to an end. I would choose the one which helps me most for my current problem.
    Copy linkTweet thisAlerts:
    @SBebbersFeb 15.2017 — Hi mandylopez,

    Thanks for a very good and complete answer; I'll have a look at those frameworks that you've mentioned that I've not used before.

    In my first developer job, when I was a junior, I was working with Magento creating custom views and eventually custom modules (this was version 1.7.x) - the [I]senior[/I] developer (who had considerably more experience than I did), who was somewhat fond of Laravel, refused flat-out to work with Magento at all, insisting that we should move onto Laravel all projects. As the pay for Magento developers was more than double my salary at the time I moved on.

    I'm currently working with my own and another bespoke framework. If you have some spare time, I'd appreciate any feedback and advice that you can offer. As I realised when I retrained from social science to computer science, things have moved on a bit since the Commodore 64.

    Regards,

    Shaun.
    Copy linkTweet thisAlerts:
    @NogDogFeb 15.2017 — Hi mandylopez,

    the [I]senior[/I] developer (who had considerably more experience than I did), who was somewhat fond of Laravel, refused flat-out to work with Magento at all, insisting that we should move onto Laravel all projects..[/QUOTE]


    That's kind of like a carpenter using a pneumatic nail gun for all tasks: it's great for many of them, overkill for others, and just plain wrong for some of them. ?

    (Don't get me wrong: Laravel is very good at what it does, has a strong support community, and encourages the creation of maintainable code -- but that does not mean it's the best choice for every project.)
    Copy linkTweet thisAlerts:
    @SBebbersFeb 15.2017 — That's kind of like a carpenter using a pneumatic nail gun for all tasks: it's great for many of them, overkill for others, and just plain wrong for some of them. ?

    (Don't get me wrong: Laravel is very good at what it does, has a strong support community, and encourages the creation of maintainable code -- but that does not mean it's the best choice for every project.)[/QUOTE]


    As I said, he was the senior developer (or more senior than I was at the time).

    The Magento platform was chosen before I started and I don't know if a better solution [than Magento] could have been built in Laravel any quicker even if it is easier to develop custom modules for.

    Regards,

    Shaun.
    Copy linkTweet thisAlerts:
    @MobilespyFeb 18.2017 — Like a great many things in programming: It depends. I have looked at Yii, CodeIgniter, and Cake. At the time, for me and my skill set, I went with codeigniter. It's since evolved and changed a lot. I'm not sure it's for the better. It doesn't seem as simple as it used to be.

    So there's a number of things to take into consideration - your own skill set, and what do you intend to do with it.

    When I used CodeIgnitor, I built an online streaming radio station, complete with the ability to browse albums, artists, genres, search for same, view album art, lyrics, and even submit requests. It wasn't my original choice, I actually originally tried to use WordPRess & bbPress (the forum version of WP) to manage things, it didn't go so well. With CI though, it was pretty easy.

    That said, with a lot of these frameworks, you need to have a working understanding of MVC and how it relates to the flow of what you're building.

    **Links removed by Site Staff so it doesn't look like you're spamming us. Please don't post them again.**
    Copy linkTweet thisAlerts:
    @Martin_SmithFeb 20.2017 — It is mainly depends on the user requirements...
    Copy linkTweet thisAlerts:
    @ssrajFeb 27.2017 — I think Laravel framework is more popular & productive as compared to Symfony and CodeIgniter. Because of beginner friendly, simple and well structured.
    Copy linkTweet thisAlerts:
    @SBebbersFeb 28.2017 — I think Laravel framework is more popular & productive as compared to Symfony and CodeIgniter. Because of beginner friendly, simple and well structured.[/QUOTE]

    There is still scope for all of those other frameworks, CM systems and APIs as well - make yourself a more productive and flexible developer by learning as many other PHP frameworks as possible. Clients don't like to hear problems, they want solutions, and if you get landed with a CodeIgniter website for instance then get on and work with it.

    Regards,

    Shaun.
    Copy linkTweet thisAlerts:
    @dhruvsingh26Mar 03.2017 — its depends on your knowledge. if you are new for framework then use codeigniter. if you have better understanding

    of framework then use cake php. for advance laevel you can use laravel and symfony. actually i prefer laravel.
    Copy linkTweet thisAlerts:
    @SBebbersMar 06.2017 — its depends on your knowledge. if you are new for framework then use codeigniter. if you have better understanding

    of framework then use cake php. for advance laevel you can use laravel and symfony. actually i prefer laravel.[/QUOTE]


    It depends more on how your brain works - some developers find Laravel much easier to understand than CodeIgniter. In fact, all of the Laravel devs I've ever worked with to date (check my previous posts) have been rather inflexible when it comes to using anything else and from my experience, 'advanced' Laravel developers do not always make good 'advanced' PHP developers as they become too reliant on the framework rather than the language.

    One example: a Zend project I worked on at a previous employer was out-sourced to a 'senior' Laravel developer. This guy had basically done almost nothing, other than front-end cosmetics, in in the six or so months that he had the project and in six weeks - despite having zero experience directly working with Zend Framework - I got the project in a state where it could be launched; i.e., creating the necessary data modelling and controller stuff and working with the necessary 3rd party payment API etc... rather than just making it look like it worked (it took a while for that because he didn't get how Zend views worked at first).

    I'm sure he was very good at making Laravel websites though, in fact his portfolio made this clear. But he had become blind to all else and was not at an advanced level.

    Regards,

    Shaun.
    Copy linkTweet thisAlerts:
    @farriMar 31.2017 — thanks for fantastic great information i really happy read all answers...
    ×

    Success!

    Help @Endive_Software spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 6.1,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...