Initial login working
This commit is contained in:
parent
ed7087c802
commit
4c90ce11f2
@ -36,4 +36,17 @@ class LoginController extends Controller
|
|||||||
{
|
{
|
||||||
$this->middleware('guest')->except('logout');
|
$this->middleware('guest')->except('logout');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function username()
|
||||||
|
{
|
||||||
|
return 'mail';
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show our themed login page
|
||||||
|
*/
|
||||||
|
public function showLoginForm()
|
||||||
|
{
|
||||||
|
return view('adminlte::auth.login');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
12
app/Http/Controllers/HomeController.php
Normal file
12
app/Http/Controllers/HomeController.php
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
|
||||||
|
class HomeController extends Controller
|
||||||
|
{
|
||||||
|
public function home() {
|
||||||
|
return view('home');
|
||||||
|
}
|
||||||
|
}
|
0
bootstrap/cache/.gitignore
vendored
Executable file → Normal file
0
bootstrap/cache/.gitignore
vendored
Executable file → Normal file
@ -12,7 +12,8 @@
|
|||||||
"adldap2/adldap2-laravel": "^6.0",
|
"adldap2/adldap2-laravel": "^6.0",
|
||||||
"fideloper/proxy": "^4.0",
|
"fideloper/proxy": "^4.0",
|
||||||
"laravel/framework": "5.8.*",
|
"laravel/framework": "5.8.*",
|
||||||
"laravel/tinker": "^1.0"
|
"laravel/tinker": "^1.0",
|
||||||
|
"leenooks/laravel": "^0.3.7"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"beyondcode/laravel-dump-server": "^1.0",
|
"beyondcode/laravel-dump-server": "^1.0",
|
||||||
@ -46,6 +47,12 @@
|
|||||||
"Tests\\": "tests/"
|
"Tests\\": "tests/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"repositories": [
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "https://dev.leenooks.net/leenooks/laravel"
|
||||||
|
}
|
||||||
|
],
|
||||||
"minimum-stability": "dev",
|
"minimum-stability": "dev",
|
||||||
"prefer-stable": true,
|
"prefer-stable": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
632
composer.lock
generated
632
composer.lock
generated
@ -4,27 +4,81 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "dd2d474ebbb62c62e4ee70dd2eceeeee",
|
"content-hash": "2010dc53d7c67d3d6c01d46d2180f532",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "adldap2/adldap2",
|
"name": "acacha/user",
|
||||||
"version": "v10.0.8",
|
"version": "0.2.2",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/Adldap2/Adldap2.git",
|
"url": "https://github.com/acacha/user.git",
|
||||||
"reference": "2865b4dfcd2647fecf3692d6a9a2a83c0770a0f7"
|
"reference": "4c70815d20ae5c5035e5cfa137bfab0a0a3b9922"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/Adldap2/Adldap2/zipball/2865b4dfcd2647fecf3692d6a9a2a83c0770a0f7",
|
"url": "https://api.github.com/repos/acacha/user/zipball/4c70815d20ae5c5035e5cfa137bfab0a0a3b9922",
|
||||||
"reference": "2865b4dfcd2647fecf3692d6a9a2a83c0770a0f7",
|
"reference": "4c70815d20ae5c5035e5cfa137bfab0a0a3b9922",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"laravel/framework": "^5.3",
|
||||||
|
"php": "~5.6|~7.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "~4.0||~5.0",
|
||||||
|
"scrutinizer/ocular": "~1.1",
|
||||||
|
"squizlabs/php_codesniffer": "~2.3"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "1.0-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Acacha\\User\\": "src"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Sergi Tur Badenas",
|
||||||
|
"email": "sergiturbadenas@gmail.com",
|
||||||
|
"homepage": "https://github.com/acacha",
|
||||||
|
"role": "Developer"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "A boosted User for Laravel",
|
||||||
|
"homepage": "https://github.com/acacha/user",
|
||||||
|
"keywords": [
|
||||||
|
"acacha",
|
||||||
|
"user"
|
||||||
|
],
|
||||||
|
"time": "2016-12-05T13:39:37+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "adldap2/adldap2",
|
||||||
|
"version": "v10.0.10",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/Adldap2/Adldap2.git",
|
||||||
|
"reference": "a6089f508b2a94cb7ff8c98ab381ff983d5f0347"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/Adldap2/Adldap2/zipball/a6089f508b2a94cb7ff8c98ab381ff983d5f0347",
|
||||||
|
"reference": "a6089f508b2a94cb7ff8c98ab381ff983d5f0347",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"ext-ldap": "*",
|
"ext-ldap": "*",
|
||||||
"illuminate/contracts": "~5.0",
|
"illuminate/contracts": "~5.0",
|
||||||
"php": ">=7.0",
|
"php": ">=7.0",
|
||||||
"psr/log": "~1.1",
|
"psr/log": "~1.0",
|
||||||
"tightenco/collect": "~5.0"
|
"tightenco/collect": "~5.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
@ -61,20 +115,20 @@
|
|||||||
"ldap",
|
"ldap",
|
||||||
"windows"
|
"windows"
|
||||||
],
|
],
|
||||||
"time": "2019-04-06T17:09:01+00:00"
|
"time": "2019-05-03T21:29:12+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "adldap2/adldap2-laravel",
|
"name": "adldap2/adldap2-laravel",
|
||||||
"version": "v6.0.4",
|
"version": "v6.0.5",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/Adldap2/Adldap2-Laravel.git",
|
"url": "https://github.com/Adldap2/Adldap2-Laravel.git",
|
||||||
"reference": "5b159130cd747d81e67a2263984cec288c40af0a"
|
"reference": "a14d5040bfec62a2e57718d3565341333e4068f2"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/Adldap2/Adldap2-Laravel/zipball/5b159130cd747d81e67a2263984cec288c40af0a",
|
"url": "https://api.github.com/repos/Adldap2/Adldap2-Laravel/zipball/a14d5040bfec62a2e57718d3565341333e4068f2",
|
||||||
"reference": "5b159130cd747d81e67a2263984cec288c40af0a",
|
"reference": "a14d5040bfec62a2e57718d3565341333e4068f2",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -115,7 +169,61 @@
|
|||||||
"laravel",
|
"laravel",
|
||||||
"ldap"
|
"ldap"
|
||||||
],
|
],
|
||||||
"time": "2019-04-09T13:12:59+00:00"
|
"time": "2019-04-18T16:02:45+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "creativeorange/gravatar",
|
||||||
|
"version": "v1.0.11",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/creativeorange/gravatar.git",
|
||||||
|
"reference": "4459b68a853ffdb1c2abbf9419214df46371889b"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/creativeorange/gravatar/zipball/4459b68a853ffdb1c2abbf9419214df46371889b",
|
||||||
|
"reference": "4459b68a853ffdb1c2abbf9419214df46371889b",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"illuminate/support": "5.*",
|
||||||
|
"php": ">=5.4.0"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"laravel": {
|
||||||
|
"providers": [
|
||||||
|
"Creativeorange\\Gravatar\\GravatarServiceProvider"
|
||||||
|
],
|
||||||
|
"aliases": {
|
||||||
|
"Gravatar": "Creativeorange\\Gravatar\\Facades\\Gravatar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Creativeorange\\Gravatar\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Jaco Tijssen",
|
||||||
|
"email": "jaco@creativeorange.nl",
|
||||||
|
"homepage": "https://www.creativeorange.nl",
|
||||||
|
"role": "Developer"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Gravatar for Laravel 5.0.x through 5.5.x package for retrieving gravatar image URLs or checking the existance of an image.",
|
||||||
|
"keywords": [
|
||||||
|
"avatar",
|
||||||
|
"gravatar",
|
||||||
|
"laravel"
|
||||||
|
],
|
||||||
|
"time": "2018-03-29T22:10:58+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "dnoegel/php-xdg-base-dir",
|
"name": "dnoegel/php-xdg-base-dir",
|
||||||
@ -482,6 +590,65 @@
|
|||||||
],
|
],
|
||||||
"time": "2019-01-10T14:06:47+00:00"
|
"time": "2019-01-10T14:06:47+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "igaster/laravel-theme",
|
||||||
|
"version": "v2.0.11",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/igaster/laravel-theme.git",
|
||||||
|
"reference": "0b8be5dba752bbd9e8f1de31efb4a300aa19790e"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/igaster/laravel-theme/zipball/0b8be5dba752bbd9e8f1de31efb4a300aa19790e",
|
||||||
|
"reference": "0b8be5dba752bbd9e8f1de31efb4a300aa19790e",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"illuminate/contracts": "5.4.*|5.5.*|5.6.*|5.7.*|5.8.*"
|
||||||
|
},
|
||||||
|
"suggest": {
|
||||||
|
"orchestra/asset": "Use '@css' and '@js' in Blade files"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"laravel": {
|
||||||
|
"providers": [
|
||||||
|
"Igaster\\LaravelTheme\\themeServiceProvider"
|
||||||
|
],
|
||||||
|
"aliases": {
|
||||||
|
"Theme": "Igaster\\LaravelTheme\\Facades\\Theme"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Igaster\\LaravelTheme\\": "src/",
|
||||||
|
"Igaster\\LaravelTheme\\Tests\\": "tests/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Giannis Gasteratos",
|
||||||
|
"email": "igasteratos@gmail.com"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Laravel 5 Themes: Asset & Views folder per theme. Theme inheritance. Blade integration and more...",
|
||||||
|
"homepage": "https://github.com/Igaster/laravel-theme.git",
|
||||||
|
"keywords": [
|
||||||
|
"assets",
|
||||||
|
"blade",
|
||||||
|
"laravel",
|
||||||
|
"package",
|
||||||
|
"themes",
|
||||||
|
"views"
|
||||||
|
],
|
||||||
|
"time": "2019-02-27T22:56:34+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "jakub-onderka/php-console-color",
|
"name": "jakub-onderka/php-console-color",
|
||||||
"version": "v0.2",
|
"version": "v0.2",
|
||||||
@ -572,16 +739,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "laravel/framework",
|
"name": "laravel/framework",
|
||||||
"version": "v5.8.12",
|
"version": "v5.8.17",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/laravel/framework.git",
|
"url": "https://github.com/laravel/framework.git",
|
||||||
"reference": "6dd75b67811a265c57144ab15f25a8061ed4721f"
|
"reference": "33c04dd2a431adeeb49926a4f2b20590cc033ca2"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/laravel/framework/zipball/6dd75b67811a265c57144ab15f25a8061ed4721f",
|
"url": "https://api.github.com/repos/laravel/framework/zipball/33c04dd2a431adeeb49926a4f2b20590cc033ca2",
|
||||||
"reference": "6dd75b67811a265c57144ab15f25a8061ed4721f",
|
"reference": "33c04dd2a431adeeb49926a4f2b20590cc033ca2",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -715,7 +882,7 @@
|
|||||||
"framework",
|
"framework",
|
||||||
"laravel"
|
"laravel"
|
||||||
],
|
],
|
||||||
"time": "2019-04-16T13:47:32+00:00"
|
"time": "2019-05-14T16:02:41+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "laravel/tinker",
|
"name": "laravel/tinker",
|
||||||
@ -780,6 +947,76 @@
|
|||||||
],
|
],
|
||||||
"time": "2018-10-12T19:39:35+00:00"
|
"time": "2018-10-12T19:39:35+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "laravie/html",
|
||||||
|
"version": "v5.8.1",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/laravie/html.git",
|
||||||
|
"reference": "d6147c2274d8709f60aa1ca218a304e9f7586a01"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/laravie/html/zipball/d6147c2274d8709f60aa1ca218a304e9f7586a01",
|
||||||
|
"reference": "d6147c2274d8709f60aa1ca218a304e9f7586a01",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"illuminate/http": "~5.8.0",
|
||||||
|
"illuminate/routing": "~5.8.0",
|
||||||
|
"illuminate/session": "~5.8.0",
|
||||||
|
"illuminate/support": "~5.8.0",
|
||||||
|
"illuminate/view": "~5.8.0",
|
||||||
|
"php": ">=7.1.3"
|
||||||
|
},
|
||||||
|
"replace": {
|
||||||
|
"laravelcollective/html": "*"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"mockery/mockery": "^1.0",
|
||||||
|
"orchestra/testbench": "~3.8.0"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "5.8-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Collective\\Html\\": "src/"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"src/helpers.php"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Taylor Otwell",
|
||||||
|
"email": "taylorotwell@gmail.com"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Mior Muhammad Zaki",
|
||||||
|
"email": "crynobone@gmail.com"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Adam Engebretson",
|
||||||
|
"email": "adam@laravelcollective.com"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "HTML and Form Builders for the Laravel Framework",
|
||||||
|
"homepage": "https://github.com/laravie/html",
|
||||||
|
"keywords": [
|
||||||
|
"form",
|
||||||
|
"html",
|
||||||
|
"laravel"
|
||||||
|
],
|
||||||
|
"time": "2019-03-09T03:49:38+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "league/flysystem",
|
"name": "league/flysystem",
|
||||||
"version": "1.0.51",
|
"version": "1.0.51",
|
||||||
@ -864,6 +1101,52 @@
|
|||||||
],
|
],
|
||||||
"time": "2019-03-30T13:22:34+00:00"
|
"time": "2019-03-30T13:22:34+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "leenooks/laravel",
|
||||||
|
"version": "0.3.8",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://dev.leenooks.net/leenooks/laravel",
|
||||||
|
"reference": "70a714287706fbde3f2043315f939a8e98e2d9c4"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"acacha/user": "^0.2.2",
|
||||||
|
"creativeorange/gravatar": "^1.0",
|
||||||
|
"igaster/laravel-theme": "^2.0",
|
||||||
|
"orchestra/asset": "^3.6"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"laravel": {
|
||||||
|
"providers": [
|
||||||
|
"Leenooks\\Providers\\LeenooksServiceProvider"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Leenooks\\": "src"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"src/helpers.php"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Deon George",
|
||||||
|
"email": "deon@leenooks.net"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Leenooks standard templates and tools.",
|
||||||
|
"keywords": [
|
||||||
|
"laravel",
|
||||||
|
"leenooks"
|
||||||
|
],
|
||||||
|
"time": "2019-05-16T01:15:49+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "monolog/monolog",
|
"name": "monolog/monolog",
|
||||||
"version": "1.24.0",
|
"version": "1.24.0",
|
||||||
@ -944,16 +1227,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "nesbot/carbon",
|
"name": "nesbot/carbon",
|
||||||
"version": "2.17.0",
|
"version": "2.18.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/briannesbitt/Carbon.git",
|
"url": "https://github.com/briannesbitt/Carbon.git",
|
||||||
"reference": "9b49d637ad009e5e211142bc7492adcb19dbd645"
|
"reference": "8322b7bd1805be31867c13bf3cdaab948a0dd406"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/9b49d637ad009e5e211142bc7492adcb19dbd645",
|
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/8322b7bd1805be31867c13bf3cdaab948a0dd406",
|
||||||
"reference": "9b49d637ad009e5e211142bc7492adcb19dbd645",
|
"reference": "8322b7bd1805be31867c13bf3cdaab948a0dd406",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -1000,7 +1283,7 @@
|
|||||||
"datetime",
|
"datetime",
|
||||||
"time"
|
"time"
|
||||||
],
|
],
|
||||||
"time": "2019-04-17T08:51:36+00:00"
|
"time": "2019-05-16T18:44:35+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "nikic/php-parser",
|
"name": "nikic/php-parser",
|
||||||
@ -1055,16 +1338,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "opis/closure",
|
"name": "opis/closure",
|
||||||
"version": "3.1.6",
|
"version": "3.2.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/opis/closure.git",
|
"url": "https://github.com/opis/closure.git",
|
||||||
"reference": "ccb8e3928c5c8181c76cdd0ed9366c5bcaafd91b"
|
"reference": "09b4389715a7eec100176ea58286649181753508"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/opis/closure/zipball/ccb8e3928c5c8181c76cdd0ed9366c5bcaafd91b",
|
"url": "https://api.github.com/repos/opis/closure/zipball/09b4389715a7eec100176ea58286649181753508",
|
||||||
"reference": "ccb8e3928c5c8181c76cdd0ed9366c5bcaafd91b",
|
"reference": "09b4389715a7eec100176ea58286649181753508",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -1077,7 +1360,7 @@
|
|||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "3.1.x-dev"
|
"dev-master": "3.2.x-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
@ -1112,7 +1395,165 @@
|
|||||||
"serialization",
|
"serialization",
|
||||||
"serialize"
|
"serialize"
|
||||||
],
|
],
|
||||||
"time": "2019-02-22T10:30:00+00:00"
|
"time": "2019-05-05T12:50:25+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "orchestra/asset",
|
||||||
|
"version": "v3.8.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/orchestral/asset.git",
|
||||||
|
"reference": "de4009057cee54bf59a30d9f323974d932010164"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/orchestral/asset/zipball/de4009057cee54bf59a30d9f323974d932010164",
|
||||||
|
"reference": "de4009057cee54bf59a30d9f323974d932010164",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"laravie/html": "~5.8.0",
|
||||||
|
"orchestra/contracts": "~3.8.0",
|
||||||
|
"orchestra/support-facades": "~3.8.0",
|
||||||
|
"php": ">=7.1"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"illuminate/filesystem": "~5.8.0",
|
||||||
|
"mockery/mockery": "^1.0",
|
||||||
|
"phpunit/phpunit": "^7.5 || ^8.0"
|
||||||
|
},
|
||||||
|
"suggest": {
|
||||||
|
"illuminate/filesystem": "Allow using orchestra/asset component outside of Laravel app (~5.8).",
|
||||||
|
"orchestra/html": "Allow using orchestra/asset with HTML component (~3.8)."
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "3.8-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Orchestra\\Asset\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Mior Muhammad Zaki",
|
||||||
|
"email": "crynobone@gmail.com",
|
||||||
|
"homepage": "https://github.com/crynobone"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Asset Component for Orchestra Platform",
|
||||||
|
"homepage": "http://orchestraplatform.com/docs/latest/components/asset/",
|
||||||
|
"keywords": [
|
||||||
|
"asset",
|
||||||
|
"laravel",
|
||||||
|
"orchestra-platform",
|
||||||
|
"orchestral"
|
||||||
|
],
|
||||||
|
"time": "2019-03-02T08:01:26+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "orchestra/contracts",
|
||||||
|
"version": "v3.8.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/orchestral/contracts.git",
|
||||||
|
"reference": "ee371953c60b8371ff896a9bba767295dee3f5da"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/orchestral/contracts/zipball/ee371953c60b8371ff896a9bba767295dee3f5da",
|
||||||
|
"reference": "ee371953c60b8371ff896a9bba767295dee3f5da",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"illuminate/contracts": "~5.8.0",
|
||||||
|
"php": ">=7.1"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "3.8-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Orchestra\\Contracts\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Mior Muhammad Zaki",
|
||||||
|
"email": "crynobone@gmail.com",
|
||||||
|
"homepage": "https://github.com/crynobone"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Contracts for Orchestra Platform",
|
||||||
|
"keywords": [
|
||||||
|
"contracts",
|
||||||
|
"orchestra-platform",
|
||||||
|
"orchestral"
|
||||||
|
],
|
||||||
|
"time": "2019-02-27T04:22:29+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "orchestra/support-facades",
|
||||||
|
"version": "v3.8.1",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/orchestral/support-facades.git",
|
||||||
|
"reference": "84f7ec1e9f708deb39aac21f7ee6bbbf44f2b8b6"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/orchestral/support-facades/zipball/84f7ec1e9f708deb39aac21f7ee6bbbf44f2b8b6",
|
||||||
|
"reference": "84f7ec1e9f708deb39aac21f7ee6bbbf44f2b8b6",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"illuminate/support": "~5.8.0",
|
||||||
|
"php": ">=7.1"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "3.8-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Orchestra\\Support\\Facades\\": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Mior Muhammad Zaki",
|
||||||
|
"email": "crynobone@gmail.com",
|
||||||
|
"homepage": "https://github.com/crynobone"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Support (Facades) Component for Orchestra Platform",
|
||||||
|
"homepage": "http://orchestraplatform.com/docs/latest/components/support/",
|
||||||
|
"keywords": [
|
||||||
|
"laravel",
|
||||||
|
"orchestra-platform",
|
||||||
|
"orchestral"
|
||||||
|
],
|
||||||
|
"time": "2019-02-20T02:45:07+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "paragonie/random_compat",
|
"name": "paragonie/random_compat",
|
||||||
@ -1511,16 +1952,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "swiftmailer/swiftmailer",
|
"name": "swiftmailer/swiftmailer",
|
||||||
"version": "v6.2.0",
|
"version": "v6.2.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/swiftmailer/swiftmailer.git",
|
"url": "https://github.com/swiftmailer/swiftmailer.git",
|
||||||
"reference": "6fa3232ff9d3f8237c0fae4b7ff05e1baa4cd707"
|
"reference": "5397cd05b0a0f7937c47b0adcb4c60e5ab936b6a"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/6fa3232ff9d3f8237c0fae4b7ff05e1baa4cd707",
|
"url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/5397cd05b0a0f7937c47b0adcb4c60e5ab936b6a",
|
||||||
"reference": "6fa3232ff9d3f8237c0fae4b7ff05e1baa4cd707",
|
"reference": "5397cd05b0a0f7937c47b0adcb4c60e5ab936b6a",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -1569,11 +2010,11 @@
|
|||||||
"mail",
|
"mail",
|
||||||
"mailer"
|
"mailer"
|
||||||
],
|
],
|
||||||
"time": "2019-03-10T07:52:41+00:00"
|
"time": "2019-04-21T09:21:45+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/console",
|
"name": "symfony/console",
|
||||||
"version": "v4.2.7",
|
"version": "v4.2.8",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/console.git",
|
"url": "https://github.com/symfony/console.git",
|
||||||
@ -1645,16 +2086,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/contracts",
|
"name": "symfony/contracts",
|
||||||
"version": "v1.0.2",
|
"version": "v1.1.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/contracts.git",
|
"url": "https://github.com/symfony/contracts.git",
|
||||||
"reference": "1aa7ab2429c3d594dd70689604b5cf7421254cdf"
|
"reference": "d3636025e8253c6144358ec0a62773cae588395b"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/contracts/zipball/1aa7ab2429c3d594dd70689604b5cf7421254cdf",
|
"url": "https://api.github.com/repos/symfony/contracts/zipball/d3636025e8253c6144358ec0a62773cae588395b",
|
||||||
"reference": "1aa7ab2429c3d594dd70689604b5cf7421254cdf",
|
"reference": "d3636025e8253c6144358ec0a62773cae588395b",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -1662,19 +2103,22 @@
|
|||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"psr/cache": "^1.0",
|
"psr/cache": "^1.0",
|
||||||
"psr/container": "^1.0"
|
"psr/container": "^1.0",
|
||||||
|
"symfony/polyfill-intl-idn": "^1.10"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"psr/cache": "When using the Cache contracts",
|
"psr/cache": "When using the Cache contracts",
|
||||||
"psr/container": "When using the Service contracts",
|
"psr/container": "When using the Service contracts",
|
||||||
"symfony/cache-contracts-implementation": "",
|
"symfony/cache-contracts-implementation": "",
|
||||||
|
"symfony/event-dispatcher-implementation": "",
|
||||||
|
"symfony/http-client-contracts-implementation": "",
|
||||||
"symfony/service-contracts-implementation": "",
|
"symfony/service-contracts-implementation": "",
|
||||||
"symfony/translation-contracts-implementation": ""
|
"symfony/translation-contracts-implementation": ""
|
||||||
},
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "1.0-dev"
|
"dev-master": "1.1-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
@ -1709,11 +2153,11 @@
|
|||||||
"interoperability",
|
"interoperability",
|
||||||
"standards"
|
"standards"
|
||||||
],
|
],
|
||||||
"time": "2018-12-05T08:06:11+00:00"
|
"time": "2019-04-27T14:29:50+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/css-selector",
|
"name": "symfony/css-selector",
|
||||||
"version": "v4.2.7",
|
"version": "v4.2.8",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/css-selector.git",
|
"url": "https://github.com/symfony/css-selector.git",
|
||||||
@ -1766,7 +2210,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/debug",
|
"name": "symfony/debug",
|
||||||
"version": "v4.2.7",
|
"version": "v4.2.8",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/debug.git",
|
"url": "https://github.com/symfony/debug.git",
|
||||||
@ -1822,7 +2266,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/event-dispatcher",
|
"name": "symfony/event-dispatcher",
|
||||||
"version": "v4.2.7",
|
"version": "v4.2.8",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/event-dispatcher.git",
|
"url": "https://github.com/symfony/event-dispatcher.git",
|
||||||
@ -1886,7 +2330,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/finder",
|
"name": "symfony/finder",
|
||||||
"version": "v4.2.7",
|
"version": "v4.2.8",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/finder.git",
|
"url": "https://github.com/symfony/finder.git",
|
||||||
@ -1935,16 +2379,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/http-foundation",
|
"name": "symfony/http-foundation",
|
||||||
"version": "v4.2.7",
|
"version": "v4.2.8",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/http-foundation.git",
|
"url": "https://github.com/symfony/http-foundation.git",
|
||||||
"reference": "6ebbe61f48069033225c9d3fa7eb5ed116d766d6"
|
"reference": "1ea878bd3af18f934dedb8c0de60656a9a31a718"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/6ebbe61f48069033225c9d3fa7eb5ed116d766d6",
|
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/1ea878bd3af18f934dedb8c0de60656a9a31a718",
|
||||||
"reference": "6ebbe61f48069033225c9d3fa7eb5ed116d766d6",
|
"reference": "1ea878bd3af18f934dedb8c0de60656a9a31a718",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -1985,20 +2429,20 @@
|
|||||||
],
|
],
|
||||||
"description": "Symfony HttpFoundation Component",
|
"description": "Symfony HttpFoundation Component",
|
||||||
"homepage": "https://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"time": "2019-04-17T14:56:00+00:00"
|
"time": "2019-05-01T08:36:31+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/http-kernel",
|
"name": "symfony/http-kernel",
|
||||||
"version": "v4.2.7",
|
"version": "v4.2.8",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/http-kernel.git",
|
"url": "https://github.com/symfony/http-kernel.git",
|
||||||
"reference": "3db83303dbc1da9777e5ff63423b8b7fde423a1b"
|
"reference": "a7713bc522f1a1cdf0b39f809fa4542523fc3114"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/3db83303dbc1da9777e5ff63423b8b7fde423a1b",
|
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/a7713bc522f1a1cdf0b39f809fa4542523fc3114",
|
||||||
"reference": "3db83303dbc1da9777e5ff63423b8b7fde423a1b",
|
"reference": "a7713bc522f1a1cdf0b39f809fa4542523fc3114",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -2074,7 +2518,7 @@
|
|||||||
],
|
],
|
||||||
"description": "Symfony HttpKernel Component",
|
"description": "Symfony HttpKernel Component",
|
||||||
"homepage": "https://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"time": "2019-04-17T16:17:13+00:00"
|
"time": "2019-05-01T13:31:08+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/polyfill-ctype",
|
"name": "symfony/polyfill-ctype",
|
||||||
@ -2371,7 +2815,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/process",
|
"name": "symfony/process",
|
||||||
"version": "v4.2.7",
|
"version": "v4.2.8",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/process.git",
|
"url": "https://github.com/symfony/process.git",
|
||||||
@ -2420,16 +2864,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/routing",
|
"name": "symfony/routing",
|
||||||
"version": "v4.2.7",
|
"version": "v4.2.8",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/routing.git",
|
"url": "https://github.com/symfony/routing.git",
|
||||||
"reference": "0e5719d216017b1a0342fa48e86467cedca1c954"
|
"reference": "f4e43bb0dff56f0f62fa056c82d7eadcdb391bab"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/routing/zipball/0e5719d216017b1a0342fa48e86467cedca1c954",
|
"url": "https://api.github.com/repos/symfony/routing/zipball/f4e43bb0dff56f0f62fa056c82d7eadcdb391bab",
|
||||||
"reference": "0e5719d216017b1a0342fa48e86467cedca1c954",
|
"reference": "f4e43bb0dff56f0f62fa056c82d7eadcdb391bab",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -2492,20 +2936,20 @@
|
|||||||
"uri",
|
"uri",
|
||||||
"url"
|
"url"
|
||||||
],
|
],
|
||||||
"time": "2019-04-14T18:04:59+00:00"
|
"time": "2019-04-27T09:38:08+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/translation",
|
"name": "symfony/translation",
|
||||||
"version": "v4.2.7",
|
"version": "v4.2.8",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/translation.git",
|
"url": "https://github.com/symfony/translation.git",
|
||||||
"reference": "46c0dede1f925383d13dc783857be2c41efd0b24"
|
"reference": "181a426dd129cb496f12d7e7555f6d0b37a7615b"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/translation/zipball/46c0dede1f925383d13dc783857be2c41efd0b24",
|
"url": "https://api.github.com/repos/symfony/translation/zipball/181a426dd129cb496f12d7e7555f6d0b37a7615b",
|
||||||
"reference": "46c0dede1f925383d13dc783857be2c41efd0b24",
|
"reference": "181a426dd129cb496f12d7e7555f6d0b37a7615b",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -2567,20 +3011,20 @@
|
|||||||
],
|
],
|
||||||
"description": "Symfony Translation Component",
|
"description": "Symfony Translation Component",
|
||||||
"homepage": "https://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"time": "2019-04-10T16:20:36+00:00"
|
"time": "2019-05-01T12:55:36+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/var-dumper",
|
"name": "symfony/var-dumper",
|
||||||
"version": "v4.2.7",
|
"version": "v4.2.8",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/var-dumper.git",
|
"url": "https://github.com/symfony/var-dumper.git",
|
||||||
"reference": "e760a38e12b15032325e64be63f7ffc1817af617"
|
"reference": "3c4084cb1537c0e2ad41aad622bbf55a44a5c9ce"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/e760a38e12b15032325e64be63f7ffc1817af617",
|
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/3c4084cb1537c0e2ad41aad622bbf55a44a5c9ce",
|
||||||
"reference": "e760a38e12b15032325e64be63f7ffc1817af617",
|
"reference": "3c4084cb1537c0e2ad41aad622bbf55a44a5c9ce",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -2643,20 +3087,20 @@
|
|||||||
"debug",
|
"debug",
|
||||||
"dump"
|
"dump"
|
||||||
],
|
],
|
||||||
"time": "2019-04-17T14:57:01+00:00"
|
"time": "2019-05-01T12:55:36+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "tightenco/collect",
|
"name": "tightenco/collect",
|
||||||
"version": "v5.8.12",
|
"version": "v5.8.17",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/tightenco/collect.git",
|
"url": "https://github.com/tightenco/collect.git",
|
||||||
"reference": "e37222d221558107a80036e29d2be316b04c6f75"
|
"reference": "0197a93032c0f4cfd6a1929d22c038905bdce8ac"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/tightenco/collect/zipball/e37222d221558107a80036e29d2be316b04c6f75",
|
"url": "https://api.github.com/repos/tightenco/collect/zipball/0197a93032c0f4cfd6a1929d22c038905bdce8ac",
|
||||||
"reference": "e37222d221558107a80036e29d2be316b04c6f75",
|
"reference": "0197a93032c0f4cfd6a1929d22c038905bdce8ac",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -2693,7 +3137,7 @@
|
|||||||
"collection",
|
"collection",
|
||||||
"laravel"
|
"laravel"
|
||||||
],
|
],
|
||||||
"time": "2019-04-16T16:23:09+00:00"
|
"time": "2019-05-15T13:07:44+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "tijsverkoyen/css-to-inline-styles",
|
"name": "tijsverkoyen/css-to-inline-styles",
|
||||||
@ -3407,16 +3851,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpdocumentor/reflection-docblock",
|
"name": "phpdocumentor/reflection-docblock",
|
||||||
"version": "4.3.0",
|
"version": "4.3.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
|
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
|
||||||
"reference": "94fd0001232e47129dd3504189fa1c7225010d08"
|
"reference": "bdd9f737ebc2a01c06ea7ff4308ec6697db9b53c"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08",
|
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/bdd9f737ebc2a01c06ea7ff4308ec6697db9b53c",
|
||||||
"reference": "94fd0001232e47129dd3504189fa1c7225010d08",
|
"reference": "bdd9f737ebc2a01c06ea7ff4308ec6697db9b53c",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -3454,7 +3898,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
|
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
|
||||||
"time": "2017-11-30T07:14:17+00:00"
|
"time": "2019-04-30T17:48:53+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpdocumentor/type-resolver",
|
"name": "phpdocumentor/type-resolver",
|
||||||
@ -3820,16 +4264,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/phpunit",
|
"name": "phpunit/phpunit",
|
||||||
"version": "7.5.8",
|
"version": "7.5.11",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
||||||
"reference": "c29c0525cf4572c11efe1db49a8b8aee9dfac58a"
|
"reference": "64cb33f5b520da490a7b13149d39b43cf3c890c6"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c29c0525cf4572c11efe1db49a8b8aee9dfac58a",
|
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/64cb33f5b520da490a7b13149d39b43cf3c890c6",
|
||||||
"reference": "c29c0525cf4572c11efe1db49a8b8aee9dfac58a",
|
"reference": "64cb33f5b520da490a7b13149d39b43cf3c890c6",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -3900,7 +4344,7 @@
|
|||||||
"testing",
|
"testing",
|
||||||
"xunit"
|
"xunit"
|
||||||
],
|
],
|
||||||
"time": "2019-03-26T13:23:54+00:00"
|
"time": "2019-05-14T04:53:02+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/code-unit-reverse-lookup",
|
"name": "sebastian/code-unit-reverse-lookup",
|
||||||
@ -4069,16 +4513,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/environment",
|
"name": "sebastian/environment",
|
||||||
"version": "4.1.0",
|
"version": "4.2.2",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/environment.git",
|
"url": "https://github.com/sebastianbergmann/environment.git",
|
||||||
"reference": "6fda8ce1974b62b14935adc02a9ed38252eca656"
|
"reference": "f2a2c8e1c97c11ace607a7a667d73d47c19fe404"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/6fda8ce1974b62b14935adc02a9ed38252eca656",
|
"url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/f2a2c8e1c97c11ace607a7a667d73d47c19fe404",
|
||||||
"reference": "6fda8ce1974b62b14935adc02a9ed38252eca656",
|
"reference": "f2a2c8e1c97c11ace607a7a667d73d47c19fe404",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -4093,7 +4537,7 @@
|
|||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "4.1-dev"
|
"dev-master": "4.2-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
@ -4118,7 +4562,7 @@
|
|||||||
"environment",
|
"environment",
|
||||||
"hhvm"
|
"hhvm"
|
||||||
],
|
],
|
||||||
"time": "2019-02-01T05:27:49+00:00"
|
"time": "2019-05-05T09:05:15+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/exporter",
|
"name": "sebastian/exporter",
|
||||||
|
@ -13,7 +13,8 @@ return [
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'name' => env('APP_NAME', 'Laravel'),
|
'name' => env('APP_NAME', 'phpLDAPadmin'),
|
||||||
|
'name_html_long' => env('APP_NAME_HTML_LONG', '<b>php</b>LDAPadmin'),
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
@ -175,6 +176,12 @@ return [
|
|||||||
App\Providers\EventServiceProvider::class,
|
App\Providers\EventServiceProvider::class,
|
||||||
App\Providers\RouteServiceProvider::class,
|
App\Providers\RouteServiceProvider::class,
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Other Service Providers...
|
||||||
|
*/
|
||||||
|
Acacha\User\Providers\GuestUserServiceProvider::class,
|
||||||
|
Orchestra\Asset\AssetServiceProvider::class,
|
||||||
|
Collective\Html\HtmlServiceProvider::class,
|
||||||
],
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -193,6 +200,7 @@ return [
|
|||||||
'App' => Illuminate\Support\Facades\App::class,
|
'App' => Illuminate\Support\Facades\App::class,
|
||||||
'Arr' => Illuminate\Support\Arr::class,
|
'Arr' => Illuminate\Support\Arr::class,
|
||||||
'Artisan' => Illuminate\Support\Facades\Artisan::class,
|
'Artisan' => Illuminate\Support\Facades\Artisan::class,
|
||||||
|
'Asset' => Orchestra\Support\Facades\Asset::class,
|
||||||
'Auth' => Illuminate\Support\Facades\Auth::class,
|
'Auth' => Illuminate\Support\Facades\Auth::class,
|
||||||
'Blade' => Illuminate\Support\Facades\Blade::class,
|
'Blade' => Illuminate\Support\Facades\Blade::class,
|
||||||
'Broadcast' => Illuminate\Support\Facades\Broadcast::class,
|
'Broadcast' => Illuminate\Support\Facades\Broadcast::class,
|
||||||
@ -206,6 +214,7 @@ return [
|
|||||||
'Event' => Illuminate\Support\Facades\Event::class,
|
'Event' => Illuminate\Support\Facades\Event::class,
|
||||||
'File' => Illuminate\Support\Facades\File::class,
|
'File' => Illuminate\Support\Facades\File::class,
|
||||||
'Gate' => Illuminate\Support\Facades\Gate::class,
|
'Gate' => Illuminate\Support\Facades\Gate::class,
|
||||||
|
'Gravatar' => Creativeorange\Gravatar\Facades\Gravatar::class,
|
||||||
'Hash' => Illuminate\Support\Facades\Hash::class,
|
'Hash' => Illuminate\Support\Facades\Hash::class,
|
||||||
'Lang' => Illuminate\Support\Facades\Lang::class,
|
'Lang' => Illuminate\Support\Facades\Lang::class,
|
||||||
'Log' => Illuminate\Support\Facades\Log::class,
|
'Log' => Illuminate\Support\Facades\Log::class,
|
||||||
|
@ -67,8 +67,8 @@ return [
|
|||||||
|
|
||||||
'providers' => [
|
'providers' => [
|
||||||
'users' => [
|
'users' => [
|
||||||
'driver' => 'eloquent',
|
'driver' => 'ldap',
|
||||||
'model' => App\User::class,
|
// 'model' => App\User::class,
|
||||||
],
|
],
|
||||||
|
|
||||||
// 'users' => [
|
// 'users' => [
|
||||||
|
243
config/ldap.php
Normal file
243
config/ldap.php
Normal file
@ -0,0 +1,243 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Logging
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option enables logging all LDAP operations on all configured
|
||||||
|
| connections such as bind requests and CRUD operations.
|
||||||
|
|
|
||||||
|
| Log entries will be created in your default logging stack.
|
||||||
|
|
|
||||||
|
| This option is extremely helpful for debugging connectivity issues.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'logging' => env('LDAP_LOGGING', false),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Connections
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This array stores the connections that are added to Adldap. You can add
|
||||||
|
| as many connections as you like.
|
||||||
|
|
|
||||||
|
| The key is the name of the connection you wish to use and the value is
|
||||||
|
| an array of configuration settings.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'connections' => [
|
||||||
|
|
||||||
|
'default' => [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Auto Connect
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| If auto connect is true, Adldap will try to automatically connect to
|
||||||
|
| your LDAP server in your configuration. This allows you to assume
|
||||||
|
| connectivity rather than having to connect manually
|
||||||
|
| in your application.
|
||||||
|
|
|
||||||
|
| If this is set to false, you **must** connect manually before running
|
||||||
|
| LDAP operations. Otherwise, you will receive exceptions.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'auto_connect' => env('LDAP_AUTO_CONNECT', true),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Connection
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The connection class to use to run raw LDAP operations on.
|
||||||
|
|
|
||||||
|
| Custom connection classes must implement:
|
||||||
|
|
|
||||||
|
| Adldap\Connections\ConnectionInterface
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'connection' => Adldap\Connections\Ldap::class,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Connection Settings
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This connection settings array is directly passed into the Adldap constructor.
|
||||||
|
|
|
||||||
|
| Feel free to add or remove settings you don't need.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'settings' => [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Schema
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The schema class to use for retrieving attributes and generating models.
|
||||||
|
|
|
||||||
|
| You can also set this option to `null` to use the default schema class.
|
||||||
|
|
|
||||||
|
| For OpenLDAP, you must use the schema:
|
||||||
|
|
|
||||||
|
| Adldap\Schemas\OpenLDAP::class
|
||||||
|
|
|
||||||
|
| For FreeIPA, you must use the schema:
|
||||||
|
|
|
||||||
|
| Adldap\Schemas\FreeIPA::class
|
||||||
|
|
|
||||||
|
| Custom schema classes must implement Adldap\Schemas\SchemaInterface
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'schema' => Adldap\Schemas\OpenLDAP::class,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Account Prefix
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The account prefix option is the prefix of your user accounts in LDAP directory.
|
||||||
|
|
|
||||||
|
| This string is prepended to all authenticating users usernames.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'account_prefix' => env('LDAP_ACCOUNT_PREFIX', 'prefix'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Account Suffix
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The account suffix option is the suffix of your user accounts in your LDAP directory.
|
||||||
|
|
|
||||||
|
| This string is appended to all authenticating users usernames.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'account_suffix' => env('LDAP_ACCOUNT_SUFFIX', 'suffix'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Domain Controllers
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The domain controllers option is an array of servers located on your
|
||||||
|
| network that serve Active Directory. You can insert as many servers or
|
||||||
|
| as little as you'd like depending on your forest (with the
|
||||||
|
| minimum of one of course).
|
||||||
|
|
|
||||||
|
| These can be IP addresses of your server(s), or the host name.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'hosts' => explode(' ', env('LDAP_HOSTS', 'corp-dc1.corp.acme.org corp-dc2.corp.acme.org')),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Port
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The port option is used for authenticating and binding to your LDAP server.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'port' => env('LDAP_PORT', 389),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Timeout
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The timeout option allows you to configure the amount of time in
|
||||||
|
| seconds that your application waits until a response
|
||||||
|
| is received from your LDAP server.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'timeout' => env('LDAP_TIMEOUT', 5),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Base Distinguished Name
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The base distinguished name is the base distinguished name you'd
|
||||||
|
| like to perform query operations on. An example base DN would be:
|
||||||
|
|
|
||||||
|
| dc=corp,dc=acme,dc=org
|
||||||
|
|
|
||||||
|
| A correct base DN is required for any query results to be returned.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'base_dn' => env('LDAP_BASE_DN', 'dc=corp,dc=acme,dc=org'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| LDAP Username & Password
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When connecting to your LDAP server, a username and password is required
|
||||||
|
| to be able to query and run operations on your server(s). You can
|
||||||
|
| use any user account that has these permissions. This account
|
||||||
|
| does not need to be a domain administrator unless you
|
||||||
|
| require changing and resetting user passwords.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'username' => env('LDAP_USERNAME'),
|
||||||
|
'password' => env('LDAP_PASSWORD'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Follow Referrals
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The follow referrals option is a boolean to tell active directory
|
||||||
|
| to follow a referral to another server on your network if the
|
||||||
|
| server queried knows the information your asking for exists,
|
||||||
|
| but does not yet contain a copy of it locally.
|
||||||
|
|
|
||||||
|
| This option is defaulted to false.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'follow_referrals' => false,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| SSL & TLS
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| If you need to be able to change user passwords on your server, then an
|
||||||
|
| SSL or TLS connection is required. All other operations are allowed
|
||||||
|
| on unsecured protocols.
|
||||||
|
|
|
||||||
|
| One of these options are definitely recommended if you
|
||||||
|
| have the ability to connect to your server securely.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'use_ssl' => env('LDAP_USE_SSL', false),
|
||||||
|
'use_tls' => env('LDAP_USE_TLS', false),
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
339
config/ldap_auth.php
Normal file
339
config/ldap_auth.php
Normal file
@ -0,0 +1,339 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Connection
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The LDAP connection to use for Laravel authentication.
|
||||||
|
|
|
||||||
|
| You must specify connections in your `config/ldap.php` configuration file.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'connection' => env('LDAP_CONNECTION', 'default'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Provider
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The LDAP authentication provider to use depending
|
||||||
|
| if you require database synchronization.
|
||||||
|
|
|
||||||
|
| For synchronizing LDAP users to your local applications database, use the provider:
|
||||||
|
|
|
||||||
|
| Adldap\Laravel\Auth\DatabaseUserProvider::class
|
||||||
|
|
|
||||||
|
| Otherwise, if you just require LDAP authentication, use the provider:
|
||||||
|
|
|
||||||
|
| Adldap\Laravel\Auth\NoDatabaseUserProvider::class
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'provider' => Adldap\Laravel\Auth\NoDatabaseUserProvider::class,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Model
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The model to utilize for authentication and importing.
|
||||||
|
|
|
||||||
|
| This option is only applicable to the DatabaseUserProvider.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'model' => App\User::class,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Rules
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Rules allow you to control user authentication requests depending on scenarios.
|
||||||
|
|
|
||||||
|
| You can create your own rules and insert them here.
|
||||||
|
|
|
||||||
|
| All rules must extend from the following class:
|
||||||
|
|
|
||||||
|
| Adldap\Laravel\Validation\Rules\Rule
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'rules' => [
|
||||||
|
|
||||||
|
// Denys deleted users from authenticating.
|
||||||
|
|
||||||
|
Adldap\Laravel\Validation\Rules\DenyTrashed::class,
|
||||||
|
|
||||||
|
// Allows only manually imported users to authenticate.
|
||||||
|
|
||||||
|
// Adldap\Laravel\Validation\Rules\OnlyImported::class,
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Scopes
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Scopes allow you to restrict the LDAP query that locates
|
||||||
|
| users upon import and authentication.
|
||||||
|
|
|
||||||
|
| All scopes must implement the following interface:
|
||||||
|
|
|
||||||
|
| Adldap\Laravel\Scopes\ScopeInterface
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'scopes' => [
|
||||||
|
|
||||||
|
// Only allows users with a user principal name to authenticate.
|
||||||
|
// Suitable when using ActiveDirectory.
|
||||||
|
// Adldap\Laravel\Scopes\UpnScope::class,
|
||||||
|
|
||||||
|
// Only allows users with a uid to authenticate.
|
||||||
|
// Suitable when using OpenLDAP.
|
||||||
|
// Adldap\Laravel\Scopes\UidScope::class,
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
'identifiers' => [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| LDAP
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Locate Users By:
|
||||||
|
|
|
||||||
|
| This value is the users attribute you would like to locate LDAP
|
||||||
|
| users by in your directory.
|
||||||
|
|
|
||||||
|
| For example, using the default configuration below, if you're
|
||||||
|
| authenticating users with an email address, your LDAP server
|
||||||
|
| will be queried for a user with the a `userprincipalname`
|
||||||
|
| equal to the entered email address.
|
||||||
|
|
|
||||||
|
| Bind Users By:
|
||||||
|
|
|
||||||
|
| This value is the users attribute you would
|
||||||
|
| like to use to bind to your LDAP server.
|
||||||
|
|
|
||||||
|
| For example, when a user is located by the above attribute,
|
||||||
|
| the users attribute you specify below will be used as
|
||||||
|
| the 'username' to bind to your LDAP server.
|
||||||
|
|
|
||||||
|
| This is usually their distinguished name.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'ldap' => [
|
||||||
|
|
||||||
|
'locate_users_by' => 'mail',
|
||||||
|
|
||||||
|
'bind_users_by' => 'dn',
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
'database' => [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| GUID Column
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The value of this option is the database column that will contain the
|
||||||
|
| LDAP users global identifier. This column does not need to be added
|
||||||
|
| to the sync attributes below. It is synchronized automatically.
|
||||||
|
|
|
||||||
|
| This option is only applicable to the DatabaseUserProvider.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'guid_column' => 'objectguid',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Username Column
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The value of this option is the database column that contains your
|
||||||
|
| users login username.
|
||||||
|
|
|
||||||
|
| This column must be added to your sync attributes below to be
|
||||||
|
| properly synchronized.
|
||||||
|
|
|
||||||
|
| This option is only applicable to the DatabaseUserProvider.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'username_column' => 'mail',
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Windows Authentication Middleware (SSO)
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Local Users By:
|
||||||
|
|
|
||||||
|
| This value is the users attribute you would like to locate LDAP
|
||||||
|
| users by in your directory.
|
||||||
|
|
|
||||||
|
| For example, if 'samaccountname' is the value, then your LDAP server is
|
||||||
|
| queried for a user with the 'samaccountname' equal to the value of
|
||||||
|
| $_SERVER['AUTH_USER'].
|
||||||
|
|
|
||||||
|
| If a user is found, they are imported (if using the DatabaseUserProvider)
|
||||||
|
| into your local database, then logged in.
|
||||||
|
|
|
||||||
|
| Server Key:
|
||||||
|
|
|
||||||
|
| This value represents the 'key' of the $_SERVER
|
||||||
|
| array to pull the users account name from.
|
||||||
|
|
|
||||||
|
| For example, $_SERVER['AUTH_USER'].
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'windows' => [
|
||||||
|
|
||||||
|
'locate_users_by' => 'samaccountname',
|
||||||
|
|
||||||
|
'server_key' => 'AUTH_USER',
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
'passwords' => [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Password Sync
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The password sync option allows you to automatically synchronize users
|
||||||
|
| LDAP passwords to your local database. These passwords are hashed
|
||||||
|
| natively by Laravel using the Hash::make() method.
|
||||||
|
|
|
||||||
|
| Enabling this option would also allow users to login to their accounts
|
||||||
|
| using the password last used when an LDAP connection was present.
|
||||||
|
|
|
||||||
|
| If this option is disabled, the local database account is applied a
|
||||||
|
| random 16 character hashed password upon first login, and will
|
||||||
|
| lose access to this account upon loss of LDAP connectivity.
|
||||||
|
|
|
||||||
|
| This option is only applicable to the DatabaseUserProvider.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'sync' => env('LDAP_PASSWORD_SYNC', false),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Column
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This is the column of your users database table
|
||||||
|
| that is used to store passwords.
|
||||||
|
|
|
||||||
|
| Set this to `null` if you do not have a password column.
|
||||||
|
|
|
||||||
|
| This option is only applicable to the DatabaseUserProvider.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'column' => 'password',
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Login Fallback
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The login fallback option allows you to login as a user located on the
|
||||||
|
| local database if active directory authentication fails.
|
||||||
|
|
|
||||||
|
| Set this to true if you would like to enable it.
|
||||||
|
|
|
||||||
|
| This option is only applicable to the DatabaseUserProvider.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'login_fallback' => env('LDAP_LOGIN_FALLBACK', false),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Sync Attributes
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Attributes specified here will be added / replaced on the user model
|
||||||
|
| upon login, automatically synchronizing and keeping the attributes
|
||||||
|
| up to date.
|
||||||
|
|
|
||||||
|
| The array key represents the users Laravel model key, and
|
||||||
|
| the value represents the users LDAP attribute.
|
||||||
|
|
|
||||||
|
| You **must** include the users login attribute here.
|
||||||
|
|
|
||||||
|
| This option is only applicable to the DatabaseUserProvider.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'sync_attributes' => [
|
||||||
|
|
||||||
|
'mail' => 'userprincipalname',
|
||||||
|
|
||||||
|
'name' => 'cn',
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Logging
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| User authentication attempts will be logged using Laravel's
|
||||||
|
| default logger if this setting is enabled.
|
||||||
|
|
|
||||||
|
| No credentials are logged, only usernames.
|
||||||
|
|
|
||||||
|
| This is usually stored in the '/storage/logs' directory
|
||||||
|
| in the root of your application.
|
||||||
|
|
|
||||||
|
| This option is useful for debugging as well as auditing.
|
||||||
|
|
|
||||||
|
| You can freely remove any events you would not like to log below,
|
||||||
|
| as well as use your own listeners if you would prefer.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'logging' => [
|
||||||
|
|
||||||
|
'enabled' => env('LDAP_LOGGING', true),
|
||||||
|
|
||||||
|
'events' => [
|
||||||
|
|
||||||
|
\Adldap\Laravel\Events\Importing::class => \Adldap\Laravel\Listeners\LogImport::class,
|
||||||
|
\Adldap\Laravel\Events\Synchronized::class => \Adldap\Laravel\Listeners\LogSynchronized::class,
|
||||||
|
\Adldap\Laravel\Events\Synchronizing::class => \Adldap\Laravel\Listeners\LogSynchronizing::class,
|
||||||
|
\Adldap\Laravel\Events\Authenticated::class => \Adldap\Laravel\Listeners\LogAuthenticated::class,
|
||||||
|
\Adldap\Laravel\Events\Authenticating::class => \Adldap\Laravel\Listeners\LogAuthentication::class,
|
||||||
|
\Adldap\Laravel\Events\AuthenticationFailed::class => \Adldap\Laravel\Listeners\LogAuthenticationFailure::class,
|
||||||
|
\Adldap\Laravel\Events\AuthenticationRejected::class => \Adldap\Laravel\Listeners\LogAuthenticationRejection::class,
|
||||||
|
\Adldap\Laravel\Events\AuthenticationSuccessful::class => \Adldap\Laravel\Listeners\LogAuthenticationSuccess::class,
|
||||||
|
\Adldap\Laravel\Events\DiscoveredWithCredentials::class => \Adldap\Laravel\Listeners\LogDiscovery::class,
|
||||||
|
\Adldap\Laravel\Events\AuthenticatedWithWindows::class => \Adldap\Laravel\Listeners\LogWindowsAuth::class,
|
||||||
|
\Adldap\Laravel\Events\AuthenticatedModelTrashed::class => \Adldap\Laravel\Listeners\LogTrashedModel::class,
|
||||||
|
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
@ -20,6 +20,7 @@
|
|||||||
"resolve-url-loader": "^2.3.1",
|
"resolve-url-loader": "^2.3.1",
|
||||||
"sass": "^1.15.2",
|
"sass": "^1.15.2",
|
||||||
"sass-loader": "^7.1.0",
|
"sass-loader": "^7.1.0",
|
||||||
"vue": "^2.5.17"
|
"vue": "^2.5.17",
|
||||||
|
"vue-template-compiler": "^2.6.10"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
11
public/css/adminlte.min.css
vendored
Normal file
11
public/css/adminlte.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
10671
public/css/app.css
vendored
10671
public/css/app.css
vendored
File diff suppressed because one or more lines are too long
65
public/css/fixes.css
vendored
Normal file
65
public/css/fixes.css
vendored
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
/* Fixes for data tables */
|
||||||
|
.dataTables_wrapper .dataTables_paginate .paginate_button {
|
||||||
|
padding: 0em 0em;
|
||||||
|
margin-left: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
|
||||||
|
border: 0px solid;
|
||||||
|
background: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dataTables_wrapper .dataTables_paginate .paginate_button:active {
|
||||||
|
box-shadow: 0 0 0px #fff;
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.dataTable thead .sorting_asc {
|
||||||
|
background-image: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.dataTable thead .sorting_desc {
|
||||||
|
background-image: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.dataTable thead .sorting {
|
||||||
|
background-image: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Remove blue border from chrome on buttons */
|
||||||
|
/* Remove outline for non-keyboard :focus */
|
||||||
|
*:focus:not(.focus-visible) {
|
||||||
|
outline: none !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Optional: Customize .focus-visible */
|
||||||
|
.focus-visible {
|
||||||
|
outline-color: lightgreen;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.login-box .input-group .input-group-append span.fa {
|
||||||
|
line-height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
*:disabled {
|
||||||
|
cursor: not-allowed;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Login Box, icons when inputs disabled */
|
||||||
|
div.login-box .input-group-append .fa {
|
||||||
|
width: 2.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#favourite.selected {
|
||||||
|
color: orange;
|
||||||
|
}
|
||||||
|
|
||||||
|
#favourite:hover {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-size: 0.85em;
|
||||||
|
}
|
19
public/css/print.css
vendored
Normal file
19
public/css/print.css
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
@media print {
|
||||||
|
body {
|
||||||
|
color: #333;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr { page-break-inside:avoid; }
|
||||||
|
thead { display:table-header-group; }
|
||||||
|
tfoot { display:table-footer-group; }
|
||||||
|
|
||||||
|
.table-responsive {
|
||||||
|
overflow: visible !important;
|
||||||
|
}
|
||||||
|
}
|
7
public/js/adminlte.min.js
vendored
Normal file
7
public/js/adminlte.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
49447
public/js/app.js
vendored
49447
public/js/app.js
vendored
File diff suppressed because one or more lines are too long
18
resources/views/home.blade.php
Normal file
18
resources/views/home.blade.php
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
@extends('adminlte::layouts.app')
|
||||||
|
|
||||||
|
@section('htmlheader_title')
|
||||||
|
Home
|
||||||
|
@endsection
|
||||||
|
@section('page_title')
|
||||||
|
{{ $user }}
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@section('contentheader_title')
|
||||||
|
@endsection
|
||||||
|
@section('contentheader_description')
|
||||||
|
Client Home
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@section('main-content')
|
||||||
|
@dump($user)
|
||||||
|
@endsection
|
@ -13,6 +13,6 @@ use Illuminate\Http\Request;
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Route::middleware('auth:api')->get('/user', function (Request $request) {
|
#Route::middleware('auth:api')->get('/user', function (Request $request) {
|
||||||
return $request->user();
|
# return $request->user();
|
||||||
});
|
#});
|
||||||
|
@ -11,6 +11,10 @@
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Route::get('/', function () {
|
Auth::routes([
|
||||||
return view('welcome');
|
'reset' => false,
|
||||||
});
|
'verify' => false,
|
||||||
|
'register' => false,
|
||||||
|
]);
|
||||||
|
|
||||||
|
Route::get('/home','HomeController@home');
|
||||||
|
0
storage/app/.gitignore
vendored
Executable file → Normal file
0
storage/app/.gitignore
vendored
Executable file → Normal file
0
storage/app/public/.gitignore
vendored
Executable file → Normal file
0
storage/app/public/.gitignore
vendored
Executable file → Normal file
0
storage/framework/.gitignore
vendored
Executable file → Normal file
0
storage/framework/.gitignore
vendored
Executable file → Normal file
2
storage/framework/cache/.gitignore
vendored
Executable file → Normal file
2
storage/framework/cache/.gitignore
vendored
Executable file → Normal file
@ -1,3 +1,3 @@
|
|||||||
*
|
storage/framework/cache/.gitignore *
|
||||||
!data/
|
!data/
|
||||||
!.gitignore
|
!.gitignore
|
||||||
|
0
storage/framework/cache/data/.gitignore
vendored
Executable file → Normal file
0
storage/framework/cache/data/.gitignore
vendored
Executable file → Normal file
0
storage/framework/sessions/.gitignore
vendored
Executable file → Normal file
0
storage/framework/sessions/.gitignore
vendored
Executable file → Normal file
0
storage/framework/testing/.gitignore
vendored
Executable file → Normal file
0
storage/framework/testing/.gitignore
vendored
Executable file → Normal file
0
storage/framework/views/.gitignore
vendored
Executable file → Normal file
0
storage/framework/views/.gitignore
vendored
Executable file → Normal file
0
storage/logs/.gitignore
vendored
Executable file → Normal file
0
storage/logs/.gitignore
vendored
Executable file → Normal file
Loading…
Reference in New Issue
Block a user