Download the PHP package yaman-shahbander-dev/totp-generator without Composer
On this page you can find all versions of the php package yaman-shahbander-dev/totp-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download yaman-shahbander-dev/totp-generator
More information about yaman-shahbander-dev/totp-generator
Files in yaman-shahbander-dev/totp-generator
Download yaman-shahbander-dev/totp-generator
More information about yaman-shahbander-dev/totp-generator
Files in yaman-shahbander-dev/totp-generator
Vendor yaman-shahbander-dev
Package totp-generator
Short Description A PHP implementation of Time-Based One-Time Password (TOTP), using Base32 encoding and HMAC hashing. Generates and verifies OTPs for secure authentication.
License MIT
Package totp-generator
Short Description A PHP implementation of Time-Based One-Time Password (TOTP), using Base32 encoding and HMAC hashing. Generates and verifies OTPs for secure authentication.
License MIT
Please rate this library. Is it a good library?
Informations about the package totp-generator
laravel-totp
A Laravel package for generating and verifying Time-Based One-Time Passwords (TOTP) compatible with RFC 6238. Provides both facade and contract-based implementations.
Features
- Generate TOTP codes
- Verify TOTP codes with configurable window
- Base32 encoding/decoding utilities
- Configurable parameters (period, digits, verification window)
- Laravel facade and service provider integration
Installation
-
Install via Composer:
- Publish the configuration file (optional):
Configuration
Default values in config/totp.php:
Usage
Using the Facade
Using Dependency Injection
Direct Usage
Base32 Utilities
Security Considerations
- Always store secrets securely (encrypted at rest)
- Use secure random bytes for secret generation
- Consider rate limiting verification attempts
- The package uses SHA-1 by default (compatible with most authenticator apps)
License
MIT License (see LICENSE file)
All versions of totp-generator with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.2|^8.0
laravel/framework Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0
illuminate/support Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0
laravel/framework Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0
illuminate/support Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0
The package yaman-shahbander-dev/totp-generator contains the following files
Loading the files please wait ....