News for hackers. Stuff that matters.
Re:Modern Defense Against CSRF Attacks by sarciszewski on Saturday February 28, 2015 @12:15AM (#9122867)
Source code: https://github.com/resonantcore/anti-csrf

It's free software released under the Affero GNU Public License. Feel free to use it in other FLOSS projects written in PHP.