Laravel Devices is a comprehensive package for managing user devices and sessions in Laravel applications. It provides robust device tracking, session management, and security features including device fingerprinting and two-factor authentication support.
This is a work in progress, and maybe or maybe not be ready for production use. Help is needed to improve the project and write documentation so if you are interested in contributing, please read the contributing guide.
- Authenticated User Devices
- Session Management
- Session blocking
- Session locking (Google 2FA support for session locking)
- Session location tracking
- Device verifying
- Custom id format for sessions and devices
- Application events
- Ready to use middleware, routes, controllers, dtos, value objects and resources
- Ready to use Google 2FA integration
- Cache support for devices, sessions, locations and user agents
- FingerprintJS and ClientJS integrations for device fingerprinting
- Device hijacking detection
- Livewire integrations for Laravel Jetstream and Laravel Breeze
- Laravel Pulse integration
Please refer to the documentation for more information on the features and how to use this package.
This project is developed and maintained by 🥷 Diego Rin in his free time.
Special thanks to:
- Laravel Framework for providing the most exciting and well-crafted PHP framework.
- Hamed Mehryar for developing the inital code that serves Laravel Devices as starting point.
- All the contributors and testers who have helped to improve this project through their contributions.
If you find this project useful, please consider giving it a ⭐ on GitHub!