Would you agree this is the definition of a PHP framework?

It is NOT repeated code! The same code is run many times, but each time it produces a different result by creating new records on the database or new files on disk.

The DRY principle is only violated when you have identical blocks of code appearing in multiple places in the same piece of software.