We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

How to make a simple audit?

What features should I use? Things like getting the computer name, ip or something



6.0k

Security audit ?

edited May '16

You build your own layer, in beforeExecuteRoute

Triggered before executing the controller/action method. At this point the dispatcher has been initialized the controller and know if the action exist.

Record everything in a database from there.