No description
| .vscode | ||
| config | ||
| src | ||
| .editorconfig | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| changelog.md | ||
| composer.json | ||
| license.md | ||
| phpcs.xml | ||
| phpunit.xml | ||
| README.md | ||
LDC Web Admin Secure Laravel
Install on Laravel
composer req ldc/web-admin-secure-laravel
.env.example :
# ADMIN SECURE
# - API ENDPOINT (Optional)
LDC_WEB_API_ENDPOINT="https://ldc-web.ldc.fr/api/ldc-networks"
# - API KEY
LDC_WEB_API_KEY=""
# - LIST SEPARATED WITH ',' (Optional)
LDC_WEB_CIDR_MANUAL_ALLOWED_LIST=""
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 !!