I just mindcoded (hahahaha) a small python utility to find all actions done on a package with apt.
useful to know when your php was updated.
I can share if that is of interest for anyone of you.
edit: did the same for dpkg since apt will miss manually installed packages.