Laravel HMAC Authentication Bundle

Posted in Projects on Feb 21, 2013

This project provides a way to simply implement custom HMAC authentication for a Laravel application. Full README on Github. Grab the source from Github here!

Example Usage:

To apply this on every request, change application/routes.php's before filter to something along the following lines:

Route::filter('before', function()
  $fail_msg = 'Unable to authenticate';
  $fail_response = Response::json(array('message' => $fail_msg), 401);

    return $fail_response;