Yes, and I view this a strength of PHP, that you can write your own mini framework with a few lines. And as result we have many reliable frameworks to pick from for PHP.
Other languages typically only have one dominant web framework, like Java Spring, which typically leads to a stagnating community.