The kirby cms is based on my kirby framework, which I'm developing for some years now. It's more a toolkit than a framework with multiple functions to make PHP code more consistent, easier to write and easier to read. You get that for free with kirby cms so if you want to learn more about it, check out the docs over at http://toolkit.getkirby.com