Need advice about which tool to choose?Ask the StackShare community!

CakePHP

631
391
+ 1
137
CodeIgniter

3.2K
1.5K
+ 1
464
Add tool

CakePHP vs CodeIgniter: What are the differences?

What is CakePHP? The Rapid Development Framework for PHP. CakePHP makes building web applications simpler, faster, while requiring less code. A modern PHP 7 framework offering a flexible database access layer and a powerful scaffolding system.

What is CodeIgniter? A Fully Baked PHP Framework. CodeIgniter is a proven, agile & open PHP web application framework with a small footprint. It is powering the next generation of web apps.

CakePHP and CodeIgniter can be primarily classified as "Frameworks (Full Stack)" tools.

"Open source" is the top reason why over 34 developers like CakePHP, while over 72 developers mention "Mvc" as the leading cause for choosing CodeIgniter.

CakePHP and CodeIgniter are both open source tools. CodeIgniter with 17.4K GitHub stars and 7.72K forks on GitHub appears to be more popular than CakePHP with 7.9K GitHub stars and 3.4K GitHub forks.

Buffer, Manchester.com, and Webedia are some of the popular companies that use CodeIgniter, whereas CakePHP is used by EventManager-Online.com, Swat.io, and Gymglish. CodeIgniter has a broader approval, being mentioned in 261 company stacks & 105 developers stacks; compared to CakePHP, which is listed in 66 company stacks and 29 developer stacks.

Advice on CakePHP and CodeIgniter
Michael Feldhake
Developer at Fleet-Nomics · | 7 upvotes · 9.4K views
Needs advice
on
BubbleBubbleCakePHPCakePHP
and
CodeIgniterCodeIgniter

Hi all, I need to create a simple IoT interface application that connects the end device API with a GeoTab API. I am considering using Bubble due to its simple interface and configuration tools, but I fear it's too simple. We will want to add features and new devices as we grow - I was thinking of using CodeIgniter or CakePHP on a hosted site for the application. Must support JCOM encoding between the two APIs and there is no need for a separate interface as GeoTab already has one; we are just connecting and pushing data. Thoughts?

See more
Replies (1)
Dominik Keller
Recommends

Hi Brian,

Dom here, co-founder of Five, a low-code company.

The first question I'd ask is this: do you want to continue using Google Sheets or Microsoft Excel as your database? If yes, then indeed Retool is a great choice because it connects to Google Sheets and lets you build a front end on top of it. An alternative could be AppSheet, which belongs to Google and does the same.

My advice, however, would be not to use a spreadsheet as a database. I won't go into all the reasons for this. But a spreadsheet is not designed to support web applications. At some point, it will either become very slow or you will struggle with data integrity, especially if you have ten users reading & writing data concurrently. That's why I'd look for an online database application builder.

Now, this is where I'm biased, given my role at Five, but here's what Five lets you do:

  1. You can create your own MySQL database straight inside Five. So instead of storing data in a spreadsheet, you store it in a web-hosted MySQL database.

  2. You can import CSV files into your database, so your existing data won't be lost.

  3. You can then build the front end on top of the MySQL database.

The advantages: you get something that is scalable and won't break in the future. And MySQL is open-source, so even if at some point in the future, you won't go elsewhere with your application, your data is portable.

Lastly, Five costs you less. Our website is https://www.five.co

Hope this helps and as I said, think about the right back end for your application first. :)

Dom

See more
Needs advice
on
CodeIgniterCodeIgniter
and
LaravelLaravel

I need to build a web application plus android and IOS apps for an enterprise, like an e-commerce portal. It will have intensive use of MySQL to display thousands (40-50k) of live product information in an interactive table (searchable, filterable), live delivery tracking. It has to be secure, as it will handle information on customers, sales, inventory. Here is the technology stack: Backend: Laravel 7 Frondend: Vue.js, React or AngularJS?

Need help deciding technology stack. Thanks.

See more
Replies (8)
anas mattar
Technical Lead at DPO International · | 19 upvotes · 110.7K views
Recommends
LaravelLaravelVue.jsVue.js

It's better to use Laravel with Vue.js and also laravel is very lightweight and speed performance.

