phlexus / phlexus-library-auth
Phlexus Auth Library
v0.4.0
2020-10-06 22:47 UTC
Requires
- php: >=7.2
- ext-phalcon: ^4.0
Requires (Dev)
- phalcon/ide-stubs: ^4.0
- phpunit/phpunit: ^8
This package is auto-updated.
Last update: 2024-10-27 19:22:45 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