PHP Package: mezzio/mezzio-authentication

Mezzio authentication library for secure user authentication and authorization handling in PHP applications.

Current Version: 1.12.0
Last Updated: 2025-10-12
PHP Requirement: ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0
Dependencies:
mezzio/mezzio
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Mezzio authentication library provides robust solutions for secure user authentication, role-based access control, and session management in PHP projects. It offers customizable authentication middleware, flexible configuration options, and seamless integration with Mezzio framework.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 1.12.0

Download Download v1.12.0

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/mezzio/mezzio-authentication/1.12.0/loader.php';
require_once 'libs/mezzio/mezzio/3.22.1/loader.php';

use Mezzio\Authentication\AuthenticationMiddleware;
use Mezzio\Authentication\UserInterface;

$obj = new AuthenticationMiddleware();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.