See more
Jagdeep Singh
Tech Lead at Founder + Lightning · | 8 upvotes · 97.7K views
Recommends
LaravelLaravel

Go for Laravel 8 (not 7, obviously because it's the latest version and has a lot of new features and bug fixes) when it comes to backend coding.

Go for Vue.js (if you don't have any preference) because it is having by default configuration setup in Laravel).

Pick MySQL or PostgreSQL both work fine.

If you know GCP, go for it, otherwise go for Heroku.

Avoid spending time on hosting setup - prefer PaaS based solutions.

In Laravel, try Laravel Breeze or Jetstream - these might make the development much faster - at least for the basic setup that is there.

See more

40-50k should not be a problem at all for the database nor for any frontend/backend combo. Laravel works pretty well with Vue.js, for example; and you can include Elasticsearch in the combo if you really need fulltext search capabilites in your app. That will be much more decisive in the final product than the frontend stack chosen.

See more
Brandon Miller
Recommends
GolangGolangNode.jsNode.js

I don't know anything really about CodeIgniter, but I do know that microservices are a great choice for e-commerce, as they tend to have a lot of different moving (but not necessarily connected) parts. That being said, and if you have a choice, I'd recommend Go personally. But node isn't the worst option if Go isn't something you're comfortable with.

If you know typescript and want an entire framework to work with, go wth Angular. AngularJS, to my knowledge was deprecated. React is great, popular, and you'll find a ton of support.

See more
Vlad Macovei
Full stack developer at EasyDo Digital Technologies · | 4 upvotes · 46K views
Recommends
LaravelLaravelNuxt.jsNuxt.js

I highly recomand using the Vue based Nuxt framework for the front end. It is not required to use the server render feature and the folder based routing and stores are really nice to work with. In addition it brings component auto import and lots of plugins neatly integrated (authentication, i18n, socket.io, etc.). If in the setup process you also chose Vuetify as a component library you will cover 98% of needed components.

As for Laravel vs CodeIginter I would chose Laravel as the safest bet. Sadly, CodeIgniter development slowed down after the main contributor's death. It is also worth mentioning, as others did, that the initial boost Vue got is from Laravel's creator and community. The simplicity and ease of use mindset is shared.

See more
Nic Rosental
Recommends
Vue.jsVue.js

I can't speak to Angular since I haven't used it for at least 3 years (I wasn't a fan back then) but both React and Vue are great frameworks and will do the job just fine. Since you are using Laravel for the back end I'd recommend Vue. There's a lot of overlap between the communities and most Laravel developers I know do favor Vue over React.

See more
Prashant Singh Ahluwalia
Head of Engineering - AIOps at Microsoft · | 2 upvotes · 34.7K views
Recommends

If your customer is an enterprise, I'll strongly recommend leveraging Azure or AWS for building and hosting your backend. AWS API Gateway + AWS Lambda + AWS RDS would be a good combination. You might want to run everything in your VPC if security / privacy are your top concerns.

See more
Recommends
LaravelLaravel

Laravel is the best tool in php and I know it also if i don't develop in php. Vue.js is the future. In combination with https://bootstrap-vue.org/ is THE solution.

Best regards

See more
Needs advice
on
CakePHPCakePHPIgnite UIIgnite UI
and
LaravelLaravel

Hi, Which tool will you recommend:

I need to build a web application, oriented to small businesses, like a small ERP. It will have intensive use of Sql to access a PostgreSQL database. It has to be secure, as it will handle information on customers, sales, inventory.

If you think another tool will be better, please let that know.

Thanks a lot

See more
Replies (2)
Krunal Shah
Full Stack Developer at Infynno Solutions · | 5 upvotes · 50.2K views

Laravel and Postgres will be the better solutions you can add more like Redis for caching and React/Vue for the frontend.

See more
Recommends
Spring BootSpring Boot

Check Spring, if security and reliability is needed along with Lots of Database , check Spring Data, spring web, spring security

See more
Needs advice
on
CodeIgniterCodeIgniterLaravelLaravel
and
Node.jsNode.js

Hi, We are thinking to rebuild a website and need your suggestion on which platform to choose from NodeJs, Laravel & CodeIgnitor. Since it's an education base website and there will be multiple functionalities like the use of graphics, video, animation and off-course forms for lead generation. Please advise us which tool to use to build the website considering load-time, server security, code vulnerability, etc.

See more
Replies (4)
Recommends
LaravelLaravel

It has the necessary packages for what you need, in addition to optimizing your time with what is needed.

See more
JT Turner
Lean Software Programmer · | 1 upvotes · 150.7K views

Node.js is great but if I had a choice for something like this I would pick Elixir and Phoenix. They have LiveViews and channels which be one step up then the other 3 plateforms. It will also scale better and respond faster. Last will probably far less code as well.

See more
Recommends
Node.jsNode.js

Node.js is the perfect tech to real-time features like chats, forums, quizzes and polls. Additionally it has great support for objects storage like Mongodb and its important for file media management.

See more
abdul mobeen
Backend Engineer(PHP◆Laravel◆CodeIgniter◆APIs◆Microservices) at StarsLeague · | 0 upvotes · 150.2K views
Recommends
Node.jsNode.js

I would suggest you to pick the right stack for the right purpose. My suggestion would be to go for Microservices approach and break your app into smaller pieces according to the type of functionality like you mentioned above. E.g if you would be expecting the high traffic on you platform, then Node.js can be used as the endpoint there to handle that traffic. Normal form processing can be done in Laravel but I would not suggest codeigniter as managing code is difficult there.

So this way you can decide do architecture you app and can use the best of the feature from all the languages. Even it would be easier for you to manage your app based on the functionality and team who will be working on that. Hope you would like my suggestions.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of CakePHP
Pros of CodeIgniter
  • 35
    Open source
  • 25
    Really rapid framework
  • 19
    Good code organization
  • 13
    Flexibility
  • 10
    Security best practices
  • 7
    Clean architecture
  • 5
    ORM
  • 5
    Less code
  • 4
    Composer friendly
  • 4
    Convention Over Configuration
  • 2
    CakePhp Book
  • 2
    Cake Bake
  • 2
    Built-in Validation
  • 1
    Ctp view File extension
  • 1
    CakePhp inflector
  • 1
    Quickly develop
  • 1
    Rest Full Apis
  • 86
    Mvc
  • 76
    Easy setup
  • 70
    Open source
  • 62
    Well documented
  • 36
    Community support
  • 25
    Easy to learn
  • 21
    Easy
  • 14
    Fast
  • 11
    HMVC
  • 9
    Language Suppert
  • 9
    "Fast","Easy","MVC"
  • 7
    Powerful
  • 6
    Open source, Easy to setup
  • 6
    I think it is best. we can make all types of project
  • 6
    Easy, fast and full functional
  • 5
    Customizable
  • 5
    Beginner friendly framework
  • 4
    Super Lightweight, Super Easy to Learn
  • 3
    CLI
  • 2
    Easily Extensible
  • 1
    Powerful

Sign up to add or upvote prosMake informed product decisions

Cons of CakePHP
Cons of CodeIgniter
  • 1
    Robust Baking Tool
  • 1
    Follows Good Programming Practices
  • 6
    No ORM
  • 1
    No CLI

Sign up to add or upvote consMake informed product decisions

- No public GitHub repository available -

What is CakePHP?

It makes building web applications simpler, faster, while requiring less code. A modern PHP 7 framework offering a flexible database access layer and a powerful scaffolding system.

What is CodeIgniter?

CodeIgniter is a proven, agile & open PHP web application framework with a small footprint. It is powering the next generation of web apps.

Need advice about which tool to choose?Ask the StackShare community!

What companies use CakePHP?
What companies use CodeIgniter?
See which teams inside your own company are using CakePHP or CodeIgniter.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with CakePHP?
What tools integrate with CodeIgniter?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to CakePHP and CodeIgniter?
Laravel
It is a web application framework with expressive, elegant syntax. It attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.
WordPress
The core software is built by hundreds of community volunteers, and when you’re ready for more there are thousands of plugins and themes available to transform your site into almost anything you can imagine. Over 60 million people have chosen WordPress to power the place on the web they call “home” — we’d love you to join the family.
Rails
Rails is a web-application framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.
PHP
Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
Django
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
See all alternatives