Download the PHP package mohamed-elsayed-ibrahim/filament-lockscreen without Composer
On this page you can find all versions of the php package mohamed-elsayed-ibrahim/filament-lockscreen. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mohamed-elsayed-ibrahim/filament-lockscreen
More information about mohamed-elsayed-ibrahim/filament-lockscreen
Files in mohamed-elsayed-ibrahim/filament-lockscreen
Package filament-lockscreen
Short Description A lockscreen plugin for Filament v3 with inactivity timeout and secure unlock functionality.
License MIT
Homepage https://github.com/mohamedElsayedIbrahim/filament-lock-screen
Informations about the package filament-lockscreen
Filament Lock Screen
A modern lock screen plugin for Filament v3 that automatically locks inactive sessions and requires password re-authentication without logging users out.
Features
- 🔒 Automatic session locking after inactivity
- 🔓 Secure password-based unlock
- 🎨 Modern overlay lock screen
- ⚡ Native Filament v3 integration
- 🧩 Plugin-based architecture
- 📡 Lock / Unlock events
- ⚙️ Configurable timeout
- 🚀 No database tables required
- 🔐 Session-based security
- 🎯 Easy installation and setup
Requirements
| Package | Version |
|---|---|
| PHP | 8.1+ |
| Laravel | 10.x / 11.x |
| Filament | 3.x |
Installation
Install the package via Composer:
Publish Configuration
This will create:
Configuration
Register the Plugin
Inside your Filament Panel Provider:
How It Works
Activity Tracking
The plugin continuously tracks authenticated user activity.
When no activity occurs within the configured timeout period:
- Session becomes locked.
- Overlay appears immediately.
- User interaction is blocked.
- Password verification is required.
Unlock Process
The user enters their current password.
The plugin validates it using Laravel's hashing system:
If valid:
- Session is restored
- Lock state is removed
- User continues working without page reload
Events
Locked Event
Example:
Unlocked Event
Example:
Customizing the View
Publish views:
Published location:
You can fully customize:
- Colors
- Branding
- Logo
- Layout
- Animations
- Typography
Example Environment Variables
Common Values
| Time | Seconds |
|---|---|
| 5 Minutes | 300 |
| 10 Minutes | 600 |
| 15 Minutes | 900 |
| 30 Minutes | 1800 |
| 1 Hour | 3600 |
Security
The plugin:
- Never stores passwords
- Uses Laravel Hash verification
- Uses session-based locking
- Works with Filament authentication
- Prevents unauthorized access to active sessions
Architecture
Roadmap
Planned Features
- [ ] PIN Unlock Mode
- [ ] Biometric Unlock Support
- [ ] Multi-panel Support
- [ ] User-specific Timeout Settings
- [ ] Role-based Lock Policies
- [ ] Audit Log Integration
- [ ] Browser Activity Detection
- [ ] Dark Mode Optimizations
- [ ] Team Admin Override
Testing
Run tests:
or
Contributing
Contributions are welcome.
- Fork the repository
-
Create a feature branch
-
Commit your changes
-
Push to GitHub
- Open a Pull Request
Changelog
Please see CHANGELOG.md for more information on recent updates.
License
The MIT License (MIT).
Credits
- Laravel
- FilamentPHP
- Livewire
Support
If you discover a bug or have a feature request, please open an issue on GitHub.
GitHub Repository:
https://github.com/mohamedElsayedIbrahim/filament-lock-screen
Made with ❤️ for the Filament community.
All versions of filament-lockscreen with dependencies
filament/filament Version ^3.0
illuminate/routing Version ^10.0|^11.0
illuminate/support Version ^10.0|^11.0
illuminate/view Version ^10.0|^11.0