You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-3Lines changed: 15 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,16 @@
9
9
10
10
#### Quickly add some password protection to a staging site.
11
11
12
+
Shielding a staging or demo website from the public usually involves setting op authentication separate from the actual project. This isn't always easy or is cumbersome at the least.
13
+
14
+
It doesn't have to be!
15
+
16
+
By installing StageFront with composer and setting 3 variables in your `.env` you are ready to go. As you will discover below, you also have a bunch more options available.
Laravel will automatically register the [`ServiceProvider`](https://github.com/codezero-be/laravel-stagefront/blob/master/src/StageFrontServiceProvider.php) and the [`RedirectIfStageFrontIsEnabled`](https://github.com/codezero-be/laravel-stagefront/blob/master/src/Middleware/RedirectIfStageFrontIsEnabled.php) middleware. You just need to set some `.env` variables and your up and running!
26
32
33
+
When StageFront is disabled, its routes and middleware will not be registered.
34
+
27
35
## Quick Setup
28
36
29
37
Set some options in your `.env` file or publish the [configuration file](#publish-configuration-file).
30
38
31
-
See an [example .env file](.env.example).
39
+
See an [example .env file](https://github.com/codezero-be/laravel-stagefront/blob/master/.env.example).
32
40
33
41
Enable StageFront and choose a login and password:
34
42
@@ -158,6 +166,10 @@ vendor/bin/phpunit
158
166
159
167
If you discover any security related issues, please [e-mail me](mailto:ivan@codezero.be) instead of using the issue tracker.
160
168
169
+
## Changelog
170
+
171
+
See a list of important changes in the [changelog](https://github.com/codezero-be/laravel-stagefront/blob/master/CHANGELOG.md).
172
+
161
173
## License
162
174
163
-
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
175
+
The MIT License (MIT). Please see [License File](https://github.com/codezero-be/laravel-stagefront/blob/master/LICENSE.md) for more information.
0 commit comments