ldc-web-admin-secure-laravel/README.md

36 lines
690 B
Markdown
Raw Permalink Normal View History

2022-06-24 18:17:20 +02:00
# LDC Web Admin Secure Laravel
## Install on Laravel
```
2023-06-05 10:38:03 +00:00
composer req ldc/web-admin-secure-laravel
2022-06-24 18:17:20 +02:00
```
.env.example :
```dotenv
# ADMIN SECURE
# - API ENDPOINT (Optional)
LDC_WEB_API_ENDPOINT="https://ldc-web.ldc.fr/api/ldc-networks"
# - API KEY
2023-07-24 07:13:37 +00:00
LDC_WEB_API_KEY=""
# - LIST SEPARATED WITH ',' (Optional)
LDC_WEB_CIDR_MANUAL_ALLOWED_LIST=""
2022-06-24 18:17:20 +02:00
```
README.md :
```
Put every min in PROD :
php artisan schedule:run
```
## Available Commands
```
ldcweb:admin-secure-sync
```
## Usage
Put 'admin-secure' middleware on route to protect it.
## Cron configure
Nothing to do command is already configureed to run everyday.
You just need to install this package.
**!! Runs only in production !!**