PHP SimpleSaml Implementation already configured to work with Fucina Ludica's Identity Provider. Follow the readme instructions to deploy it.