|
1 | 1 | # Laravel 2 Step Verification |
2 | 2 |
|
3 | | -[](https://packagist.org/packages/jeremykenedy/laravel-monitor) |
4 | | -[](https://packagist.org/packages/jeremykenedy/laravel-monitor) |
5 | | -[](https://packagist.org/packages/jeremykenedy/laravel-monitor) |
6 | | -[](https://packagist.org/packages/jeremykenedy/laravel-monitor) |
| 3 | +[](https://packagist.org/packages/jeremykenedy/laravel2step) |
| 4 | +[](https://packagist.org/packages/jeremykenedy/laravel2step) |
| 5 | +[](https://packagist.org/packages/jeremykenedy/laravel2step) |
7 | 6 |
|
8 | 7 | - [About](#about) |
9 | | -- [Features](#features) |
10 | | -- [Requirements](#requirements) |
11 | | -- [Installation Instructions](#installation-instructions) |
12 | | -- [Configuration](#configuration) |
13 | | - - [Environment File](#environment-file) |
14 | | -- [Usage](#usage) |
15 | | -- [Routes](#routes) |
16 | | -- [Screenshots](#screenshots) |
17 | | -- [File Tree](#file-tree) |
| 8 | +- [Future](#future) |
18 | 9 | - [License](#license) |
19 | 10 |
|
20 | 11 | ### About |
21 | | -Laravel monitor is an an uptime monitor for all your sites and projects. |
22 | | - |
23 | | -### Features |
24 | | - |
25 | | -| Laravel Logger Features | |
26 | | -| :------------ | |
27 | | -|Content goes here| |
28 | | - |
29 | | -### Requirements |
30 | | -* [Laravel 5.1, 5.2, 5.3, 5.4, or 5.5+](https://laravel.com/docs/installation) |
31 | | -* [jaybizzle/laravel-crawler-detect](https://github.com/JayBizzle/Laravel-Crawler-Detect) included dependency in composer.json (for crawler detection) |
32 | | - |
33 | | -### Installation Instructions |
34 | | -1. From your projects root folder in terminal run: |
35 | | - |
36 | | -```bash |
37 | | - composer require jeremykenedy/laravel-monitor |
38 | | -``` |
39 | | - |
40 | | -2. Register the package |
41 | | - |
42 | | -* Laravel 5.5 and up |
43 | | -Uses package auto discovery feature, no need to edit the `config/app.php` file. |
44 | | - |
45 | | -* Laravel 5.4 and below |
46 | | -Register the package with laravel in `config/app.php` under `providers` with the following: |
47 | | - |
48 | | -```php |
49 | | - 'providers' => [ |
50 | | - jeremykenedy\LaravelMonitor\LaravelMonitorServiceProvider::class, |
51 | | - ]; |
52 | | -``` |
53 | | - |
54 | | -3. Run the migration to add the table to record the activities to: |
55 | | - |
56 | | -```php |
57 | | - php artisan migrate |
58 | | -``` |
59 | | - |
60 | | -* Note: If you want to specify a different table or connection make sure you update your `.env` file with the needed configuration variables. |
61 | | - |
62 | | -4. Optionally Update your `.env` file and associated settings (see [Environment File](#environment-file) section) |
63 | | - |
64 | | -5. Optionally publish the packages views, config file, assets, and language files by running the following from your projects root folder: |
65 | | - |
66 | | -```bash |
67 | | - php artisan vendor:publish --tag=laravelmonitor |
68 | | -``` |
69 | | - |
70 | | -### Configuration |
71 | | -Laravel Monitor can be configured in directly in `/config/laravel-monitor.php` if you published the assets. |
72 | | -Or you can variables to your `.env` file. |
73 | | - |
74 | | -##### Environment File |
75 | | -Here are the `.env` file variables available: |
76 | | - |
77 | | -```bash |
78 | | - ... |
79 | | -``` |
80 | | - |
81 | | -### Usage |
82 | | - ... |
83 | | - |
84 | | -### Routes |
85 | | -##### Laravel Monitor Dashbaord Routes |
86 | | - |
87 | | -* ```/route``` |
88 | | - |
89 | | -### Screenshots |
90 | | - |
91 | | - |
92 | | -### File Tree |
93 | | - |
94 | | -```bash |
95 | | - ... |
96 | | -``` |
97 | | - |
98 | | -* Tree command can be installed using brew: `brew install tree` |
99 | | -* File tree generated using command `tree -a -I '.git|node_modules|vendor|storage|tests` |
| 12 | +Laravel 2 step verifcation is a package to add 2 step user authentication to any laravel project easily. It is configurable and customizable. It uses notifications to send the user an email with a 4 digit verfication code. |
| 13 | + |
| 14 | +### Future |
| 15 | +* Have more configurable options via the config file to run to env file. For: |
| 16 | + * Optional compiled CSS/JS |
| 17 | + * Optional use of modals/alerts in front end with optional sweetalert2.js |
| 18 | + * Configurable blade extensions options. |
| 19 | + * Its own HTML email template. |
| 20 | +* Add in additional notications for SMS or ???. |
| 21 | +* Add in capture Ip Address. |
| 22 | +* Change to incrimential tables and logic accordingly |
| 23 | + * Create Artisan command and job to prune said entries. |
100 | 24 |
|
101 | 25 | ### License |
102 | 26 | Laravel-monitor is licensed under the MIT license. Enjoy! |
|
0 commit comments