CakePHP vs NestJS: 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 NestJS? A progressive Node.js framework for building efficient and scalable server-side applications by @kammysliwiec. Nest is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with TypeScript (preserves compatibility with pure JavaScript) and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming)
Under the hood, Nest makes use of Express, but also, provides compatibility with a wide range of other libraries, like e.g. Fastify, allowing for easy use of the myriad third-party plugins which are available..
CakePHP and NestJS can be primarily classified as "Frameworks (Full Stack)" tools.
"Open source" is the primary reason why developers consider CakePHP over the competitors, whereas "Powerful but super friendly to work with" was stated as the key factor in picking NestJS.
CakePHP and NestJS are both open source tools. It seems that NestJS with 17.4K GitHub stars and 1.22K forks on GitHub has more adoption than CakePHP with 7.9K GitHub stars and 3.4K GitHub forks.
Swat.io, Zumba, and Adsia are some of the popular companies that use CakePHP, whereas NestJS is used by Sofit Software, Quero Education, and YABAWT. CakePHP has a broader approval, being mentioned in 66 company stacks & 29 developers stacks; compared to NestJS, which is listed in 12 company stacks and 13 developer stacks.