Add ldc/web-admin-secure-laravel
This commit is contained in:
parent
c43c1559cd
commit
6c9e430566
4 changed files with 283 additions and 2 deletions
|
|
@ -46,3 +46,11 @@ GOOGLE_RECAPTCHA_PRIVATE=6LeQxHoUAAAAAOudkLY90DerM_ZtlaFfzTlJJvIo
|
|||
GOOGLE_RECAPTCHA_VERSION=2
|
||||
# - MAPS
|
||||
GOOGLE_MAPS_KEY=
|
||||
|
||||
# ADMIN SECURE
|
||||
# - API ENDPOINT (Optional)
|
||||
LDC_WEB_API_ENDPOINT=""
|
||||
# - API KEY
|
||||
LDC_WEB_API_KEY=""
|
||||
# - LIST SEPARATED WITH ',' (Optional)
|
||||
LDC_WEB_CIDR_MANUAL_ALLOWED_LIST=""
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
"laravel/framework": "^10.0",
|
||||
"laravel/tinker": "^2.8",
|
||||
"laravel/ui": "^4.2",
|
||||
"ldc/web-admin-secure-laravel": "^2.0",
|
||||
"mews/purifier": "^3.4",
|
||||
"sentry/sentry-laravel": "^3.3",
|
||||
"simplesoftwareio/simple-qrcode": "~4",
|
||||
|
|
|
|||
274
composer.lock
generated
274
composer.lock
generated
|
|
@ -1026,6 +1026,103 @@
|
|||
],
|
||||
"time": "2022-09-10T18:51:20+00:00"
|
||||
},
|
||||
{
|
||||
"name": "dxw/cidr",
|
||||
"version": "v3.1.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/dxw/cidr.git",
|
||||
"reference": "61d699459e9bddc7222ac1eb3ffc9ffcfdc2f546"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/dxw/cidr/zipball/61d699459e9bddc7222ac1eb3ffc9ffcfdc2f546",
|
||||
"reference": "61d699459e9bddc7222ac1eb3ffc9ffcfdc2f546",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"dxw/result": "^1.0",
|
||||
"phpseclib/phpseclib": "^2.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"friendsofphp/php-cs-fixer": "^2.16",
|
||||
"mockery/mockery": "^1.3",
|
||||
"peridot-php/leo": "^1.6",
|
||||
"peridot-php/peridot": "^1.19",
|
||||
"peridot-php/peridot-dot-reporter": "^1.0",
|
||||
"vimeo/psalm": "^3.2"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Dxw\\CIDR\\": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Mallory Adams",
|
||||
"email": "mallory@dxw.com",
|
||||
"homepage": "https://www.dxw.com"
|
||||
}
|
||||
],
|
||||
"description": "IP address matching with CIDR ranges",
|
||||
"homepage": "https://github.com/dxw/cidr",
|
||||
"support": {
|
||||
"issues": "https://github.com/dxw/cidr/issues",
|
||||
"source": "https://github.com/dxw/cidr/tree/master"
|
||||
},
|
||||
"time": "2020-05-06T16:46:43+00:00"
|
||||
},
|
||||
{
|
||||
"name": "dxw/result",
|
||||
"version": "v1.0.3",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/dxw/result.git",
|
||||
"reference": "eaa71abf0f9bba74cf5c832811a3a66a887e86d2"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/dxw/result/zipball/eaa71abf0f9bba74cf5c832811a3a66a887e86d2",
|
||||
"reference": "eaa71abf0f9bba74cf5c832811a3a66a887e86d2",
|
||||
"shasum": ""
|
||||
},
|
||||
"require-dev": {
|
||||
"friendsofphp/php-cs-fixer": "^2.15",
|
||||
"peridot-php/leo": "^1.6",
|
||||
"peridot-php/peridot": "^1.19",
|
||||
"peridot-php/peridot-dot-reporter": "^1.0",
|
||||
"vimeo/psalm": "^3.2"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Dxw\\Result\\": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Mallory Adams",
|
||||
"email": "mallory@dxw.com",
|
||||
"homepage": "https://www.dxw.com/"
|
||||
}
|
||||
],
|
||||
"description": "Result values",
|
||||
"homepage": "https://github.com/dxw/result",
|
||||
"support": {
|
||||
"issues": "https://github.com/dxw/result/issues",
|
||||
"source": "https://github.com/dxw/result/tree/v1.0.3"
|
||||
},
|
||||
"time": "2019-07-18T16:52:47+00:00"
|
||||
},
|
||||
{
|
||||
"name": "egulias/email-validator",
|
||||
"version": "4.0.1",
|
||||
|
|
@ -2521,6 +2618,71 @@
|
|||
},
|
||||
"time": "2023-05-09T19:47:28+00:00"
|
||||
},
|
||||
{
|
||||
"name": "ldc/web-admin-secure-laravel",
|
||||
"version": "2.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://lab.s-web.fr/ldc-web/projets/ldc-web-admin-secure-laravel.git",
|
||||
"reference": "5f0c6b136fd967102bafeefa3048ffd47dbbc9be"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://lab.s-web.fr/api/v4/projects/20/packages/composer/archives/ldc/web-admin-secure-laravel.zip?sha=5f0c6b136fd967102bafeefa3048ffd47dbbc9be",
|
||||
"reference": "5f0c6b136fd967102bafeefa3048ffd47dbbc9be",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"dxw/cidr": "^3.1",
|
||||
"illuminate/support": "~10",
|
||||
"laravel/framework": "~10",
|
||||
"php": ">=8.2"
|
||||
},
|
||||
"require-dev": {
|
||||
"orchestra/testbench": "^8",
|
||||
"phpunit/php-code-coverage": "^9",
|
||||
"phpunit/phpunit": "^9",
|
||||
"slevomat/coding-standard": "^7",
|
||||
"squizlabs/php_codesniffer": "^3"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"LDC\\WebAdminSecureLaravel\\AdminSecureServiceProvider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"LDC\\WebAdminSecureLaravel\\": "src/"
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"LDC\\WebAdminSecureLaravel\\Tests\\": "tests"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"test": [
|
||||
"vendor/bin/phpunit"
|
||||
],
|
||||
"post-autoload-dump": [
|
||||
"@php ./vendor/bin/testbench package:discover --ansi"
|
||||
]
|
||||
},
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Vincent BRIDIER",
|
||||
"email": "vincent.bridier@ldc.fr",
|
||||
"homepage": "https://www.ldc.fr"
|
||||
}
|
||||
],
|
||||
"description": "Restrict access to LDC Network"
|
||||
},
|
||||
{
|
||||
"name": "league/commonmark",
|
||||
"version": "2.4.0",
|
||||
|
|
@ -4266,6 +4428,116 @@
|
|||
],
|
||||
"time": "2023-02-25T19:38:58+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpseclib/phpseclib",
|
||||
"version": "2.0.42",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/phpseclib/phpseclib.git",
|
||||
"reference": "665d289f59e646a259ebf13f29be7f6f54cab24b"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/665d289f59e646a259ebf13f29be7f6f54cab24b",
|
||||
"reference": "665d289f59e646a259ebf13f29be7f6f54cab24b",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.3.3"
|
||||
},
|
||||
"require-dev": {
|
||||
"phing/phing": "~2.7",
|
||||
"phpunit/phpunit": "^4.8.35|^5.7|^6.0|^9.4",
|
||||
"squizlabs/php_codesniffer": "~2.0"
|
||||
},
|
||||
"suggest": {
|
||||
"ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.",
|
||||
"ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.",
|
||||
"ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.",
|
||||
"ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations.",
|
||||
"ext-xml": "Install the XML extension to load XML formatted public keys."
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"files": [
|
||||
"phpseclib/bootstrap.php"
|
||||
],
|
||||
"psr-4": {
|
||||
"phpseclib\\": "phpseclib/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Jim Wigginton",
|
||||
"email": "terrafrost@php.net",
|
||||
"role": "Lead Developer"
|
||||
},
|
||||
{
|
||||
"name": "Patrick Monnerat",
|
||||
"email": "pm@datasphere.ch",
|
||||
"role": "Developer"
|
||||
},
|
||||
{
|
||||
"name": "Andreas Fischer",
|
||||
"email": "bantu@phpbb.com",
|
||||
"role": "Developer"
|
||||
},
|
||||
{
|
||||
"name": "Hans-Jürgen Petrich",
|
||||
"email": "petrich@tronic-media.com",
|
||||
"role": "Developer"
|
||||
},
|
||||
{
|
||||
"name": "Graham Campbell",
|
||||
"email": "graham@alt-three.com",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.",
|
||||
"homepage": "http://phpseclib.sourceforge.net",
|
||||
"keywords": [
|
||||
"BigInteger",
|
||||
"aes",
|
||||
"asn.1",
|
||||
"asn1",
|
||||
"blowfish",
|
||||
"crypto",
|
||||
"cryptography",
|
||||
"encryption",
|
||||
"rsa",
|
||||
"security",
|
||||
"sftp",
|
||||
"signature",
|
||||
"signing",
|
||||
"ssh",
|
||||
"twofish",
|
||||
"x.509",
|
||||
"x509"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/phpseclib/phpseclib/issues",
|
||||
"source": "https://github.com/phpseclib/phpseclib/tree/2.0.42"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
"url": "https://github.com/terrafrost",
|
||||
"type": "github"
|
||||
},
|
||||
{
|
||||
"url": "https://www.patreon.com/phpseclib",
|
||||
"type": "patreon"
|
||||
},
|
||||
{
|
||||
"url": "https://tidelift.com/funding/github/packagist/phpseclib/phpseclib",
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-03-06T12:45:53+00:00"
|
||||
},
|
||||
{
|
||||
"name": "psr/container",
|
||||
"version": "2.0.2",
|
||||
|
|
@ -13026,4 +13298,4 @@
|
|||
},
|
||||
"platform-dev": [],
|
||||
"plugin-api-version": "2.3.0"
|
||||
}
|
||||
}
|
||||
|
|
@ -17,7 +17,7 @@ use Illuminate\Support\Facades\Route;
|
|||
|
||||
Route::prefix('bo')
|
||||
->name('bo.')
|
||||
->middleware('lang')
|
||||
->middleware(['admin-secure', 'lang'])
|
||||
->group(
|
||||
function () {
|
||||
Route::middleware([])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue