student dashboard
Cette révision appartient à :
Parent
713b8917ea
révision
f172712f98
87
app/Http/Controllers/Students/AuthController.php
Fichier normal
87
app/Http/Controllers/Students/AuthController.php
Fichier normal
@ -0,0 +1,87 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Students;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use Illuminate\Http\Request;
|
||||
use App\Models\Role;
|
||||
use App\Models\Student;
|
||||
use App\Http\Requests\Students\Auth\SignUpRequest;
|
||||
use App\Http\Requests\Students\Auth\SignInRequest;
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
use Exception;
|
||||
|
||||
class AuthController extends Controller
|
||||
{
|
||||
public function signUpForm()
|
||||
{
|
||||
return view('students.auth.register');
|
||||
}
|
||||
|
||||
public function signUpStore(SignUpRequest $request)
|
||||
{
|
||||
try {
|
||||
$stu = new Student;
|
||||
$stu->name_en = $request->name;
|
||||
$stu->email = $request->email;
|
||||
$stu->password = Hash::make($request->password);
|
||||
if ($stu->save())
|
||||
return redirect()->route('studentLogin')->with('success', 'Successfully Registered');
|
||||
else
|
||||
return redirect()->route('studentLogin')->with('danger', 'Please Try Again');
|
||||
} catch (Exception $e) {
|
||||
//dd($e);
|
||||
return redirect()->route('studentLogin')->with('danger', 'Please Try Again');
|
||||
}
|
||||
}
|
||||
|
||||
public function signInForm()
|
||||
{
|
||||
return view('students.auth.login');
|
||||
}
|
||||
|
||||
public function signInCheck(SignInRequest $request)
|
||||
{
|
||||
try {
|
||||
$user = Student::Where('email', $request->email)->first();
|
||||
if ($user) {
|
||||
if ($user->status == 1) {
|
||||
if (Hash::check($request->password, $user->password)) {
|
||||
$this->setSession($user);
|
||||
return redirect()->route('studentdashboard')->with('success', 'Successfully Logged In');
|
||||
} else
|
||||
return redirect()->route('studentLogin')->with('error', 'Username or Password is wrong!');
|
||||
} else
|
||||
return redirect()->route('studentLogin')->with('error', 'You are not an active user! Please contact to Authority');
|
||||
} else
|
||||
return redirect()->route('studentLogin')->with('error', 'Username or Password is wrong!');
|
||||
} catch (Exception $e) {
|
||||
//dd($e);
|
||||
return redirect()->route('studentLogin')->with('error', 'Username or Password is wrong!');
|
||||
}
|
||||
}
|
||||
|
||||
public function setSession($user)
|
||||
{
|
||||
return request()->session()->put(
|
||||
[
|
||||
'userId' => encryptor('encrypt', $user->id),
|
||||
'userName' => encryptor('encrypt', $user->name_en),
|
||||
'emailAddress' => encryptor('encrypt', $user->email),
|
||||
'studentLogin' => 1,
|
||||
'image' => $user->image ?? 'No Image Found'
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
public function signOut()
|
||||
{
|
||||
request()->session()->flush();
|
||||
return redirect()->route('studentLogin')->with('danger', 'Succesfully Logged Out');
|
||||
}
|
||||
|
||||
public function show(User $data)
|
||||
{
|
||||
return view('students.profile.userProfile', compact('data'));
|
||||
}
|
||||
}
|
||||
14
app/Http/Controllers/Students/DashboardController.php
Fichier normal
14
app/Http/Controllers/Students/DashboardController.php
Fichier normal
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Students;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class DashboardController extends Controller
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
return view('students.dashboard');
|
||||
}
|
||||
}
|
||||
@ -56,6 +56,7 @@ class Kernel extends HttpKernel
|
||||
'auth' => \App\Http\Middleware\Authenticate::class,
|
||||
'checkrole' => \App\Http\Middleware\checkRole::class,
|
||||
'checkauth' => \App\Http\Middleware\checkAuth::class,
|
||||
'checkstudent' => \App\Http\Middleware\checkStudent::class,
|
||||
'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
|
||||
'auth.session' => \Illuminate\Session\Middleware\AuthenticateSession::class,
|
||||
'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class,
|
||||
|
||||
31
app/Http/Middleware/checkStudent.php
Fichier normal
31
app/Http/Middleware/checkStudent.php
Fichier normal
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Middleware;
|
||||
|
||||
use Closure;
|
||||
use App\Models\Student; //custom
|
||||
use Illuminate\Http\Request;
|
||||
use Session; //custom
|
||||
use App\Models\Permission; //custom
|
||||
|
||||
class checkStudent
|
||||
{
|
||||
/**
|
||||
* Handle an incoming request.
|
||||
*
|
||||
* @param \Closure(\Illuminate\Http\Request): (\Symfony\Component\HttpFoundation\Response) $next
|
||||
*/
|
||||
public function handle(Request $request, Closure $next)
|
||||
{
|
||||
if (!Session::has('userId') || Session::has('userId') == null) {
|
||||
return redirect()->route('studentlogOut');
|
||||
} else {
|
||||
$user = Student::where('status', 1)->where('id', currentUserId())->exists();
|
||||
if (!$user)
|
||||
return redirect()->route('studentlogOut');
|
||||
else
|
||||
return $next($request);
|
||||
}
|
||||
return redirect()->route('studentlogOut');
|
||||
}
|
||||
}
|
||||
29
app/Http/Requests/Students/Auth/SignInRequest.php
Fichier normal
29
app/Http/Requests/Students/Auth/SignInRequest.php
Fichier normal
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests\Students\Auth;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class SignInRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*/
|
||||
public function authorize(): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
|
||||
*/
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
'email' => 'required',
|
||||
'password' => 'required'
|
||||
];
|
||||
}
|
||||
}
|
||||
30
app/Http/Requests/Students/Auth/SignUpRequest.php
Fichier normal
30
app/Http/Requests/Students/Auth/SignUpRequest.php
Fichier normal
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests\Students\Auth;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class SignUpRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*/
|
||||
public function authorize(): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
|
||||
*/
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
'name' => 'required|max:255',
|
||||
'email' => 'required|unique:students',
|
||||
'password' => 'required|confirmed',
|
||||
];
|
||||
}
|
||||
}
|
||||
405
composer.lock
générée
405
composer.lock
générée
@ -1034,16 +1034,16 @@
|
||||
},
|
||||
{
|
||||
"name": "laravel/framework",
|
||||
"version": "v10.33.0",
|
||||
"version": "v10.34.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/laravel/framework.git",
|
||||
"reference": "4536872e3e5b6be51b1f655dafd12c9a4fa0cfe8"
|
||||
"reference": "c581caa233e380610b34cc491490bfa147a3b62b"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/laravel/framework/zipball/4536872e3e5b6be51b1f655dafd12c9a4fa0cfe8",
|
||||
"reference": "4536872e3e5b6be51b1f655dafd12c9a4fa0cfe8",
|
||||
"url": "https://api.github.com/repos/laravel/framework/zipball/c581caa233e380610b34cc491490bfa147a3b62b",
|
||||
"reference": "c581caa233e380610b34cc491490bfa147a3b62b",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -1232,7 +1232,7 @@
|
||||
"issues": "https://github.com/laravel/framework/issues",
|
||||
"source": "https://github.com/laravel/framework"
|
||||
},
|
||||
"time": "2023-11-21T14:49:31+00:00"
|
||||
"time": "2023-11-28T19:06:27+00:00"
|
||||
},
|
||||
{
|
||||
"name": "laravel/prompts",
|
||||
@ -3171,16 +3171,16 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/console",
|
||||
"version": "v6.3.8",
|
||||
"version": "v6.4.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/console.git",
|
||||
"reference": "0d14a9f6d04d4ac38a8cea1171f4554e325dae92"
|
||||
"reference": "a550a7c99daeedef3f9d23fb82e3531525ff11fd"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/console/zipball/0d14a9f6d04d4ac38a8cea1171f4554e325dae92",
|
||||
"reference": "0d14a9f6d04d4ac38a8cea1171f4554e325dae92",
|
||||
"url": "https://api.github.com/repos/symfony/console/zipball/a550a7c99daeedef3f9d23fb82e3531525ff11fd",
|
||||
"reference": "a550a7c99daeedef3f9d23fb82e3531525ff11fd",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -3188,7 +3188,7 @@
|
||||
"symfony/deprecation-contracts": "^2.5|^3",
|
||||
"symfony/polyfill-mbstring": "~1.0",
|
||||
"symfony/service-contracts": "^2.5|^3",
|
||||
"symfony/string": "^5.4|^6.0"
|
||||
"symfony/string": "^5.4|^6.0|^7.0"
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/dependency-injection": "<5.4",
|
||||
@ -3202,12 +3202,16 @@
|
||||
},
|
||||
"require-dev": {
|
||||
"psr/log": "^1|^2|^3",
|
||||
"symfony/config": "^5.4|^6.0",
|
||||
"symfony/dependency-injection": "^5.4|^6.0",
|
||||
"symfony/event-dispatcher": "^5.4|^6.0",
|
||||
"symfony/lock": "^5.4|^6.0",
|
||||
"symfony/process": "^5.4|^6.0",
|
||||
"symfony/var-dumper": "^5.4|^6.0"
|
||||
"symfony/config": "^5.4|^6.0|^7.0",
|
||||
"symfony/dependency-injection": "^5.4|^6.0|^7.0",
|
||||
"symfony/event-dispatcher": "^5.4|^6.0|^7.0",
|
||||
"symfony/http-foundation": "^6.4|^7.0",
|
||||
"symfony/http-kernel": "^6.4|^7.0",
|
||||
"symfony/lock": "^5.4|^6.0|^7.0",
|
||||
"symfony/messenger": "^5.4|^6.0|^7.0",
|
||||
"symfony/process": "^5.4|^6.0|^7.0",
|
||||
"symfony/stopwatch": "^5.4|^6.0|^7.0",
|
||||
"symfony/var-dumper": "^5.4|^6.0|^7.0"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
@ -3241,7 +3245,7 @@
|
||||
"terminal"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/console/tree/v6.3.8"
|
||||
"source": "https://github.com/symfony/console/tree/v6.4.1"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -3257,20 +3261,20 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-10-31T08:09:35+00:00"
|
||||
"time": "2023-11-30T10:54:28+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/css-selector",
|
||||
"version": "v6.3.2",
|
||||
"version": "v6.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/css-selector.git",
|
||||
"reference": "883d961421ab1709877c10ac99451632a3d6fa57"
|
||||
"reference": "d036c6c0d0b09e24a14a35f8292146a658f986e4"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/css-selector/zipball/883d961421ab1709877c10ac99451632a3d6fa57",
|
||||
"reference": "883d961421ab1709877c10ac99451632a3d6fa57",
|
||||
"url": "https://api.github.com/repos/symfony/css-selector/zipball/d036c6c0d0b09e24a14a35f8292146a658f986e4",
|
||||
"reference": "d036c6c0d0b09e24a14a35f8292146a658f986e4",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -3306,7 +3310,7 @@
|
||||
"description": "Converts CSS selectors to XPath expressions",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/css-selector/tree/v6.3.2"
|
||||
"source": "https://github.com/symfony/css-selector/tree/v6.4.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -3322,7 +3326,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-07-12T16:00:22+00:00"
|
||||
"time": "2023-10-31T08:40:20+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/deprecation-contracts",
|
||||
@ -3393,30 +3397,31 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/error-handler",
|
||||
"version": "v6.3.5",
|
||||
"version": "v6.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/error-handler.git",
|
||||
"reference": "1f69476b64fb47105c06beef757766c376b548c4"
|
||||
"reference": "c873490a1c97b3a0a4838afc36ff36c112d02788"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/error-handler/zipball/1f69476b64fb47105c06beef757766c376b548c4",
|
||||
"reference": "1f69476b64fb47105c06beef757766c376b548c4",
|
||||
"url": "https://api.github.com/repos/symfony/error-handler/zipball/c873490a1c97b3a0a4838afc36ff36c112d02788",
|
||||
"reference": "c873490a1c97b3a0a4838afc36ff36c112d02788",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.1",
|
||||
"psr/log": "^1|^2|^3",
|
||||
"symfony/var-dumper": "^5.4|^6.0"
|
||||
"symfony/var-dumper": "^5.4|^6.0|^7.0"
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/deprecation-contracts": "<2.5"
|
||||
"symfony/deprecation-contracts": "<2.5",
|
||||
"symfony/http-kernel": "<6.4"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/deprecation-contracts": "^2.5|^3",
|
||||
"symfony/http-kernel": "^5.4|^6.0",
|
||||
"symfony/serializer": "^5.4|^6.0"
|
||||
"symfony/http-kernel": "^6.4|^7.0",
|
||||
"symfony/serializer": "^5.4|^6.0|^7.0"
|
||||
},
|
||||
"bin": [
|
||||
"Resources/bin/patch-type-declarations"
|
||||
@ -3447,7 +3452,7 @@
|
||||
"description": "Provides tools to manage errors and ease debugging PHP code",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/error-handler/tree/v6.3.5"
|
||||
"source": "https://github.com/symfony/error-handler/tree/v6.4.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -3463,28 +3468,28 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-09-12T06:57:20+00:00"
|
||||
"time": "2023-10-18T09:43:34+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/event-dispatcher",
|
||||
"version": "v6.3.2",
|
||||
"version": "v7.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/event-dispatcher.git",
|
||||
"reference": "adb01fe097a4ee930db9258a3cc906b5beb5cf2e"
|
||||
"reference": "c459b40ffe67c49af6fd392aac374c9edf8a027e"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/adb01fe097a4ee930db9258a3cc906b5beb5cf2e",
|
||||
"reference": "adb01fe097a4ee930db9258a3cc906b5beb5cf2e",
|
||||
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/c459b40ffe67c49af6fd392aac374c9edf8a027e",
|
||||
"reference": "c459b40ffe67c49af6fd392aac374c9edf8a027e",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.1",
|
||||
"php": ">=8.2",
|
||||
"symfony/event-dispatcher-contracts": "^2.5|^3"
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/dependency-injection": "<5.4",
|
||||
"symfony/dependency-injection": "<6.4",
|
||||
"symfony/service-contracts": "<2.5"
|
||||
},
|
||||
"provide": {
|
||||
@ -3493,13 +3498,13 @@
|
||||
},
|
||||
"require-dev": {
|
||||
"psr/log": "^1|^2|^3",
|
||||
"symfony/config": "^5.4|^6.0",
|
||||
"symfony/dependency-injection": "^5.4|^6.0",
|
||||
"symfony/error-handler": "^5.4|^6.0",
|
||||
"symfony/expression-language": "^5.4|^6.0",
|
||||
"symfony/http-foundation": "^5.4|^6.0",
|
||||
"symfony/config": "^6.4|^7.0",
|
||||
"symfony/dependency-injection": "^6.4|^7.0",
|
||||
"symfony/error-handler": "^6.4|^7.0",
|
||||
"symfony/expression-language": "^6.4|^7.0",
|
||||
"symfony/http-foundation": "^6.4|^7.0",
|
||||
"symfony/service-contracts": "^2.5|^3",
|
||||
"symfony/stopwatch": "^5.4|^6.0"
|
||||
"symfony/stopwatch": "^6.4|^7.0"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
@ -3527,7 +3532,7 @@
|
||||
"description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/event-dispatcher/tree/v6.3.2"
|
||||
"source": "https://github.com/symfony/event-dispatcher/tree/v7.0.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -3543,7 +3548,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-07-06T06:56:43+00:00"
|
||||
"time": "2023-07-27T16:29:09+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/event-dispatcher-contracts",
|
||||
@ -3623,23 +3628,23 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/finder",
|
||||
"version": "v6.3.5",
|
||||
"version": "v6.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/finder.git",
|
||||
"reference": "a1b31d88c0e998168ca7792f222cbecee47428c4"
|
||||
"reference": "11d736e97f116ac375a81f96e662911a34cd50ce"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/finder/zipball/a1b31d88c0e998168ca7792f222cbecee47428c4",
|
||||
"reference": "a1b31d88c0e998168ca7792f222cbecee47428c4",
|
||||
"url": "https://api.github.com/repos/symfony/finder/zipball/11d736e97f116ac375a81f96e662911a34cd50ce",
|
||||
"reference": "11d736e97f116ac375a81f96e662911a34cd50ce",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/filesystem": "^6.0"
|
||||
"symfony/filesystem": "^6.0|^7.0"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
@ -3667,7 +3672,7 @@
|
||||
"description": "Finds files and directories via an intuitive fluent interface",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/finder/tree/v6.3.5"
|
||||
"source": "https://github.com/symfony/finder/tree/v6.4.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -3683,20 +3688,20 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-09-26T12:56:25+00:00"
|
||||
"time": "2023-10-31T17:30:12+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/http-foundation",
|
||||
"version": "v6.3.8",
|
||||
"version": "v6.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/http-foundation.git",
|
||||
"reference": "ce332676de1912c4389222987193c3ef38033df6"
|
||||
"reference": "44a6d39a9cc11e154547d882d5aac1e014440771"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/ce332676de1912c4389222987193c3ef38033df6",
|
||||
"reference": "ce332676de1912c4389222987193c3ef38033df6",
|
||||
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/44a6d39a9cc11e154547d882d5aac1e014440771",
|
||||
"reference": "44a6d39a9cc11e154547d882d5aac1e014440771",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -3711,12 +3716,12 @@
|
||||
"require-dev": {
|
||||
"doctrine/dbal": "^2.13.1|^3|^4",
|
||||
"predis/predis": "^1.1|^2.0",
|
||||
"symfony/cache": "^6.3",
|
||||
"symfony/dependency-injection": "^5.4|^6.0",
|
||||
"symfony/expression-language": "^5.4|^6.0",
|
||||
"symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4",
|
||||
"symfony/mime": "^5.4|^6.0",
|
||||
"symfony/rate-limiter": "^5.2|^6.0"
|
||||
"symfony/cache": "^6.3|^7.0",
|
||||
"symfony/dependency-injection": "^5.4|^6.0|^7.0",
|
||||
"symfony/expression-language": "^5.4|^6.0|^7.0",
|
||||
"symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4|^7.0",
|
||||
"symfony/mime": "^5.4|^6.0|^7.0",
|
||||
"symfony/rate-limiter": "^5.4|^6.0|^7.0"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
@ -3744,7 +3749,7 @@
|
||||
"description": "Defines an object-oriented layer for the HTTP specification",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/http-foundation/tree/v6.3.8"
|
||||
"source": "https://github.com/symfony/http-foundation/tree/v6.4.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -3760,29 +3765,29 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-11-07T10:17:15+00:00"
|
||||
"time": "2023-11-20T16:41:16+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/http-kernel",
|
||||
"version": "v6.3.8",
|
||||
"version": "v6.4.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/http-kernel.git",
|
||||
"reference": "929202375ccf44a309c34aeca8305408442ebcc1"
|
||||
"reference": "2953274c16a229b3933ef73a6898e18388e12e1b"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/929202375ccf44a309c34aeca8305408442ebcc1",
|
||||
"reference": "929202375ccf44a309c34aeca8305408442ebcc1",
|
||||
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/2953274c16a229b3933ef73a6898e18388e12e1b",
|
||||
"reference": "2953274c16a229b3933ef73a6898e18388e12e1b",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.1",
|
||||
"psr/log": "^1|^2|^3",
|
||||
"symfony/deprecation-contracts": "^2.5|^3",
|
||||
"symfony/error-handler": "^6.3",
|
||||
"symfony/event-dispatcher": "^5.4|^6.0",
|
||||
"symfony/http-foundation": "^6.3.4",
|
||||
"symfony/error-handler": "^6.4|^7.0",
|
||||
"symfony/event-dispatcher": "^5.4|^6.0|^7.0",
|
||||
"symfony/http-foundation": "^6.4|^7.0",
|
||||
"symfony/polyfill-ctype": "^1.8"
|
||||
},
|
||||
"conflict": {
|
||||
@ -3790,7 +3795,7 @@
|
||||
"symfony/cache": "<5.4",
|
||||
"symfony/config": "<6.1",
|
||||
"symfony/console": "<5.4",
|
||||
"symfony/dependency-injection": "<6.3.4",
|
||||
"symfony/dependency-injection": "<6.4",
|
||||
"symfony/doctrine-bridge": "<5.4",
|
||||
"symfony/form": "<5.4",
|
||||
"symfony/http-client": "<5.4",
|
||||
@ -3800,7 +3805,7 @@
|
||||
"symfony/translation": "<5.4",
|
||||
"symfony/translation-contracts": "<2.5",
|
||||
"symfony/twig-bridge": "<5.4",
|
||||
"symfony/validator": "<5.4",
|
||||
"symfony/validator": "<6.4",
|
||||
"symfony/var-dumper": "<6.3",
|
||||
"twig/twig": "<2.13"
|
||||
},
|
||||
@ -3809,26 +3814,26 @@
|
||||
},
|
||||
"require-dev": {
|
||||
"psr/cache": "^1.0|^2.0|^3.0",
|
||||
"symfony/browser-kit": "^5.4|^6.0",
|
||||
"symfony/clock": "^6.2",
|
||||
"symfony/config": "^6.1",
|
||||
"symfony/console": "^5.4|^6.0",
|
||||
"symfony/css-selector": "^5.4|^6.0",
|
||||
"symfony/dependency-injection": "^6.3.4",
|
||||
"symfony/dom-crawler": "^5.4|^6.0",
|
||||
"symfony/expression-language": "^5.4|^6.0",
|
||||
"symfony/finder": "^5.4|^6.0",
|
||||
"symfony/browser-kit": "^5.4|^6.0|^7.0",
|
||||
"symfony/clock": "^6.2|^7.0",
|
||||
"symfony/config": "^6.1|^7.0",
|
||||
"symfony/console": "^5.4|^6.0|^7.0",
|
||||
"symfony/css-selector": "^5.4|^6.0|^7.0",
|
||||
"symfony/dependency-injection": "^6.4|^7.0",
|
||||
"symfony/dom-crawler": "^5.4|^6.0|^7.0",
|
||||
"symfony/expression-language": "^5.4|^6.0|^7.0",
|
||||
"symfony/finder": "^5.4|^6.0|^7.0",
|
||||
"symfony/http-client-contracts": "^2.5|^3",
|
||||
"symfony/process": "^5.4|^6.0",
|
||||
"symfony/property-access": "^5.4.5|^6.0.5",
|
||||
"symfony/routing": "^5.4|^6.0",
|
||||
"symfony/serializer": "^6.3",
|
||||
"symfony/stopwatch": "^5.4|^6.0",
|
||||
"symfony/translation": "^5.4|^6.0",
|
||||
"symfony/process": "^5.4|^6.0|^7.0",
|
||||
"symfony/property-access": "^5.4.5|^6.0.5|^7.0",
|
||||
"symfony/routing": "^5.4|^6.0|^7.0",
|
||||
"symfony/serializer": "^6.3|^7.0",
|
||||
"symfony/stopwatch": "^5.4|^6.0|^7.0",
|
||||
"symfony/translation": "^5.4|^6.0|^7.0",
|
||||
"symfony/translation-contracts": "^2.5|^3",
|
||||
"symfony/uid": "^5.4|^6.0",
|
||||
"symfony/validator": "^6.3",
|
||||
"symfony/var-exporter": "^6.2",
|
||||
"symfony/uid": "^5.4|^6.0|^7.0",
|
||||
"symfony/validator": "^6.4|^7.0",
|
||||
"symfony/var-exporter": "^6.2|^7.0",
|
||||
"twig/twig": "^2.13|^3.0.4"
|
||||
},
|
||||
"type": "library",
|
||||
@ -3857,7 +3862,7 @@
|
||||
"description": "Provides a structured process for converting a Request into a Response",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/http-kernel/tree/v6.3.8"
|
||||
"source": "https://github.com/symfony/http-kernel/tree/v6.4.1"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -3873,20 +3878,20 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-11-10T13:47:32+00:00"
|
||||
"time": "2023-12-01T17:02:02+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/mailer",
|
||||
"version": "v6.3.5",
|
||||
"version": "v6.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/mailer.git",
|
||||
"reference": "d89611a7830d51b5e118bca38e390dea92f9ea06"
|
||||
"reference": "ca8dcf8892cdc5b4358ecf2528429bb5e706f7ba"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/mailer/zipball/d89611a7830d51b5e118bca38e390dea92f9ea06",
|
||||
"reference": "d89611a7830d51b5e118bca38e390dea92f9ea06",
|
||||
"url": "https://api.github.com/repos/symfony/mailer/zipball/ca8dcf8892cdc5b4358ecf2528429bb5e706f7ba",
|
||||
"reference": "ca8dcf8892cdc5b4358ecf2528429bb5e706f7ba",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -3894,8 +3899,8 @@
|
||||
"php": ">=8.1",
|
||||
"psr/event-dispatcher": "^1",
|
||||
"psr/log": "^1|^2|^3",
|
||||
"symfony/event-dispatcher": "^5.4|^6.0",
|
||||
"symfony/mime": "^6.2",
|
||||
"symfony/event-dispatcher": "^5.4|^6.0|^7.0",
|
||||
"symfony/mime": "^6.2|^7.0",
|
||||
"symfony/service-contracts": "^2.5|^3"
|
||||
},
|
||||
"conflict": {
|
||||
@ -3906,10 +3911,10 @@
|
||||
"symfony/twig-bridge": "<6.2.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/console": "^5.4|^6.0",
|
||||
"symfony/http-client": "^5.4|^6.0",
|
||||
"symfony/messenger": "^6.2",
|
||||
"symfony/twig-bridge": "^6.2"
|
||||
"symfony/console": "^5.4|^6.0|^7.0",
|
||||
"symfony/http-client": "^5.4|^6.0|^7.0",
|
||||
"symfony/messenger": "^6.2|^7.0",
|
||||
"symfony/twig-bridge": "^6.2|^7.0"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
@ -3937,7 +3942,7 @@
|
||||
"description": "Helps sending emails",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/mailer/tree/v6.3.5"
|
||||
"source": "https://github.com/symfony/mailer/tree/v6.4.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -3953,20 +3958,20 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-09-06T09:47:15+00:00"
|
||||
"time": "2023-11-12T18:02:22+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/mime",
|
||||
"version": "v6.3.5",
|
||||
"version": "v6.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/mime.git",
|
||||
"reference": "d5179eedf1cb2946dbd760475ebf05c251ef6a6e"
|
||||
"reference": "ca4f58b2ef4baa8f6cecbeca2573f88cd577d205"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/mime/zipball/d5179eedf1cb2946dbd760475ebf05c251ef6a6e",
|
||||
"reference": "d5179eedf1cb2946dbd760475ebf05c251ef6a6e",
|
||||
"url": "https://api.github.com/repos/symfony/mime/zipball/ca4f58b2ef4baa8f6cecbeca2573f88cd577d205",
|
||||
"reference": "ca4f58b2ef4baa8f6cecbeca2573f88cd577d205",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -3980,16 +3985,16 @@
|
||||
"phpdocumentor/reflection-docblock": "<3.2.2",
|
||||
"phpdocumentor/type-resolver": "<1.4.0",
|
||||
"symfony/mailer": "<5.4",
|
||||
"symfony/serializer": "<6.2.13|>=6.3,<6.3.2"
|
||||
"symfony/serializer": "<6.3.2"
|
||||
},
|
||||
"require-dev": {
|
||||
"egulias/email-validator": "^2.1.10|^3.1|^4",
|
||||
"league/html-to-markdown": "^5.0",
|
||||
"phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0",
|
||||
"symfony/dependency-injection": "^5.4|^6.0",
|
||||
"symfony/property-access": "^5.4|^6.0",
|
||||
"symfony/property-info": "^5.4|^6.0",
|
||||
"symfony/serializer": "~6.2.13|^6.3.2"
|
||||
"symfony/dependency-injection": "^5.4|^6.0|^7.0",
|
||||
"symfony/property-access": "^5.4|^6.0|^7.0",
|
||||
"symfony/property-info": "^5.4|^6.0|^7.0",
|
||||
"symfony/serializer": "^6.3.2|^7.0"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
@ -4021,7 +4026,7 @@
|
||||
"mime-type"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/mime/tree/v6.3.5"
|
||||
"source": "https://github.com/symfony/mime/tree/v6.4.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -4037,7 +4042,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-09-29T06:59:36+00:00"
|
||||
"time": "2023-10-17T11:49:05+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/polyfill-ctype",
|
||||
@ -4779,16 +4784,16 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/process",
|
||||
"version": "v6.3.4",
|
||||
"version": "v6.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/process.git",
|
||||
"reference": "0b5c29118f2e980d455d2e34a5659f4579847c54"
|
||||
"reference": "191703b1566d97a5425dc969e4350d32b8ef17aa"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/process/zipball/0b5c29118f2e980d455d2e34a5659f4579847c54",
|
||||
"reference": "0b5c29118f2e980d455d2e34a5659f4579847c54",
|
||||
"url": "https://api.github.com/repos/symfony/process/zipball/191703b1566d97a5425dc969e4350d32b8ef17aa",
|
||||
"reference": "191703b1566d97a5425dc969e4350d32b8ef17aa",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -4820,7 +4825,7 @@
|
||||
"description": "Executes commands in sub-processes",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/process/tree/v6.3.4"
|
||||
"source": "https://github.com/symfony/process/tree/v6.4.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -4836,20 +4841,20 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-08-07T10:39:22+00:00"
|
||||
"time": "2023-11-17T21:06:49+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/routing",
|
||||
"version": "v6.3.5",
|
||||
"version": "v6.4.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/routing.git",
|
||||
"reference": "82616e59acd3e3d9c916bba798326cb7796d7d31"
|
||||
"reference": "0c95c164fdba18b12523b75e64199ca3503e6d40"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/routing/zipball/82616e59acd3e3d9c916bba798326cb7796d7d31",
|
||||
"reference": "82616e59acd3e3d9c916bba798326cb7796d7d31",
|
||||
"url": "https://api.github.com/repos/symfony/routing/zipball/0c95c164fdba18b12523b75e64199ca3503e6d40",
|
||||
"reference": "0c95c164fdba18b12523b75e64199ca3503e6d40",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -4865,11 +4870,11 @@
|
||||
"require-dev": {
|
||||
"doctrine/annotations": "^1.12|^2",
|
||||
"psr/log": "^1|^2|^3",
|
||||
"symfony/config": "^6.2",
|
||||
"symfony/dependency-injection": "^5.4|^6.0",
|
||||
"symfony/expression-language": "^5.4|^6.0",
|
||||
"symfony/http-foundation": "^5.4|^6.0",
|
||||
"symfony/yaml": "^5.4|^6.0"
|
||||
"symfony/config": "^6.2|^7.0",
|
||||
"symfony/dependency-injection": "^5.4|^6.0|^7.0",
|
||||
"symfony/expression-language": "^5.4|^6.0|^7.0",
|
||||
"symfony/http-foundation": "^5.4|^6.0|^7.0",
|
||||
"symfony/yaml": "^5.4|^6.0|^7.0"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
@ -4903,7 +4908,7 @@
|
||||
"url"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/routing/tree/v6.3.5"
|
||||
"source": "https://github.com/symfony/routing/tree/v6.4.1"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -4919,7 +4924,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-09-20T16:05:51+00:00"
|
||||
"time": "2023-12-01T14:54:37+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/service-contracts",
|
||||
@ -5005,20 +5010,20 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/string",
|
||||
"version": "v6.3.8",
|
||||
"version": "v7.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/string.git",
|
||||
"reference": "13880a87790c76ef994c91e87efb96134522577a"
|
||||
"reference": "92bd2bfbba476d4a1838e5e12168bef2fd1e6620"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/string/zipball/13880a87790c76ef994c91e87efb96134522577a",
|
||||
"reference": "13880a87790c76ef994c91e87efb96134522577a",
|
||||
"url": "https://api.github.com/repos/symfony/string/zipball/92bd2bfbba476d4a1838e5e12168bef2fd1e6620",
|
||||
"reference": "92bd2bfbba476d4a1838e5e12168bef2fd1e6620",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.1",
|
||||
"php": ">=8.2",
|
||||
"symfony/polyfill-ctype": "~1.8",
|
||||
"symfony/polyfill-intl-grapheme": "~1.0",
|
||||
"symfony/polyfill-intl-normalizer": "~1.0",
|
||||
@ -5028,11 +5033,11 @@
|
||||
"symfony/translation-contracts": "<2.5"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/error-handler": "^5.4|^6.0",
|
||||
"symfony/http-client": "^5.4|^6.0",
|
||||
"symfony/intl": "^6.2",
|
||||
"symfony/error-handler": "^6.4|^7.0",
|
||||
"symfony/http-client": "^6.4|^7.0",
|
||||
"symfony/intl": "^6.4|^7.0",
|
||||
"symfony/translation-contracts": "^2.5|^3.0",
|
||||
"symfony/var-exporter": "^5.4|^6.0"
|
||||
"symfony/var-exporter": "^6.4|^7.0"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
@ -5071,7 +5076,7 @@
|
||||
"utf8"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/string/tree/v6.3.8"
|
||||
"source": "https://github.com/symfony/string/tree/v7.0.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -5087,20 +5092,20 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-11-09T08:28:21+00:00"
|
||||
"time": "2023-11-29T08:40:23+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/translation",
|
||||
"version": "v6.3.7",
|
||||
"version": "v6.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/translation.git",
|
||||
"reference": "30212e7c87dcb79c83f6362b00bde0e0b1213499"
|
||||
"reference": "b1035dbc2a344b21f8fa8ac451c7ecec4ea45f37"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/translation/zipball/30212e7c87dcb79c83f6362b00bde0e0b1213499",
|
||||
"reference": "30212e7c87dcb79c83f6362b00bde0e0b1213499",
|
||||
"url": "https://api.github.com/repos/symfony/translation/zipball/b1035dbc2a344b21f8fa8ac451c7ecec4ea45f37",
|
||||
"reference": "b1035dbc2a344b21f8fa8ac451c7ecec4ea45f37",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -5125,17 +5130,17 @@
|
||||
"require-dev": {
|
||||
"nikic/php-parser": "^4.13",
|
||||
"psr/log": "^1|^2|^3",
|
||||
"symfony/config": "^5.4|^6.0",
|
||||
"symfony/console": "^5.4|^6.0",
|
||||
"symfony/dependency-injection": "^5.4|^6.0",
|
||||
"symfony/finder": "^5.4|^6.0",
|
||||
"symfony/config": "^5.4|^6.0|^7.0",
|
||||
"symfony/console": "^5.4|^6.0|^7.0",
|
||||
"symfony/dependency-injection": "^5.4|^6.0|^7.0",
|
||||
"symfony/finder": "^5.4|^6.0|^7.0",
|
||||
"symfony/http-client-contracts": "^2.5|^3.0",
|
||||
"symfony/http-kernel": "^5.4|^6.0",
|
||||
"symfony/intl": "^5.4|^6.0",
|
||||
"symfony/http-kernel": "^5.4|^6.0|^7.0",
|
||||
"symfony/intl": "^5.4|^6.0|^7.0",
|
||||
"symfony/polyfill-intl-icu": "^1.21",
|
||||
"symfony/routing": "^5.4|^6.0",
|
||||
"symfony/routing": "^5.4|^6.0|^7.0",
|
||||
"symfony/service-contracts": "^2.5|^3",
|
||||
"symfony/yaml": "^5.4|^6.0"
|
||||
"symfony/yaml": "^5.4|^6.0|^7.0"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
@ -5166,7 +5171,7 @@
|
||||
"description": "Provides tools to internationalize your application",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/translation/tree/v6.3.7"
|
||||
"source": "https://github.com/symfony/translation/tree/v6.4.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -5182,7 +5187,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-10-28T23:11:45+00:00"
|
||||
"time": "2023-11-29T08:14:36+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/translation-contracts",
|
||||
@ -5264,16 +5269,16 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/uid",
|
||||
"version": "v6.3.8",
|
||||
"version": "v6.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/uid.git",
|
||||
"reference": "819fa5ac210fb7ddda4752b91a82f50be7493dd9"
|
||||
"reference": "8092dd1b1a41372110d06374f99ee62f7f0b9a92"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/uid/zipball/819fa5ac210fb7ddda4752b91a82f50be7493dd9",
|
||||
"reference": "819fa5ac210fb7ddda4752b91a82f50be7493dd9",
|
||||
"url": "https://api.github.com/repos/symfony/uid/zipball/8092dd1b1a41372110d06374f99ee62f7f0b9a92",
|
||||
"reference": "8092dd1b1a41372110d06374f99ee62f7f0b9a92",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -5281,7 +5286,7 @@
|
||||
"symfony/polyfill-uuid": "^1.15"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/console": "^5.4|^6.0"
|
||||
"symfony/console": "^5.4|^6.0|^7.0"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
@ -5318,7 +5323,7 @@
|
||||
"uuid"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/uid/tree/v6.3.8"
|
||||
"source": "https://github.com/symfony/uid/tree/v6.4.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -5334,20 +5339,20 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-10-31T08:07:48+00:00"
|
||||
"time": "2023-10-31T08:18:17+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/var-dumper",
|
||||
"version": "v6.3.8",
|
||||
"version": "v6.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/var-dumper.git",
|
||||
"reference": "81acabba9046550e89634876ca64bfcd3c06aa0a"
|
||||
"reference": "c40f7d17e91d8b407582ed51a2bbf83c52c367f6"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/81acabba9046550e89634876ca64bfcd3c06aa0a",
|
||||
"reference": "81acabba9046550e89634876ca64bfcd3c06aa0a",
|
||||
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/c40f7d17e91d8b407582ed51a2bbf83c52c367f6",
|
||||
"reference": "c40f7d17e91d8b407582ed51a2bbf83c52c367f6",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -5360,10 +5365,11 @@
|
||||
},
|
||||
"require-dev": {
|
||||
"ext-iconv": "*",
|
||||
"symfony/console": "^5.4|^6.0",
|
||||
"symfony/http-kernel": "^5.4|^6.0",
|
||||
"symfony/process": "^5.4|^6.0",
|
||||
"symfony/uid": "^5.4|^6.0",
|
||||
"symfony/console": "^5.4|^6.0|^7.0",
|
||||
"symfony/error-handler": "^6.3|^7.0",
|
||||
"symfony/http-kernel": "^5.4|^6.0|^7.0",
|
||||
"symfony/process": "^5.4|^6.0|^7.0",
|
||||
"symfony/uid": "^5.4|^6.0|^7.0",
|
||||
"twig/twig": "^2.13|^3.0.4"
|
||||
},
|
||||
"bin": [
|
||||
@ -5402,7 +5408,7 @@
|
||||
"dump"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/var-dumper/tree/v6.3.8"
|
||||
"source": "https://github.com/symfony/var-dumper/tree/v6.4.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -5418,7 +5424,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-11-08T10:42:36+00:00"
|
||||
"time": "2023-11-09T08:28:32+00:00"
|
||||
},
|
||||
{
|
||||
"name": "tijsverkoyen/css-to-inline-styles",
|
||||
@ -6033,16 +6039,16 @@
|
||||
},
|
||||
{
|
||||
"name": "laravel/sail",
|
||||
"version": "v1.26.1",
|
||||
"version": "v1.26.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/laravel/sail.git",
|
||||
"reference": "7a82f5aa364dbee3fd9c52fc464cf0bdd11150ed"
|
||||
"reference": "c0177786b1cd05b687b0fa11364aeeecb42cd3d8"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/laravel/sail/zipball/7a82f5aa364dbee3fd9c52fc464cf0bdd11150ed",
|
||||
"reference": "7a82f5aa364dbee3fd9c52fc464cf0bdd11150ed",
|
||||
"url": "https://api.github.com/repos/laravel/sail/zipball/c0177786b1cd05b687b0fa11364aeeecb42cd3d8",
|
||||
"reference": "c0177786b1cd05b687b0fa11364aeeecb42cd3d8",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -6094,7 +6100,7 @@
|
||||
"issues": "https://github.com/laravel/sail/issues",
|
||||
"source": "https://github.com/laravel/sail"
|
||||
},
|
||||
"time": "2023-11-20T15:56:47+00:00"
|
||||
"time": "2023-11-27T14:46:06+00:00"
|
||||
},
|
||||
{
|
||||
"name": "maximebf/debugbar",
|
||||
@ -6836,16 +6842,16 @@
|
||||
},
|
||||
{
|
||||
"name": "phpunit/phpunit",
|
||||
"version": "10.4.2",
|
||||
"version": "10.5.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
||||
"reference": "cacd8b9dd224efa8eb28beb69004126c7ca1a1a1"
|
||||
"reference": "d5d9dca6a902d05b34c4bcbc7c1636ce1dc25408"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/cacd8b9dd224efa8eb28beb69004126c7ca1a1a1",
|
||||
"reference": "cacd8b9dd224efa8eb28beb69004126c7ca1a1a1",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/d5d9dca6a902d05b34c4bcbc7c1636ce1dc25408",
|
||||
"reference": "d5d9dca6a902d05b34c4bcbc7c1636ce1dc25408",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -6885,7 +6891,7 @@
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "10.4-dev"
|
||||
"dev-main": "10.5-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
@ -6917,7 +6923,7 @@
|
||||
"support": {
|
||||
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
|
||||
"security": "https://github.com/sebastianbergmann/phpunit/security/policy",
|
||||
"source": "https://github.com/sebastianbergmann/phpunit/tree/10.4.2"
|
||||
"source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.1"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -6933,7 +6939,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-10-26T07:21:45+00:00"
|
||||
"time": "2023-12-01T16:57:05+00:00"
|
||||
},
|
||||
{
|
||||
"name": "sebastian/cli-parser",
|
||||
@ -8159,28 +8165,27 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/yaml",
|
||||
"version": "v6.3.8",
|
||||
"version": "v7.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/yaml.git",
|
||||
"reference": "3493af8a8dad7fa91c77fa473ba23ecd95334a92"
|
||||
"reference": "0055b230c408428b9b5cde7c55659555be5c0278"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/yaml/zipball/3493af8a8dad7fa91c77fa473ba23ecd95334a92",
|
||||
"reference": "3493af8a8dad7fa91c77fa473ba23ecd95334a92",
|
||||
"url": "https://api.github.com/repos/symfony/yaml/zipball/0055b230c408428b9b5cde7c55659555be5c0278",
|
||||
"reference": "0055b230c408428b9b5cde7c55659555be5c0278",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.1",
|
||||
"symfony/deprecation-contracts": "^2.5|^3",
|
||||
"php": ">=8.2",
|
||||
"symfony/polyfill-ctype": "^1.8"
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/console": "<5.4"
|
||||
"symfony/console": "<6.4"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/console": "^5.4|^6.0"
|
||||
"symfony/console": "^6.4|^7.0"
|
||||
},
|
||||
"bin": [
|
||||
"Resources/bin/yaml-lint"
|
||||
@ -8211,7 +8216,7 @@
|
||||
"description": "Loads and dumps YAML files",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/yaml/tree/v6.3.8"
|
||||
"source": "https://github.com/symfony/yaml/tree/v7.0.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -8227,7 +8232,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-11-06T10:58:05+00:00"
|
||||
"time": "2023-11-07T10:26:03+00:00"
|
||||
},
|
||||
{
|
||||
"name": "theseer/tokenizer",
|
||||
|
||||
@ -18,20 +18,15 @@ public function up(): void
|
||||
$table->string('contact_en')->unique();
|
||||
$table->string('contact_bn')->unique()->nullable();
|
||||
$table->string('email')->unique();
|
||||
$table->unsignedBigInteger('role_id')->index();
|
||||
$table->date('date_of_birth')->nullable();
|
||||
$table->enum('gender', ['male', 'female', 'other'])->nullable();
|
||||
$table->string('image')->nullable();
|
||||
$table->boolean('status')->default(1)->comment('1 active, 0 inactive');
|
||||
$table->string('password');
|
||||
$table->string('language')->default('en');
|
||||
$table->text('access_block')->nullable();
|
||||
$table->rememberToken();
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
|
||||
// Foreign key constraint
|
||||
$table->foreign('role_id')->references('id')->on('roles')->onDelete('cascade');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@ -104,8 +104,13 @@ class="feather feather-search">
|
||||
<span class="badge bg-primary">2</span>
|
||||
<span class="visually-hidden">Items Added</span>
|
||||
</a>
|
||||
<a href="{{route('studentLogin')}}" class="button button--text">Sign in</a>
|
||||
<a href="{{route('studentRegister')}}" class="button button--dark">Sign Up</a>
|
||||
@if(request()->session()->get('studentLogin'))
|
||||
<a href="{{route('studentdashboard')}}" class="button button--text">Dashboard</a>
|
||||
<a href="{{route('studentlogOut')}}" class="button button--dark">Logout</a>
|
||||
@else
|
||||
<a href="{{route('studentLogin')}}" class="button button--text">Sign in</a>
|
||||
<a href="{{route('studentRegister')}}" class="button button--dark">Sign Up</a>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -142,7 +147,7 @@ class="img-fluid" />
|
||||
<ul class="navbar-mobile__menu-list">
|
||||
<li class="active navbar-mobile__menu-item">
|
||||
<a href="#">
|
||||
<span class="navbar-mobile__menu-link"> Home </span>
|
||||
<span class="navbar-mobile__menu-link"> Home</span>
|
||||
<span class="navbar-mobile__menu-dropicon">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
|
||||
viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
||||
|
||||
@ -1,125 +0,0 @@
|
||||
@extends('frontend.layouts.app')
|
||||
|
||||
@section('content')
|
||||
<!-- SignIn Area Starts Here -->
|
||||
<section class="section signup-area signin-area overflow-hidden">
|
||||
<div class="container">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-xl-5 order-2 order-xl-0">
|
||||
<div class="signup-area-textwrapper">
|
||||
<h2 class="font-title--md mb-0">Sign in</h2>
|
||||
<p class="mt-2 mb-lg-4 mb-3">Don't have account? <a href="signup.html" class="text-black-50">Sign
|
||||
up</a></p>
|
||||
<form action="#">
|
||||
<div class="form-element success">
|
||||
<div class="form-alert">
|
||||
<label for="name">Email</label>
|
||||
</div>
|
||||
<div class="form-alert-input">
|
||||
<input type="email" placeholder="Arif Ahmed" id="name" />
|
||||
<div class="form-alert-icon">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
||||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
||||
stroke-linejoin="round" class="feather feather-check">
|
||||
<polyline points="20 6 9 17 4 12"></polyline>
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-element active">
|
||||
<div class="d-flex justify-content-between">
|
||||
<label for="confirm-password">Password</label>
|
||||
<a href="forget-password.html" class="text-primary fs-6">Forget Password</a>
|
||||
</div>
|
||||
|
||||
<div class="form-alert-input">
|
||||
<input type="password" placeholder="Type here..." id="confirm-password" />
|
||||
<div class="form-alert-icon" onclick="showPassword('confirm-password',this);">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
||||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
||||
stroke-linejoin="round" class="feather feather-eye">
|
||||
<path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path>
|
||||
<circle cx="12" cy="12" r="3"></circle>
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-element d-flex align-items-center terms">
|
||||
<input class="checkbox-primary me-1" type="checkbox" id="agree" />
|
||||
<label for="agree" class="text-secondary mb-0 fs-6">Remember me</label>
|
||||
</div>
|
||||
<div class="form-element">
|
||||
<button type="submit" class="button button-lg button--primary w-100">Sign in</button>
|
||||
</div>
|
||||
<span class="d-block text-center text-secondary">or sign in with</span>
|
||||
<div class="d-flex align-items-center flex-wrap mt-3 signinButtons">
|
||||
<a href="#"
|
||||
class="d-flex text-secondary align-items-center justify-content-center signup-with border fb rounded-1">
|
||||
<svg class="me-2" width="18" height="18" viewBox="0 0 18 18" fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M18 9C18 4.02891 13.9711 0 9 0C4.02891 0 0 4.02891 0 9C0 13.9711 4.02891 18 9 18C9.05273 18 9.10547 18 9.1582 17.9965V10.9934H7.22461V8.73984H9.1582V7.08047C9.1582 5.15742 10.3324 4.10977 12.048 4.10977C12.8707 4.10977 13.5773 4.16953 13.7812 4.19766V6.20859H12.6C11.6684 6.20859 11.4855 6.65156 11.4855 7.30195V8.73633H13.718L13.4262 10.9898H11.4855V17.652C15.2473 16.5727 18 13.1098 18 9V9Z"
|
||||
fill="#0078FF"></path>
|
||||
</svg>
|
||||
|
||||
Facebook
|
||||
</a>
|
||||
<a href="#"
|
||||
class="d-flex text-secondary align-items-center justify-content-center signup-with border google rounded-1">
|
||||
<svg class="me-2" width="18" height="19" viewBox="0 0 18 19" fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clipOne)">
|
||||
<path
|
||||
d="M3.98918 11.378L3.36263 13.717L1.07258 13.7654C0.388195 12.496 0 11.0437 0 9.50034C0 8.00793 0.362953 6.60055 1.00631 5.36133H1.0068L3.04559 5.73511L3.9387 7.76166C3.75177 8.30661 3.64989 8.89161 3.64989 9.50034C3.64996 10.161 3.76963 10.794 3.98918 11.378Z"
|
||||
fill="#FBBB00"></path>
|
||||
<path
|
||||
d="M17.8426 7.81836C17.946 8.36279 17.9999 8.92504 17.9999 9.49967C17.9999 10.144 17.9321 10.7725 17.8031 11.3788C17.365 13.4419 16.2202 15.2434 14.6343 16.5182L14.6338 16.5177L12.0659 16.3867L11.7024 14.1179C12.7547 13.5007 13.5771 12.535 14.0103 11.3788H9.19775V7.81836H14.0805H17.8426Z"
|
||||
fill="#518EF8"></path>
|
||||
<path
|
||||
d="M14.6341 16.5183L14.6346 16.5188C13.0922 17.7585 11.133 18.5003 9.00017 18.5003C5.57275 18.5003 2.59288 16.5846 1.07275 13.7654L3.98935 11.3779C4.74939 13.4064 6.70616 14.8503 9.00017 14.8503C9.9862 14.8503 10.91 14.5838 11.7026 14.1185L14.6341 16.5183Z"
|
||||
fill="#28B446"></path>
|
||||
<path
|
||||
d="M14.7447 2.57197L11.8291 4.95894C11.0087 4.44615 10.039 4.14992 9.00003 4.14992C6.65409 4.14992 4.66073 5.66013 3.93876 7.76131L1.00684 5.36098H1.00635C2.50421 2.47307 5.52167 0.5 9.00003 0.5C11.1838 0.5 13.186 1.27787 14.7447 2.57197Z"
|
||||
fill="#F14336"></path>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath>
|
||||
<rect width="18" height="18" fill="white" transform="translate(0 0.5)">
|
||||
</rect>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
Google
|
||||
</a>
|
||||
<a href="#"
|
||||
class="d-flex text-secondary align-items-center justify-content-center signup-with border twitter rounded-1">
|
||||
<svg class="me-2" width="22" height="19" viewBox="0 0 22 19" fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M22 2.63092C21.1819 2.99231 20.3101 3.23185 19.4012 3.34815C20.3363 2.786 21.0499 1.90262 21.3854 0.837846C20.5136 1.36123 19.5511 1.73092 18.5254 1.93723C17.6976 1.04969 16.5179 0.5 15.2309 0.5C12.7339 0.5 10.7236 2.54092 10.7236 5.04292C10.7236 5.40292 10.7539 5.74908 10.8281 6.07862C7.0785 5.89446 3.76063 4.08477 1.53175 1.328C1.14262 2.00785 0.914375 2.786 0.914375 3.62369C0.914375 5.19662 1.71875 6.59092 2.91775 7.39815C2.19313 7.38431 1.48225 7.17246 0.88 6.83877C0.88 6.85262 0.88 6.87062 0.88 6.88862C0.88 9.09569 2.44337 10.9289 4.4935 11.3512C4.12637 11.4523 3.72625 11.5008 3.311 11.5008C3.02225 11.5008 2.73075 11.4842 2.45712 11.4232C3.0415 13.2218 4.69975 14.5442 6.6715 14.5871C5.137 15.7958 3.18863 16.5242 1.07938 16.5242C0.7095 16.5242 0.35475 16.5075 0 16.4618C1.99787 17.7592 4.36562 18.5 6.919 18.5C15.2185 18.5 19.756 11.5769 19.756 5.576C19.756 5.37523 19.7491 5.18139 19.7395 4.98892C20.6346 4.34923 21.3867 3.55031 22 2.63092Z"
|
||||
fill="#03A9F4"></path>
|
||||
</svg>
|
||||
Twitter
|
||||
</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xl-7 order-1 order-xl-0">
|
||||
<div class="signup-area-image">
|
||||
<img src="{{asset('public/frontend/dist/images/signup/Illustration.png')}}" alt="Illustration Image" class="img-fluid" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- SignIn Area Ends Here -->
|
||||
|
||||
<!-- Dot Images Starts Here -->
|
||||
<div class="dot-images">
|
||||
<img src="{{asset('public/frontend/dist/images/shape/dots/dots-img-10.png')}}" alt="shape" style="z-index: 1;"
|
||||
class="img-fluid first-dotimage" />
|
||||
<img src="{{asset('public/frontend/dist/images/shape/dots/dots-img-07.png')}}" alt="shape" class="img-fluid second-dotimage" />
|
||||
</div>
|
||||
<!-- Dot Images Ends Here -->
|
||||
@endsection
|
||||
81
resources/views/students/Auth/login.blade.php
Fichier normal
81
resources/views/students/Auth/login.blade.php
Fichier normal
@ -0,0 +1,81 @@
|
||||
@extends('frontend.layouts.app')
|
||||
|
||||
@section('content')
|
||||
<!-- SignIn Area Starts Here -->
|
||||
<section class="section signup-area signin-area overflow-hidden">
|
||||
<div class="container">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-xl-5 order-2 order-xl-0">
|
||||
<div class="signup-area-textwrapper">
|
||||
<h2 class="font-title--md mb-0">Sign in</h2>
|
||||
<p class="mt-2 mb-lg-4 mb-3">Don't have account? <a href="{{route('studentRegister')}}" class="text-black-50">Sign
|
||||
up</a></p>
|
||||
<form action="{{route('studentLogin.check')}}" method="POST">
|
||||
@csrf
|
||||
<div class="form-element success">
|
||||
<div class="form-alert">
|
||||
<label for="email">Email</label>
|
||||
</div>
|
||||
<div class="form-alert-input">
|
||||
<input type="email" placeholder="Arif Ahmed" id="email" name="email" />
|
||||
<div class="form-alert-icon">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
||||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
||||
stroke-linejoin="round" class="feather feather-check">
|
||||
<polyline points="20 6 9 17 4 12"></polyline>
|
||||
</svg>
|
||||
</div>
|
||||
@if($errors->has('email'))
|
||||
<small class="d-block text-danger">{{$errors->first('email')}}</small>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-element active">
|
||||
<div class="d-flex justify-content-between">
|
||||
<label for="password">Password</label>
|
||||
<a href="forget-password.html" class="text-primary fs-6">Forget Password</a>
|
||||
</div>
|
||||
|
||||
<div class="form-alert-input">
|
||||
<input type="password" placeholder="Type here..." id="password" name="password" />
|
||||
<div class="form-alert-icon" onclick="showPassword('password',this);">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
||||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
||||
stroke-linejoin="round" class="feather feather-eye">
|
||||
<path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path>
|
||||
<circle cx="12" cy="12" r="3"></circle>
|
||||
</svg>
|
||||
</div>
|
||||
@if($errors->has('password'))
|
||||
<small class="d-block text-danger">{{$errors->first('password')}}</small>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-element d-flex align-items-center terms">
|
||||
<input class="checkbox-primary me-1" type="checkbox" id="agree" />
|
||||
<label for="agree" class="text-secondary mb-0 fs-6">Remember me</label>
|
||||
</div>
|
||||
<div class="form-element">
|
||||
<button type="submit" class="button button-lg button--primary w-100">Sign in</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xl-7 order-1 order-xl-0">
|
||||
<div class="signup-area-image">
|
||||
<img src="{{asset('public/frontend/dist/images/signup/Illustration.png')}}" alt="Illustration Image" class="img-fluid" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- SignIn Area Ends Here -->
|
||||
|
||||
<!-- Dot Images Starts Here -->
|
||||
<div class="dot-images">
|
||||
<img src="{{asset('public/frontend/dist/images/shape/dots/dots-img-10.png')}}" alt="shape" style="z-index: 1;"
|
||||
class="img-fluid first-dotimage" />
|
||||
<img src="{{asset('public/frontend/dist/images/shape/dots/dots-img-07.png')}}" alt="shape" class="img-fluid second-dotimage" />
|
||||
</div>
|
||||
<!-- Dot Images Ends Here -->
|
||||
@endsection
|
||||
@ -8,15 +8,16 @@
|
||||
<div class="col-lg-5 order-2 order-lg-0">
|
||||
<div class="signup-area-textwrapper">
|
||||
<h2 class="font-title--md mb-0">Sign Up</h2>
|
||||
<p class="mt-2 mb-lg-4 mb-3">Already have account? <a href="signin.html" class="text-black-50">Sign
|
||||
<p class="mt-2 mb-lg-4 mb-3">Already have account? <a href="{{route('studentLogin')}}" class="text-black-50">Sign
|
||||
In</a></p>
|
||||
<form action="#">
|
||||
<form action="{{route('studentRegister.store')}}" method="POST">
|
||||
@csrf
|
||||
<div class="form-element success">
|
||||
<div class="form-alert">
|
||||
<label for="name">Full Name</label>
|
||||
</div>
|
||||
<div class="form-alert-input">
|
||||
<input type="text" placeholder="Arif Ahmed" id="name" />
|
||||
<input type="text" placeholder="Your Name" id="name" value="{{old('name')}}" name="name" />
|
||||
<div class="form-alert-icon">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
||||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
||||
@ -24,6 +25,9 @@
|
||||
<polyline points="20 6 9 17 4 12"></polyline>
|
||||
</svg>
|
||||
</div>
|
||||
@if($errors->has('name'))
|
||||
<small class="d-block text-danger">{{$errors->first('name')}}</small>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-element error">
|
||||
@ -32,7 +36,7 @@
|
||||
<span>*please enter a valid email</span>
|
||||
</div>
|
||||
<div class="form-alert-input">
|
||||
<input type="email" placeholder="arifAhmed@gmail.com" id="email" />
|
||||
<input type="email" placeholder="arifAhmed@gmail.com" id="email" value="{{old('email')}}" name="email" />
|
||||
<div class="form-alert-icon">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
||||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
||||
@ -42,12 +46,15 @@
|
||||
<line x1="12" y1="16" x2="12.01" y2="16"></line>
|
||||
</svg>
|
||||
</div>
|
||||
@if($errors->has('email'))
|
||||
<small class="d-block text-danger">{{$errors->first('email')}}</small>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-element active">
|
||||
<label for="password" class="w-100" style="text-align: left;">password</label>
|
||||
<div class="form-alert-input">
|
||||
<input type="password" placeholder="Type here..." id="password" />
|
||||
<input type="password" placeholder="Type here..." id="password" name="password"/>
|
||||
<div class="form-alert-icon" onclick="showPassword('password',this)">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
||||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
||||
@ -56,14 +63,17 @@
|
||||
<circle cx="12" cy="12" r="3"></circle>
|
||||
</svg>
|
||||
</div>
|
||||
@if($errors->has('password'))
|
||||
<small class="d-block text-danger">{{$errors->first('password')}}</small>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-element">
|
||||
<label for="confirm-password" class="w-100" style="text-align: left;">Confirm
|
||||
<label for="password_confirmation" class="w-100" style="text-align: left;">Confirm
|
||||
password</label>
|
||||
<div class="form-alert-input">
|
||||
<input type="password" placeholder="Type here..." id="confirm-password" />
|
||||
<div class="form-alert-icon" onclick="showPassword('confirm-password',this)">
|
||||
<input type="password" placeholder="Type here..." name="password_confirmation" id="password_confirmation" />
|
||||
<div class="form-alert-icon" onclick="showPassword('password_confirmation',this)">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
||||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
||||
stroke-linejoin="round" class="feather feather-eye">
|
||||
@ -82,21 +92,6 @@
|
||||
<div class="form-element">
|
||||
<button type="submit" class="button button-lg button--primary w-100">Sign UP</button>
|
||||
</div>
|
||||
<span class="d-block text-center text-secondary">or sign up with</span>
|
||||
<div class="d-flex align-items-center flex-wrap mt-3 signinButtons">
|
||||
<a href="#"
|
||||
class="d-flex text-secondary align-items-center justify-content-center signup-with border fb rounded-1">
|
||||
<i class="fab fa-facebook-f me-2"></i> Facebook
|
||||
</a>
|
||||
<a href="#"
|
||||
class="d-flex text-secondary align-items-center justify-content-center signup-with border google rounded-1">
|
||||
<i class="fab fa-google me-2"></i>Google
|
||||
</a>
|
||||
<a href="#"
|
||||
class="d-flex text-secondary align-items-center justify-content-center signup-with border twitter rounded-1">
|
||||
<i class="fab fa-twitter me-2"></i>Twitter
|
||||
</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
20
resources/views/students/dashboard.blade.php
Fichier normal
20
resources/views/students/dashboard.blade.php
Fichier normal
@ -0,0 +1,20 @@
|
||||
@extends('frontend.layouts.app')
|
||||
@section('body-attr') style="background-color: #ebebf2;" @endsection
|
||||
|
||||
@section('content')
|
||||
|
||||
<!-- Breadcrumb Starts Here -->
|
||||
<div class="py-0">
|
||||
<div class="container">
|
||||
<nav style="--bs-breadcrumb-divider: '>';" aria-label="breadcrumb">
|
||||
<ol class="breadcrumb align-items-center bg-transparent mb-0">
|
||||
<li class="breadcrumb-item"><a href="index.html" class="fs-6 text-secondary">Home</a></li>
|
||||
<li class="breadcrumb-item fs-6 text-secondary" aria-current="page">My Profile</li>
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@endsection
|
||||
@ -19,6 +19,9 @@
|
||||
use App\Http\Controllers\Backend\Communication\DiscussionController as discussion;
|
||||
use App\Http\Controllers\Backend\Communication\MessageController as message;
|
||||
|
||||
/* students */
|
||||
use App\Http\Controllers\Students\AuthController as sauth;
|
||||
use App\Http\Controllers\Students\DashboardController as studashboard;
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Web Routes
|
||||
@ -35,11 +38,11 @@
|
||||
Route::get('/login', [auth::class, 'signInForm'])->name('login');
|
||||
Route::post('/login', [auth::class, 'signInCheck'])->name('login.check');
|
||||
Route::get('/logout', [auth::class, 'signOut'])->name('logOut');
|
||||
Route::get('userProfile', [auth::class, 'show'])->name('userProfile');
|
||||
|
||||
|
||||
Route::middleware(['checkauth'])->prefix('admin')->group(function () {
|
||||
Route::get('/dashboard', [dashboard::class, 'index'])->name('dashboard');
|
||||
Route::get('userProfile', [auth::class, 'show'])->name('userProfile');
|
||||
});
|
||||
|
||||
Route::middleware(['checkrole'])->prefix('admin')->group(function () {
|
||||
@ -62,6 +65,18 @@
|
||||
});
|
||||
|
||||
|
||||
/* students controllers */
|
||||
Route::get('/student/register', [sauth::class, 'signUpForm'])->name('studentRegister');
|
||||
Route::post('/student/register', [sauth::class, 'signUpStore'])->name('studentRegister.store');
|
||||
Route::get('/student/login', [sauth::class, 'signInForm'])->name('studentLogin');
|
||||
Route::post('/student/login', [sauth::class, 'signInCheck'])->name('studentLogin.check');
|
||||
Route::get('/student/logout', [sauth::class, 'signOut'])->name('studentlogOut');
|
||||
|
||||
Route::middleware(['checkstudent'])->prefix('students')->group(function () {
|
||||
Route::get('/dashboard', [studashboard::class, 'index'])->name('studentdashboard');
|
||||
});
|
||||
|
||||
|
||||
Route::get('/', function () {
|
||||
return view('frontend.home');
|
||||
});
|
||||
@ -98,13 +113,6 @@
|
||||
return view('frontend.courseDetails');
|
||||
})->name('courseDetails');
|
||||
|
||||
Route::get('/studentRegister', function () {
|
||||
return view('frontend.studentRegister');
|
||||
})->name('studentRegister');
|
||||
|
||||
Route::get('/studentLogin', function () {
|
||||
return view('frontend.studentLogin');
|
||||
})->name('studentLogin');
|
||||
|
||||
Route::get('/cart', function () {
|
||||
return view('frontend.cart');
|
||||
|
||||
Chargement…
Référencer dans un nouveau ticket
Block a user