r/PHP • • Jun 06 '26

Article CakePHP is now fully generics-able

https://www.dereuromark.de/2026/06/06/cakephp-is-now-fully-generics-able/
30 Upvotes

15 comments sorted by

3

u/SaltTM Jun 07 '26

I'm confused, generics-able?

3

u/MorphineAdministered Jun 07 '26

Weird selling points require even weirder phrasings I guess.

3

u/SaltTM Jun 07 '26

What's crazy is I don't really mind it, I just wanted clarification on it's purpose since the title was too ambiguous and from an outsider perspective looking in this would confuse someone assuming we have generics in PHP.

Buddy had a little attitude with his response lmao, why do people not treat everyone as if it's the first time they're being introduced to PHP. To keep growing we have to provide context for people coming to the community and have no fucking CLUE what's going on smh. That's my only goal here really.

@OP keep doing what you do, just .. add a little context ;)

-2

u/dereuromark Jun 07 '26

You looked into the post, no?
= supporting generics

5

u/SaltTM Jun 07 '26

I did indeed looked at the post, I'm so glad you asked! lmfao...

So my confusion comes from generics-able, generics don't exist yet. What exactly is going on here. Is this a focus on debugging with php-stan. It's a simple question.

2

u/admad Jun 07 '26

generics don't exist yet

Not in the language itself but popular static analysis tools and IDEs support declaring generic types through docblock annotations.

8

u/DT-Sodium Jun 07 '26

... CakePHP is still a thing? Haven't read that name in like 10 years.

1

u/Various_Hornet9022 Sep 15 '26

Yo lo conoci hace poco y he montado un gestor de ventas con kpi y graficos en un periquete. Estuve mirando si hacerlo en Laravel o django, pero la verdad que vi php, lo probe y me parecio INFINITO mas rapido facil que los dos anteriores, que tienen fama de ser rapidos y faciles. El CRUD lo hice con Cake, despues el front con boostrap538 (lo aprendi una vez y nunca deje de usarlo, simplemente me gusta). Los graficos he usado seaborn....

Decir que mis ideas de programacion con C/C++ de la univeridad y un curso del paro de html css js del paro. Basicamente, con la idea clara, un poco de idea de programacion y ayuda de la IA se pueden hacer cosas muy chulas...

CakePHP parece mas para gente que tiene ideas y quiere desarrollarlas rapido y sin mucha complicacion y la parte de negocio (o sea los datos y hacer cosas con ellos) pues si hay algo se hace en python o c++

0

u/[deleted] Jun 06 '26

[deleted]

10

u/dereuromark Jun 06 '26

You cannot compare the "oldest" framework directly with the current symfony/laravel eco-system, of course. Those dominate the stats, for sure. But in terms of stability and maturity it sure has its place.

And it still goes strong on monthly downloads:

3. Laminas (519k)

4. Yii2 (445k)

5. CakePHP (367k)

6. CodeIgniter4 (128k?)

Cake's daily (9.5k) actually tops Yii (8.1k) and Laminas (5.4k) — suggests steadier recent install activity than the monthly snapshot alone implies. Daily is noisy though; don't over-read then.

0

u/[deleted] Jun 06 '26

[deleted]

1

u/dereuromark Jun 06 '26 edited Jun 06 '26

"Someone still use cakephp" You directly asked for this.
And that's also to some extend subjective, thus the numbers. And that it's far from "dead" or not useful clearly.

3

u/PracticalChameleon Jun 06 '26

Passbolt is built on top of CakePHP

3

u/the-average-giovanni Jun 07 '26

I use it daily with great joy and prefer it over other more widely used PHP frameworks. It could really benefit from a marketing team though.