falcon758 / phlexus-library-auth
Phlexus Auth Library
2.1.0
2022-12-07 15:44 UTC
Requires
- php: >=7.4
- ext-phalcon: ^5.0
Requires (Dev)
- phalcon/ide-stubs: ^5.0
- phpunit/phpunit: ^8
This package is auto-updated.
Last update: 2025-03-06 16:57:24 UTC
README
Authentication library for Phlexus CMS. With support of several drivers/adapters to use for different situations.
Inspired by SidRoberts/phalcon-auth
Example of usage
use Phlexus\Libraries\Auth\Manager as AuthManager; $manager = new AuthManager('plain', ['auth_file_path' => 'passwords.txt']); $manager->login(['user', 'password']);
Currently supported drivers
- model - Phalcon Model
- plain - Plain text file