Download the PHP package robertseghedi/laravel-advanced-security without Composer
On this page you can find all versions of the php package robertseghedi/laravel-advanced-security. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download robertseghedi/laravel-advanced-security
More information about robertseghedi/laravel-advanced-security
Files in robertseghedi/laravel-advanced-security
Package laravel-advanced-security
Short Description This is a fresh Laravel plugin which gets security data from your users and gives you the chance to store it crypted or decrypted, with no stress. Educational purposes only / other purposes but on your own liability.
License MIT
Informations about the package laravel-advanced-security
Laravel Advanced Security
One of the most optimized plugins for securing the Laravel users accounts.
This is a fresh Laravel plugin which gets security data from your users and gives you the chance to store it crypted or decrypted, with no stress. Educational purposes only / other purposes but on your own liability.
Instalation
First, you have to install the package using composer in your project root folder:
Then, you have to add the provider to your like that:
Run the migrate command in order to add the secure-logs table
Information
Command name | What it does |
---|---|
LAS::ip() | Gets the authenticated user's IP address |
LAS::purify($data) | Purifies some string |
LAS::os() | Gets the authenticated user's operating system |
LAS::browser() | Gets the authenticated user's browser |
LAS::file_size($kb) | Transforms numbered KB to 100 GB |
LAS::password($length) | Generates random numbered-lettered password in the mentioned length - default is 10 |
LAS::pin($length) | Generates a custom PIN in the mentioned length - default is 4 |
LAS::ssl() | Returns if the actual site is secured or not (SSL) |
LAS::log($user, $text) | Inserts an encrypted log with text to a user |
LAS::logs($user, $results, $time) | Efficiently fetches & caches user logs based on the mentioned criteria |
LAS::all_logs($results, $time) | Efficiently fetches & caches all the secure logs |
Usage
Now you can start using the package.
1. Include it in your controller
2. Start using the tools
3. Do whatever you want with the data
Follow this package for future updates