Commit 200c5b8b authored by quentin.vrel's avatar quentin.vrel

Fin du projet Laravel

parent 5e4bf219
......@@ -39,9 +39,9 @@ class migrationOrder extends Command
{
$migrations = [
'2014_10_12_000000_create_users_table.php',
// '2014_10_12_100000_create_password_resets_table.php',
'2014_10_12_100000_create_password_resets_table.php',
// '2014_10_12_200000_add_two_factor_columns_to_users_table.php',
// '2019_08_19_000000_create_failed_jobs_table.php',
'2019_08_19_000000_create_failed_jobs_table.php',
// '2019_12_14_000001_create_personal_access_tokens_table.php',
// '2020_11_12_102755_create_sessions_table.php',
'2020_11_24_144826_create_category_table.php',
......
......@@ -6,9 +6,10 @@ use Illuminate\Database\Eloquent\Model;
class Game extends Model
{
protected $connection = 'mysql';
protected $table = 'game';
protected $primaryKey = 'gamer_id';
protected $primaryKey = 'id_game';
public $incrementing = true;
public $timestamps = false;
......
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('auth');
}
/**
* Show the application dashboard.
*
* @return \Illuminate\Contracts\Support\Renderable
*/
public function index()
{
return view('home');
}
}
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class MonControleur extends Controller
{
public function index() {
return view('MaVue');
}
}
......@@ -4,16 +4,44 @@ namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Game;
use App\Tournament;
class TournamentController extends Controller
{
public function index() {
$games = Game::all();
return view('create-tournament', ['games' => $games]);
public function index($args = []) {
$games = Game::select('titre', 'id_game')->get();
$args['games']=$games;
return view('create-tournament', $args);
}
public function createTournament(){
public function createTournament(Request $request){
$tournament = new Tournament();
$tournament->description=$request->input('description');
$year= $request->input('year-begin');
$month= $request->input('month-begin');
$day= $request->input('day-begin');
$tournament->tournament_date=$year . '-' . $month . '-' . $day;
$tournament->id_game=$request->input('select-game');
$tournament->created_at=date('Y-m-d');
try {
$tournament->save();
} catch (Exception $e) {
return $this->index(['post'=>false]);
}
return $this->index(['post'=>true]);
}
public function displayTournaments(){
$tournaments=Tournament::select('description','tournament_date','id_game')->get();
$games = Game::select('id_game','titre')->get();
$gamesTitles = [];
foreach ($games as $game) {
$gamesTitles[$game->id_game]=$game->titre;
}
foreach ($tournaments as $tournament) {
$tournament->titre=$gamesTitles[$tournament->id_game];
}
return view('home', ['tournaments'=>$tournaments]);
}
}
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Tournament extends Model
{
protected $connection = 'mysql';
protected $table = 'tournament';
protected $primaryKey = 'id_tournament';
public $incrementing = true;
public $timestamps = false;
}
......@@ -1462,16 +1462,16 @@
},
{
"name": "nesbot/carbon",
"version": "2.41.5",
"version": "2.42.0",
"source": {
"type": "git",
"url": "https://github.com/briannesbitt/Carbon.git",
"reference": "c4a9caf97cfc53adfc219043bcecf42bc663acee"
"reference": "d0463779663437392fe42ff339ebc0213bd55498"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/c4a9caf97cfc53adfc219043bcecf42bc663acee",
"reference": "c4a9caf97cfc53adfc219043bcecf42bc663acee",
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/d0463779663437392fe42ff339ebc0213bd55498",
"reference": "d0463779663437392fe42ff339ebc0213bd55498",
"shasum": ""
},
"require": {
......@@ -1486,7 +1486,7 @@
"kylekatarnls/multi-tester": "^2.0",
"phpmd/phpmd": "^2.9",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^0.12.35",
"phpstan/phpstan": "^0.12.54",
"phpunit/phpunit": "^7.5 || ^8.0",
"squizlabs/php_codesniffer": "^3.4"
},
......@@ -1551,7 +1551,7 @@
"type": "tidelift"
}
],
"time": "2020-10-23T06:02:30+00:00"
"time": "2020-11-28T14:25:28+00:00"
},
{
"name": "nikic/php-parser",
......@@ -2405,16 +2405,16 @@
},
{
"name": "symfony/console",
"version": "v5.1.8",
"version": "v5.2.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "e0b2c29c0fa6a69089209bbe8fcff4df2a313d0e"
"reference": "3e0564fb08d44a98bd5f1960204c958e57bd586b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/e0b2c29c0fa6a69089209bbe8fcff4df2a313d0e",
"reference": "e0b2c29c0fa6a69089209bbe8fcff4df2a313d0e",
"url": "https://api.github.com/repos/symfony/console/zipball/3e0564fb08d44a98bd5f1960204c958e57bd586b",
"reference": "3e0564fb08d44a98bd5f1960204c958e57bd586b",
"shasum": ""
},
"require": {
......@@ -2475,8 +2475,14 @@
],
"description": "Symfony Console Component",
"homepage": "https://symfony.com",
"keywords": [
"cli",
"command line",
"console",
"terminal"
],
"support": {
"source": "https://github.com/symfony/console/tree/v5.1.8"
"source": "https://github.com/symfony/console/tree/v5.2.0"
},
"funding": [
{
......@@ -2492,20 +2498,20 @@
"type": "tidelift"
}
],
"time": "2020-10-24T12:01:57+00:00"
"time": "2020-11-28T11:24:18+00:00"
},
{
"name": "symfony/css-selector",
"version": "v5.1.8",
"version": "v5.2.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/css-selector.git",
"reference": "6cbebda22ffc0d4bb8fea0c1311c2ca54c4c8fa0"
"reference": "b8d8eb06b0942e84a69e7acebc3e9c1e6e6e7256"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/css-selector/zipball/6cbebda22ffc0d4bb8fea0c1311c2ca54c4c8fa0",
"reference": "6cbebda22ffc0d4bb8fea0c1311c2ca54c4c8fa0",
"url": "https://api.github.com/repos/symfony/css-selector/zipball/b8d8eb06b0942e84a69e7acebc3e9c1e6e6e7256",
"reference": "b8d8eb06b0942e84a69e7acebc3e9c1e6e6e7256",
"shasum": ""
},
"require": {
......@@ -2541,7 +2547,7 @@
"description": "Symfony CssSelector Component",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/css-selector/tree/v5.1.8"
"source": "https://github.com/symfony/css-selector/tree/v5.2.0"
},
"funding": [
{
......@@ -2557,7 +2563,7 @@
"type": "tidelift"
}
],
"time": "2020-10-24T12:01:57+00:00"
"time": "2020-10-28T21:31:18+00:00"
},
{
"name": "symfony/deprecation-contracts",
......@@ -2628,16 +2634,16 @@
},
{
"name": "symfony/error-handler",
"version": "v5.1.8",
"version": "v5.2.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/error-handler.git",
"reference": "a154f2b12fd1ec708559ba73ed58bd1304e55718"
"reference": "289008c5be039e39908d33ae0a8ac99be1210bba"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/error-handler/zipball/a154f2b12fd1ec708559ba73ed58bd1304e55718",
"reference": "a154f2b12fd1ec708559ba73ed58bd1304e55718",
"url": "https://api.github.com/repos/symfony/error-handler/zipball/289008c5be039e39908d33ae0a8ac99be1210bba",
"reference": "289008c5be039e39908d33ae0a8ac99be1210bba",
"shasum": ""
},
"require": {
......@@ -2677,7 +2683,7 @@
"description": "Symfony ErrorHandler Component",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/error-handler/tree/v5.1.8"
"source": "https://github.com/symfony/error-handler/tree/v5.2.0"
},
"funding": [
{
......@@ -2693,20 +2699,20 @@
"type": "tidelift"
}
],
"time": "2020-10-24T12:01:57+00:00"
"time": "2020-10-28T21:46:03+00:00"
},
{
"name": "symfony/event-dispatcher",
"version": "v5.1.8",
"version": "v5.2.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
"reference": "26f4edae48c913fc183a3da0553fe63bdfbd361a"
"reference": "aa13a09811e6d2ad43f8fb336bebdb7691d85d3c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/26f4edae48c913fc183a3da0553fe63bdfbd361a",
"reference": "26f4edae48c913fc183a3da0553fe63bdfbd361a",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/aa13a09811e6d2ad43f8fb336bebdb7691d85d3c",
"reference": "aa13a09811e6d2ad43f8fb336bebdb7691d85d3c",
"shasum": ""
},
"require": {
......@@ -2762,7 +2768,7 @@
"description": "Symfony EventDispatcher Component",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/event-dispatcher/tree/v5.1.8"
"source": "https://github.com/symfony/event-dispatcher/tree/v5.2.0"
},
"funding": [
{
......@@ -2778,7 +2784,7 @@
"type": "tidelift"
}
],
"time": "2020-10-24T12:01:57+00:00"
"time": "2020-11-01T16:14:45+00:00"
},
{
"name": "symfony/event-dispatcher-contracts",
......@@ -2861,16 +2867,16 @@
},
{
"name": "symfony/finder",
"version": "v5.1.8",
"version": "v5.2.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
"reference": "e70eb5a69c2ff61ea135a13d2266e8914a67b3a0"
"reference": "fd8305521692f27eae3263895d1ef1571c71a78d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/e70eb5a69c2ff61ea135a13d2266e8914a67b3a0",
"reference": "e70eb5a69c2ff61ea135a13d2266e8914a67b3a0",
"url": "https://api.github.com/repos/symfony/finder/zipball/fd8305521692f27eae3263895d1ef1571c71a78d",
"reference": "fd8305521692f27eae3263895d1ef1571c71a78d",
"shasum": ""
},
"require": {
......@@ -2902,7 +2908,7 @@
"description": "Symfony Finder Component",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/finder/tree/v5.1.8"
"source": "https://github.com/symfony/finder/tree/v5.2.0"
},
"funding": [
{
......@@ -2918,7 +2924,7 @@
"type": "tidelift"
}
],
"time": "2020-10-24T12:01:57+00:00"
"time": "2020-11-18T09:42:36+00:00"
},
{
"name": "symfony/http-client-contracts",
......@@ -3001,16 +3007,16 @@
},
{
"name": "symfony/http-foundation",
"version": "v5.1.8",
"version": "v5.2.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
"reference": "a2860ec970404b0233ab1e59e0568d3277d32b6f"
"reference": "e4576271ee99123aa59a40564c7b5405f0ebd1e6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/a2860ec970404b0233ab1e59e0568d3277d32b6f",
"reference": "a2860ec970404b0233ab1e59e0568d3277d32b6f",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/e4576271ee99123aa59a40564c7b5405f0ebd1e6",
"reference": "e4576271ee99123aa59a40564c7b5405f0ebd1e6",
"shasum": ""
},
"require": {
......@@ -3054,7 +3060,7 @@
"description": "Symfony HttpFoundation Component",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-foundation/tree/v5.1.8"
"source": "https://github.com/symfony/http-foundation/tree/v5.2.0"
},
"funding": [
{
......@@ -3070,20 +3076,20 @@
"type": "tidelift"
}
],
"time": "2020-10-24T12:01:57+00:00"
"time": "2020-11-27T06:13:25+00:00"
},
{
"name": "symfony/http-kernel",
"version": "v5.1.8",
"version": "v5.2.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
"reference": "a13b3c4d994a4fd051f4c6800c5e33c9508091dd"
"reference": "38907e5ccb2d9d371191a946734afc83c7a03160"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/a13b3c4d994a4fd051f4c6800c5e33c9508091dd",
"reference": "a13b3c4d994a4fd051f4c6800c5e33c9508091dd",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/38907e5ccb2d9d371191a946734afc83c7a03160",
"reference": "38907e5ccb2d9d371191a946734afc83c7a03160",
"shasum": ""
},
"require": {
......@@ -3103,7 +3109,7 @@
"symfony/cache": "<5.0",
"symfony/config": "<5.0",
"symfony/console": "<4.4",
"symfony/dependency-injection": "<4.4",
"symfony/dependency-injection": "<5.1.8",
"symfony/doctrine-bridge": "<5.0",
"symfony/form": "<5.0",
"symfony/http-client": "<5.0",
......@@ -3123,7 +3129,7 @@
"symfony/config": "^5.0",
"symfony/console": "^4.4|^5.0",
"symfony/css-selector": "^4.4|^5.0",
"symfony/dependency-injection": "^4.4|^5.0",
"symfony/dependency-injection": "^5.1.8",
"symfony/dom-crawler": "^4.4|^5.0",
"symfony/expression-language": "^4.4|^5.0",
"symfony/finder": "^4.4|^5.0",
......@@ -3166,7 +3172,7 @@
"description": "Symfony HttpKernel Component",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-kernel/tree/v5.1.8"
"source": "https://github.com/symfony/http-kernel/tree/v5.2.0"
},
"funding": [
{
......@@ -3182,24 +3188,25 @@
"type": "tidelift"
}
],
"time": "2020-10-28T05:55:23+00:00"
"time": "2020-11-30T05:54:18+00:00"
},
{
"name": "symfony/mime",
"version": "v5.1.8",
"version": "v5.2.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/mime.git",
"reference": "f5485a92c24d4bcfc2f3fc648744fb398482ff1b"
"reference": "05f667e8fa029568964fd3bec6bc17765b853cc5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/mime/zipball/f5485a92c24d4bcfc2f3fc648744fb398482ff1b",
"reference": "f5485a92c24d4bcfc2f3fc648744fb398482ff1b",
"url": "https://api.github.com/repos/symfony/mime/zipball/05f667e8fa029568964fd3bec6bc17765b853cc5",
"reference": "05f667e8fa029568964fd3bec6bc17765b853cc5",
"shasum": ""
},
"require": {
"php": ">=7.2.5",
"symfony/deprecation-contracts": "^2.1",
"symfony/polyfill-intl-idn": "^1.10",
"symfony/polyfill-mbstring": "^1.0",
"symfony/polyfill-php80": "^1.15"
......@@ -3209,7 +3216,11 @@
},
"require-dev": {
"egulias/email-validator": "^2.1.10",
"symfony/dependency-injection": "^4.4|^5.0"
"phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0",
"symfony/dependency-injection": "^4.4|^5.0",
"symfony/property-access": "^4.4|^5.1",
"symfony/property-info": "^4.4|^5.1",
"symfony/serializer": "^5.2"
},
"type": "library",
"autoload": {
......@@ -3241,7 +3252,7 @@
"mime-type"
],
"support": {
"source": "https://github.com/symfony/mime/tree/v5.1.8"
"source": "https://github.com/symfony/mime/tree/v5.2.0"
},
"funding": [
{
......@@ -3257,7 +3268,7 @@
"type": "tidelift"
}
],
"time": "2020-10-24T12:01:57+00:00"
"time": "2020-10-30T14:55:39+00:00"
},
{
"name": "symfony/polyfill-ctype",
......@@ -3990,16 +4001,16 @@
},
{
"name": "symfony/process",
"version": "v5.1.8",
"version": "v5.2.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
"reference": "f00872c3f6804150d6a0f73b4151daab96248101"
"reference": "240e74140d4d956265048f3025c0aecbbc302d54"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/process/zipball/f00872c3f6804150d6a0f73b4151daab96248101",
"reference": "f00872c3f6804150d6a0f73b4151daab96248101",
"url": "https://api.github.com/repos/symfony/process/zipball/240e74140d4d956265048f3025c0aecbbc302d54",
"reference": "240e74140d4d956265048f3025c0aecbbc302d54",
"shasum": ""
},
"require": {
......@@ -4032,7 +4043,7 @@
"description": "Symfony Process Component",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/process/tree/v5.1.8"
"source": "https://github.com/symfony/process/tree/v5.2.0"
},
"funding": [
{
......@@ -4048,20 +4059,20 @@
"type": "tidelift"
}
],
"time": "2020-10-24T12:01:57+00:00"
"time": "2020-11-02T15:47:15+00:00"
},
{
"name": "symfony/routing",
"version": "v5.1.8",
"version": "v5.2.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/routing.git",
"reference": "d6ceee2a37b61b41079005207bf37746d1bfe71f"
"reference": "130ac5175ad2fd417978baebd8062e2e6b2bc28b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/routing/zipball/d6ceee2a37b61b41079005207bf37746d1bfe71f",
"reference": "d6ceee2a37b61b41079005207bf37746d1bfe71f",
"url": "https://api.github.com/repos/symfony/routing/zipball/130ac5175ad2fd417978baebd8062e2e6b2bc28b",
"reference": "130ac5175ad2fd417978baebd8062e2e6b2bc28b",
"shasum": ""
},
"require": {
......@@ -4075,7 +4086,7 @@
"symfony/yaml": "<4.4"
},
"require-dev": {
"doctrine/annotations": "~1.2",
"doctrine/annotations": "^1.7",
"psr/log": "~1.0",
"symfony/config": "^5.0",
"symfony/dependency-injection": "^4.4|^5.0",
......@@ -4122,7 +4133,7 @@
"url"
],
"support": {
"source": "https://github.com/symfony/routing/tree/v5.1.8"
"source": "https://github.com/symfony/routing/tree/v5.2.0"
},
"funding": [
{
......@@ -4138,7 +4149,7 @@
"type": "tidelift"
}
],
"time": "2020-10-24T12:01:57+00:00"
"time": "2020-11-27T00:39:34+00:00"
},
{
"name": "symfony/service-contracts",
......@@ -4221,16 +4232,16 @@
},
{
"name": "symfony/string",
"version": "v5.1.8",
"version": "v5.2.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/string.git",
"reference": "a97573e960303db71be0dd8fda9be3bca5e0feea"
"reference": "40e975edadd4e32cd16f3753b3bad65d9ac48242"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/string/zipball/a97573e960303db71be0dd8fda9be3bca5e0feea",
"reference": "a97573e960303db71be0dd8fda9be3bca5e0feea",
"url": "https://api.github.com/repos/symfony/string/zipball/40e975edadd4e32cd16f3753b3bad65d9ac48242",
"reference": "40e975edadd4e32cd16f3753b3bad65d9ac48242",
"shasum": ""
},
"require": {
......@@ -4284,7 +4295,7 @@
"utf8"
],
"support": {
"source": "https://github.com/symfony/string/tree/v5.1.8"
"source": "https://github.com/symfony/string/tree/v5.2.0"
},
"funding": [
{
......@@ -4300,27 +4311,27 @@
"type": "tidelift"
}
],
"time": "2020-10-24T12:01:57+00:00"
"time": "2020-10-24T12:08:07+00:00"
},
{
"name": "symfony/translation",
"version": "v5.1.8",
"version": "v5.2.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
"reference": "27980838fd261e04379fa91e94e81e662fe5a1b6"
"reference": "52f486a707510884450df461b5a6429dd7a67379"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/translation/zipball/27980838fd261e04379fa91e94e81e662fe5a1b6",
"reference": "27980838fd261e04379fa91e94e81e662fe5a1b6",
"url": "https://api.github.com/repos/symfony/translation/zipball/52f486a707510884450df461b5a6429dd7a67379",
"reference": "52f486a707510884450df461b5a6429dd7a67379",
"shasum": ""
},
"require": {
"php": ">=7.2.5",
"symfony/polyfill-mbstring": "~1.0",
"symfony/polyfill-php80": "^1.15",
"symfony/translation-contracts": "^2"
"symfony/translation-contracts": "^2.3"
},
"conflict": {
"symfony/config": "<4.4",
......@@ -4350,6 +4361,9 @@
},
"type": "library",
"autoload": {
"files": [
"Resources/functions.php"
],
"psr-4": {
"Symfony\\Component\\Translation\\": ""
},
......@@ -4374,7 +4388,7 @@
"description": "Symfony Translation Component",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/translation/tree/v5.1.8"
"source": "https://github.com/symfony/translation/tree/v5.2.0"
},
"funding": [
{
......@@ -4390,7 +4404,7 @@
"type": "tidelift"
}
],
"time": "2020-10-24T12:01:57+00:00"
"time": "2020-11-28T11:24:18+00:00"
},
{
"name": "symfony/translation-contracts",
......@@ -4472,16 +4486,16 @@
},
{
"name": "symfony/var-dumper",
"version": "v5.1.8",
"version": "v5.2.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
"reference": "4e13f3fcefb1fcaaa5efb5403581406f4e840b9a"
"reference": "173a79c462b1c81e1fa26129f71e41333d846b26"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/4e13f3fcefb1fcaaa5efb5403581406f4e840b9a",
"reference": "4e13f3fcefb1fcaaa5efb5403581406f4e840b9a",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/173a79c462b1c81e1fa26129f71e41333d846b26",
"reference": "173a79c462b1c81e1fa26129f71e41333d846b26",
"shasum": ""
},
"require": {
......@@ -4540,7 +4554,7 @@
"dump"
],
"support": {
"source": "https://github.com/symfony/var-dumper/tree/v5.1.8"
"source": "https://github.com/symfony/var-dumper/tree/v5.2.0"
},
"funding": [
{
......@@ -4556,7 +4570,7 @@
"type": "tidelift"
}
],
"time": "2020-10-27T10:11:13+00:00"
"time": "2020-11-27T00:39:34+00:00"
},
{
"name": "tijsverkoyen/css-to-inline-styles",
......@@ -5032,16 +5046,16 @@
},
{
"name": "fakerphp/faker",
"version": "v1.11.0",
"version": "v1.12.0",
"source": {
"type": "git",
"url": "https://github.com/FakerPHP/Faker.git",
"reference": "f228dc5112bafc14c77d40a2acc0c48058e184b0"
"reference": "9aa6c9e289860951e6b4d010c7a841802d015cd8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/FakerPHP/Faker/zipball/f228dc5112bafc14c77d40a2acc0c48058e184b0",
"reference": "f228dc5112bafc14c77d40a2acc0c48058e184b0",
"url": "https://api.github.com/repos/FakerPHP/Faker/zipball/9aa6c9e289860951e6b4d010c7a841802d015cd8",
"reference": "9aa6c9e289860951e6b4d010c7a841802d015cd8",
"shasum": ""
},
"require": {
......@@ -5078,9 +5092,9 @@
],
"support": {
"issues": "https://github.com/FakerPHP/Faker/issues",
"source": "https://github.com/FakerPHP/Faker/tree/v1.11.0"
"source": "https://github.com/FakerPHP/Faker/tree/v1.12.0"
},
"time": "2020-11-15T20:27:00+00:00"
"time": "2020-11-23T09:33:08+00:00"
},
{
"name": "filp/whoops",
......@@ -5750,22 +5764,22 @@
},
{
"name": "phpunit/php-code-coverage",
"version": "7.0.10",
"version": "7.0.13",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
"reference": "f1884187926fbb755a9aaf0b3836ad3165b478bf"
"reference": "ad0dcd7b184e76f7198a1fe07685bfbec3ae911a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f1884187926fbb755a9aaf0b3836ad3165b478bf",
"reference": "f1884187926fbb755a9aaf0b3836ad3165b478bf",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ad0dcd7b184e76f7198a1fe07685bfbec3ae911a",
"reference": "ad0dcd7b184e76f7198a1fe07685bfbec3ae911a",
"shasum": ""
},
"require": {
"ext-dom": "*",
"ext-xmlwriter": "*",
"php": "^7.2",
"php": ">=7.2",
"phpunit/php-file-iterator": "^2.0.2",
"phpunit/php-text-template": "^1.2.1",
"phpunit/php-token-stream": "^3.1.1",
......@@ -5811,29 +5825,35 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/7.0.10"
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/7.0.13"
},
"time": "2019-11-20T13:55:58+00:00"
"funding": [
{
"url": "https://github.com/sebastianbergmann",
"type": "github"
}
],
"time": "2020-11-30T08:35:22+00:00"
},
{
"name": "phpunit/php-file-iterator",
"version": "2.0.2",
"version": "2.0.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-file-iterator.git",
"reference": "050bedf145a257b1ff02746c31894800e5122946"
"reference": "4b49fb70f067272b659ef0174ff9ca40fdaa6357"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/050bedf145a257b1ff02746c31894800e5122946",
"reference": "050bedf145a257b1ff02746c31894800e5122946",
"url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/4b49fb70f067272b659ef0174ff9ca40fdaa6357",
"reference": "4b49fb70f067272b659ef0174ff9ca40fdaa6357",
"shasum": ""
},
"require": {
"php": "^7.1"
"php": ">=7.1"
},
"require-dev": {
"phpunit/phpunit": "^7.1"
"phpunit/phpunit": "^8.5"
},
"type": "library",
"extra": {
......@@ -5865,9 +5885,15 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/php-file-iterator/issues",
"source": "https://github.com/sebastianbergmann/php-file-iterator/tree/2.0.2"
"source": "https://github.com/sebastianbergmann/php-file-iterator/tree/2.0.3"
},
"time": "2018-09-13T20:33:42+00:00"
"funding": [
{
"url": "https://github.com/sebastianbergmann",
"type": "github"
}
],
"time": "2020-11-30T08:25:21+00:00"
},
{
"name": "phpunit/php-text-template",
......@@ -5916,23 +5942,23 @@
},
{
"name": "phpunit/php-timer",
"version": "2.1.2",
"version": "2.1.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-timer.git",
"reference": "1038454804406b0b5f5f520358e78c1c2f71501e"
"reference": "2454ae1765516d20c4ffe103d85a58a9a3bd5662"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/1038454804406b0b5f5f520358e78c1c2f71501e",
"reference": "1038454804406b0b5f5f520358e78c1c2f71501e",
"url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/2454ae1765516d20c4ffe103d85a58a9a3bd5662",
"reference": "2454ae1765516d20c4ffe103d85a58a9a3bd5662",
"shasum": ""
},
"require": {
"php": "^7.1"
"php": ">=7.1"
},
"require-dev": {
"phpunit/phpunit": "^7.0"
"phpunit/phpunit": "^8.5"
},
"type": "library",
"extra": {
......@@ -5963,27 +5989,33 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/php-timer/issues",
"source": "https://github.com/sebastianbergmann/php-timer/tree/master"
"source": "https://github.com/sebastianbergmann/php-timer/tree/2.1.3"
},
"time": "2019-06-07T04:22:29+00:00"
"funding": [
{
"url": "https://github.com/sebastianbergmann",
"type": "github"
}
],
"time": "2020-11-30T08:20:02+00:00"
},
{
"name": "phpunit/php-token-stream",
"version": "3.1.1",
"version": "3.1.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-token-stream.git",
"reference": "995192df77f63a59e47f025390d2d1fdf8f425ff"
"reference": "472b687829041c24b25f475e14c2f38a09edf1c2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/995192df77f63a59e47f025390d2d1fdf8f425ff",
"reference": "995192df77f63a59e47f025390d2d1fdf8f425ff",
"url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/472b687829041c24b25f475e14c2f38a09edf1c2",
"reference": "472b687829041c24b25f475e14c2f38a09edf1c2",
"shasum": ""
},
"require": {
"ext-tokenizer": "*",
"php": "^7.1"
"php": ">=7.1"
},
"require-dev": {
"phpunit/phpunit": "^7.0"
......@@ -6016,23 +6048,29 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/php-token-stream/issues",
"source": "https://github.com/sebastianbergmann/php-token-stream/tree/3.1.1"
"source": "https://github.com/sebastianbergmann/php-token-stream/tree/3.1.2"
},
"funding": [
{
"url": "https://github.com/sebastianbergmann",
"type": "github"
}
],
"abandoned": true,
"time": "2019-09-17T06:23:10+00:00"
"time": "2020-11-30T08:38:46+00:00"
},
{
"name": "phpunit/phpunit",
"version": "8.5.9",
"version": "8.5.11",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "f5c8a5dd5e7e8d68d7562bfb48d47287d33937d6"
"reference": "3123601e3b29339b20129acc3f989cfec3274566"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f5c8a5dd5e7e8d68d7562bfb48d47287d33937d6",
"reference": "f5c8a5dd5e7e8d68d7562bfb48d47287d33937d6",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3123601e3b29339b20129acc3f989cfec3274566",
"reference": "3123601e3b29339b20129acc3f989cfec3274566",
"shasum": ""
},
"require": {
......@@ -6048,7 +6086,7 @@
"phar-io/version": "^2.0.1",
"php": "^7.2",
"phpspec/prophecy": "^1.10.3",
"phpunit/php-code-coverage": "^7.0.10",
"phpunit/php-code-coverage": "^7.0.12",
"phpunit/php-file-iterator": "^2.0.2",
"phpunit/php-text-template": "^1.2.1",
"phpunit/php-timer": "^2.1.2",
......@@ -6104,7 +6142,7 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
"source": "https://github.com/sebastianbergmann/phpunit/tree/8.5.9"
"source": "https://github.com/sebastianbergmann/phpunit/tree/8.5.11"
},
"funding": [
{
......@@ -6116,7 +6154,7 @@
"type": "github"
}
],
"time": "2020-11-10T12:51:38+00:00"
"time": "2020-11-27T12:46:45+00:00"
},
{
"name": "scrivo/highlight.php",
......@@ -6199,23 +6237,23 @@
},
{
"name": "sebastian/code-unit-reverse-lookup",
"version": "1.0.1",
"version": "1.0.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
"reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18"
"reference": "1de8cd5c010cb153fcd68b8d0f64606f523f7619"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
"reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
"url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/1de8cd5c010cb153fcd68b8d0f64606f523f7619",
"reference": "1de8cd5c010cb153fcd68b8d0f64606f523f7619",
"shasum": ""
},
"require": {
"php": "^5.6 || ^7.0"
"php": ">=5.6"
},
"require-dev": {
"phpunit/phpunit": "^5.7 || ^6.0"
"phpunit/phpunit": "^8.5"
},
"type": "library",
"extra": {
......@@ -6242,31 +6280,37 @@
"homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
"support": {
"issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues",
"source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/master"
"source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/1.0.2"
},
"time": "2017-03-04T06:30:41+00:00"
"funding": [
{
"url": "https://github.com/sebastianbergmann",
"type": "github"
}
],
"time": "2020-11-30T08:15:22+00:00"
},
{
"name": "sebastian/comparator",
"version": "3.0.2",
"version": "3.0.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/comparator.git",
"reference": "5de4fc177adf9bce8df98d8d141a7559d7ccf6da"
"reference": "1071dfcef776a57013124ff35e1fc41ccd294758"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/5de4fc177adf9bce8df98d8d141a7559d7ccf6da",
"reference": "5de4fc177adf9bce8df98d8d141a7559d7ccf6da",
"url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/1071dfcef776a57013124ff35e1fc41ccd294758",
"reference": "1071dfcef776a57013124ff35e1fc41ccd294758",
"shasum": ""
},
"require": {
"php": "^7.1",
"php": ">=7.1",
"sebastian/diff": "^3.0",
"sebastian/exporter": "^3.1"
},
"require-dev": {
"phpunit/phpunit": "^7.1"
"phpunit/phpunit": "^8.5"
},
"type": "library",
"extra": {
......@@ -6284,6 +6328,10 @@
"BSD-3-Clause"
],
"authors": [
{
"name": "Sebastian Bergmann",
"email": "sebastian@phpunit.de"
},
{
"name": "Jeff Welch",
"email": "whatthejeff@gmail.com"
......@@ -6295,10 +6343,6 @@
{
"name": "Bernhard Schussek",
"email": "bschussek@2bepublished.at"
},
{
"name": "Sebastian Bergmann",
"email": "sebastian@phpunit.de"
}
],
"description": "Provides the functionality to compare PHP values for equality",
......@@ -6310,26 +6354,32 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/comparator/issues",
"source": "https://github.com/sebastianbergmann/comparator/tree/master"
"source": "https://github.com/sebastianbergmann/comparator/tree/3.0.3"
},
"time": "2018-07-12T15:12:46+00:00"
"funding": [
{
"url": "https://github.com/sebastianbergmann",
"type": "github"
}
],
"time": "2020-11-30T08:04:30+00:00"
},
{
"name": "sebastian/diff",
"version": "3.0.2",
"version": "3.0.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/diff.git",
"reference": "720fcc7e9b5cf384ea68d9d930d480907a0c1a29"
"reference": "14f72dd46eaf2f2293cbe79c93cc0bc43161a211"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/720fcc7e9b5cf384ea68d9d930d480907a0c1a29",
"reference": "720fcc7e9b5cf384ea68d9d930d480907a0c1a29",
"url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/14f72dd46eaf2f2293cbe79c93cc0bc43161a211",
"reference": "14f72dd46eaf2f2293cbe79c93cc0bc43161a211",
"shasum": ""
},
"require": {
"php": "^7.1"
"php": ">=7.1"
},
"require-dev": {
"phpunit/phpunit": "^7.5 || ^8.0",
......@@ -6351,13 +6401,13 @@
"BSD-3-Clause"
],
"authors": [
{
"name": "Kore Nordmann",
"email": "mail@kore-nordmann.de"
},
{
"name": "Sebastian Bergmann",
"email": "sebastian@phpunit.de"
},
{
"name": "Kore Nordmann",
"email": "mail@kore-nordmann.de"
}
],
"description": "Diff implementation",
......@@ -6370,26 +6420,32 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/diff/issues",
"source": "https://github.com/sebastianbergmann/diff/tree/master"
"source": "https://github.com/sebastianbergmann/diff/tree/3.0.3"
},
"time": "2019-02-04T06:01:07+00:00"
"funding": [
{
"url": "https://github.com/sebastianbergmann",
"type": "github"
}
],
"time": "2020-11-30T07:59:04+00:00"
},
{
"name": "sebastian/environment",
"version": "4.2.3",
"version": "4.2.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/environment.git",
"reference": "464c90d7bdf5ad4e8a6aea15c091fec0603d4368"
"reference": "d47bbbad83711771f167c72d4e3f25f7fcc1f8b0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/464c90d7bdf5ad4e8a6aea15c091fec0603d4368",
"reference": "464c90d7bdf5ad4e8a6aea15c091fec0603d4368",
"url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/d47bbbad83711771f167c72d4e3f25f7fcc1f8b0",
"reference": "d47bbbad83711771f167c72d4e3f25f7fcc1f8b0",
"shasum": ""
},
"require": {
"php": "^7.1"
"php": ">=7.1"
},
"require-dev": {
"phpunit/phpunit": "^7.5"
......@@ -6427,26 +6483,32 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/environment/issues",
"source": "https://github.com/sebastianbergmann/environment/tree/4.2.3"
"source": "https://github.com/sebastianbergmann/environment/tree/4.2.4"
},
"time": "2019-11-20T08:46:58+00:00"
"funding": [
{
"url": "https://github.com/sebastianbergmann",
"type": "github"
}
],
"time": "2020-11-30T07:53:42+00:00"
},
{
"name": "sebastian/exporter",
"version": "3.1.2",
"version": "3.1.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/exporter.git",
"reference": "68609e1261d215ea5b21b7987539cbfbe156ec3e"
"reference": "6b853149eab67d4da22291d36f5b0631c0fd856e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/68609e1261d215ea5b21b7987539cbfbe156ec3e",
"reference": "68609e1261d215ea5b21b7987539cbfbe156ec3e",
"url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/6b853149eab67d4da22291d36f5b0631c0fd856e",
"reference": "6b853149eab67d4da22291d36f5b0631c0fd856e",
"shasum": ""
},
"require": {
"php": "^7.0",
"php": ">=7.0",
"sebastian/recursion-context": "^3.0"
},
"require-dev": {
......@@ -6498,26 +6560,32 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/exporter/issues",
"source": "https://github.com/sebastianbergmann/exporter/tree/master"
"source": "https://github.com/sebastianbergmann/exporter/tree/3.1.3"
},
"time": "2019-09-14T09:02:43+00:00"
"funding": [
{
"url": "https://github.com/sebastianbergmann",
"type": "github"
}
],
"time": "2020-11-30T07:47:53+00:00"
},
{
"name": "sebastian/global-state",
"version": "3.0.0",
"version": "3.0.1",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/global-state.git",
"reference": "edf8a461cf1d4005f19fb0b6b8b95a9f7fa0adc4"
"reference": "474fb9edb7ab891665d3bfc6317f42a0a150454b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/edf8a461cf1d4005f19fb0b6b8b95a9f7fa0adc4",
"reference": "edf8a461cf1d4005f19fb0b6b8b95a9f7fa0adc4",
"url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/474fb9edb7ab891665d3bfc6317f42a0a150454b",
"reference": "474fb9edb7ab891665d3bfc6317f42a0a150454b",
"shasum": ""
},
"require": {
"php": "^7.2",
"php": ">=7.2",
"sebastian/object-reflector": "^1.1.1",
"sebastian/recursion-context": "^3.0"
},
......@@ -6556,26 +6624,32 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/global-state/issues",
"source": "https://github.com/sebastianbergmann/global-state/tree/master"
"source": "https://github.com/sebastianbergmann/global-state/tree/3.0.1"
},
"time": "2019-02-01T05:30:01+00:00"
"funding": [
{
"url": "https://github.com/sebastianbergmann",
"type": "github"
}
],
"time": "2020-11-30T07:43:24+00:00"
},
{
"name": "sebastian/object-enumerator",
"version": "3.0.3",
"version": "3.0.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/object-enumerator.git",
"reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5"
"reference": "e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/7cfd9e65d11ffb5af41198476395774d4c8a84c5",
"reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5",
"url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2",
"reference": "e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2",
"shasum": ""
},
"require": {
"php": "^7.0",
"php": ">=7.0",
"sebastian/object-reflector": "^1.1.1",
"sebastian/recursion-context": "^3.0"
},
......@@ -6607,26 +6681,32 @@
"homepage": "https://github.com/sebastianbergmann/object-enumerator/",
"support": {
"issues": "https://github.com/sebastianbergmann/object-enumerator/issues",
"source": "https://github.com/sebastianbergmann/object-enumerator/tree/master"
"source": "https://github.com/sebastianbergmann/object-enumerator/tree/3.0.4"
},
"time": "2017-08-03T12:35:26+00:00"
"funding": [
{
"url": "https://github.com/sebastianbergmann",
"type": "github"
}
],
"time": "2020-11-30T07:40:27+00:00"
},
{
"name": "sebastian/object-reflector",
"version": "1.1.1",
"version": "1.1.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/object-reflector.git",
"reference": "773f97c67f28de00d397be301821b06708fca0be"
"reference": "9b8772b9cbd456ab45d4a598d2dd1a1bced6363d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/773f97c67f28de00d397be301821b06708fca0be",
"reference": "773f97c67f28de00d397be301821b06708fca0be",
"url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/9b8772b9cbd456ab45d4a598d2dd1a1bced6363d",
"reference": "9b8772b9cbd456ab45d4a598d2dd1a1bced6363d",
"shasum": ""
},
"require": {
"php": "^7.0"
"php": ">=7.0"
},
"require-dev": {
"phpunit/phpunit": "^6.0"
......@@ -6656,26 +6736,32 @@
"homepage": "https://github.com/sebastianbergmann/object-reflector/",
"support": {
"issues": "https://github.com/sebastianbergmann/object-reflector/issues",
"source": "https://github.com/sebastianbergmann/object-reflector/tree/master"
"source": "https://github.com/sebastianbergmann/object-reflector/tree/1.1.2"
},
"time": "2017-03-29T09:07:27+00:00"
"funding": [
{
"url": "https://github.com/sebastianbergmann",
"type": "github"
}
],
"time": "2020-11-30T07:37:18+00:00"
},
{
"name": "sebastian/recursion-context",
"version": "3.0.0",
"version": "3.0.1",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/recursion-context.git",
"reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8"
"reference": "367dcba38d6e1977be014dc4b22f47a484dac7fb"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8",
"reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8",
"url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/367dcba38d6e1977be014dc4b22f47a484dac7fb",
"reference": "367dcba38d6e1977be014dc4b22f47a484dac7fb",
"shasum": ""
},
"require": {
"php": "^7.0"
"php": ">=7.0"
},
"require-dev": {
"phpunit/phpunit": "^6.0"
......@@ -6696,14 +6782,14 @@
"BSD-3-Clause"
],
"authors": [
{
"name": "Jeff Welch",
"email": "whatthejeff@gmail.com"
},
{
"name": "Sebastian Bergmann",
"email": "sebastian@phpunit.de"
},
{
"name": "Jeff Welch",
"email": "whatthejeff@gmail.com"
},
{
"name": "Adam Harvey",
"email": "aharvey@php.net"
......@@ -6713,26 +6799,32 @@
"homepage": "http://www.github.com/sebastianbergmann/recursion-context",
"support": {
"issues": "https://github.com/sebastianbergmann/recursion-context/issues",
"source": "https://github.com/sebastianbergmann/recursion-context/tree/master"
"source": "https://github.com/sebastianbergmann/recursion-context/tree/3.0.1"
},
"time": "2017-03-03T06:23:57+00:00"
"funding": [
{
"url": "https://github.com/sebastianbergmann",
"type": "github"
}
],
"time": "2020-11-30T07:34:24+00:00"
},
{
"name": "sebastian/resource-operations",
"version": "2.0.1",
"version": "2.0.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/resource-operations.git",
"reference": "4d7a795d35b889bf80a0cc04e08d77cedfa917a9"
"reference": "31d35ca87926450c44eae7e2611d45a7a65ea8b3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/4d7a795d35b889bf80a0cc04e08d77cedfa917a9",
"reference": "4d7a795d35b889bf80a0cc04e08d77cedfa917a9",
"url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/31d35ca87926450c44eae7e2611d45a7a65ea8b3",
"reference": "31d35ca87926450c44eae7e2611d45a7a65ea8b3",
"shasum": ""
},
"require": {
"php": "^7.1"
"php": ">=7.1"
},
"type": "library",
"extra": {
......@@ -6759,26 +6851,32 @@
"homepage": "https://www.github.com/sebastianbergmann/resource-operations",
"support": {
"issues": "https://github.com/sebastianbergmann/resource-operations/issues",
"source": "https://github.com/sebastianbergmann/resource-operations/tree/master"
"source": "https://github.com/sebastianbergmann/resource-operations/tree/2.0.2"
},
"time": "2018-10-04T04:07:39+00:00"
"funding": [
{
"url": "https://github.com/sebastianbergmann",
"type": "github"
}
],
"time": "2020-11-30T07:30:19+00:00"
},
{
"name": "sebastian/type",
"version": "1.1.3",
"version": "1.1.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/type.git",
"reference": "3aaaa15fa71d27650d62a948be022fe3b48541a3"
"reference": "0150cfbc4495ed2df3872fb31b26781e4e077eb4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/type/zipball/3aaaa15fa71d27650d62a948be022fe3b48541a3",
"reference": "3aaaa15fa71d27650d62a948be022fe3b48541a3",
"url": "https://api.github.com/repos/sebastianbergmann/type/zipball/0150cfbc4495ed2df3872fb31b26781e4e077eb4",
"reference": "0150cfbc4495ed2df3872fb31b26781e4e077eb4",
"shasum": ""
},
"require": {
"php": "^7.2"
"php": ">=7.2"
},
"require-dev": {
"phpunit/phpunit": "^8.2"
......@@ -6809,9 +6907,15 @@
"homepage": "https://github.com/sebastianbergmann/type",
"support": {
"issues": "https://github.com/sebastianbergmann/type/issues",
"source": "https://github.com/sebastianbergmann/type/tree/master"
"source": "https://github.com/sebastianbergmann/type/tree/1.1.4"
},
"time": "2019-07-02T08:10:15+00:00"
"funding": [
{
"url": "https://github.com/sebastianbergmann",
"type": "github"
}
],
"time": "2020-11-30T07:25:11+00:00"
},
{
"name": "sebastian/version",
......
......@@ -7,6 +7,10 @@ use Faker\Generator as Faker;
$factory->define(Game::class, function (Faker $faker) {
return [
//
'titre' => $faker->name,
'version' => $faker->unique()->randomDigit,
'created_at' => now(),
'updated_at' => now(),
'id_category' => 0
];
});
<?php
use Illuminate\Database\Seeder;
use App\Game;
class GameTableSeeder extends Seeder
{
......@@ -9,11 +10,16 @@ class GameTableSeeder extends Seeder
*
* @return void
*/
/*
public function run()
{
DB::table('game')->insert([
'created_at' => date("Y-m-d H:i:s"),
'updated_at' => date("Y-m-d H:i:s"),
]);
}*/
public function run()
{
factory(Game::class, 10)->create();
}
}
......@@ -4,7 +4,7 @@
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card text-white bg-dark">
<div class="card-header">{{ __('Login') }}</div>
<div class="card-body">
......
......@@ -4,7 +4,7 @@
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card text-white bg-dark">
<div class="card-header">{{ __('Register') }}</div>
<div class="card-body">
......
@extends('layouts.app')
@section('content')
@auth
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
@if (isset($post))
@if($post)
<div class="alert alert-success" role="alert">
Le tournoi a été créé.
</div>
$else
<div class="alert alert-danger" role="alert">
Un erreur est intervenue, merci de réessayer.
</div>
@endif
@endif
<div class="card text-white bg-dark">
@if (isset($post))
@if($post)
<div class="alert alert-success" role="alert">
Le tournoi a été créé.
</div>
@else
<div class="alert alert-danger" role="alert">
Un erreur est intervenue, merci de réessayer.
</div>
@endif
@endif
<div class="card-header">Créer un tournoi</div>
<div class="card-body">
<form method="POST" action="/form">
<form method="POST" action="{{ route('createTournament') }}">
@csrf
<div class="form-group row">
<label for="select-game" class="col-md-4 col-form-label text-md-right">Choisissez un jeu</label>
<div class="col-md-6">
<select name="select-game" id="select-game" class="custom-select" required autofocus>
@foreach ($games as $game)
<option value="{{ $game->id_game }}">{{ $game->id_game }}</option>
@endforeach
</select>
</div>
</div>
<div class="form-group row">
<label for="tournament-name" class="col-md-4 col-form-label text-md-right">Nom du tournoi</label>
<label for="description" class="col-md-4 col-form-label text-md-right">Nom du tournoi</label>
<div class="col-md-6">
<input name="tournament-name" id="tournament-name" type="text" class="form-control" required>
<input name="description" id="description" type="text" class="form-control" required autofocus>
</div>
<div class="invalid-feedback">
Veuillez saisir un nom.
......@@ -41,50 +33,35 @@
</div>
<div class="form-group row">
<label for="date-begin" class="col-md-4 col-form-label text-md-right">Date du début du tournoi</label>
<div class="col-md-6 row pr-0" name="date-begin" id="date-begin">
<div class="col-md-3">
<select name="day-begin" id="day-begin" class="custom-select" required autofocus>
@for ($i = 1; $i < 32; $i++)
<option value="{{ $i }}">{{ $i }}</option>
@endfor
</select>
</div>
<div class="col-md-5">
<select name="month-begin" id="month-begin" class="custom-select" required autofocus>
@for ($i = 1; $i < 13; $i++)
<option value="{{ $i }}">{{ date('F', mktime(0,0,0,$i) ) }}</option>
@endfor
</select>
</div>
<div class="col-md-4">
<select name="day-begin" id="day-begin" class="custom-select" required autofocus>
@for ($i = date('Y'); $i < date('Y') + 20; $i++)
<option value="{{ $i }}">{{ $i }}</option>
@endfor
</select>
</div>
<label for="select-game" class="col-md-4 col-form-label text-md-right">Choisissez un jeu</label>
<div class="col-md-6">
<select name="select-game" id="select-game" class="custom-select" required>
@foreach ($games as $game)
<option value="{{ $game->id_game }}">{{ $game->titre }}</option>
@endforeach
</select>
</div>
</div>
<div class="form-group row">
<label for="date-end" class="col-md-4 col-form-label text-md-right">Date du fin du tournoi</label>
<div class="col-md-6 row pr-0" name="date-end" id="date-end">
<label for="date-begin" class="col-md-4 col-form-label text-md-right">Date du début du tournoi</label>
<div class="col-md-6 row pr-0" name="date-begin" id="date-begin">
<div class="col-md-3">
<select name="day-end" id="day-end" class="custom-select" required autofocus>
<select name="day-begin" id="day-begin" class="custom-select" required autofocus>
@for ($i = 1; $i < 32; $i++)
<option value="{{ $i }}">{{ $i }}</option>
@endfor
</select>
</div>
<div class="col-md-5">
<select name="month-end" id="month-end" class="custom-select" required autofocus>
<select name="month-begin" id="month-begin" class="custom-select" required>
@for ($i = 1; $i < 13; $i++)
<option value="{{ $i }}">{{ date('F', mktime(0,0,0,$i) ) }}</option>
@endfor
</select>
</div>
<div class="col-md-4">
<select name="day-end" id="day-end" class="custom-select" required autofocus>
<select name="year-begin" id="year-begin" class="custom-select" required>
@for ($i = date('Y'); $i < date('Y') + 20; $i++)
<option value="{{ $i }}">{{ $i }}</option>
@endfor
......@@ -92,9 +69,10 @@
</div>
</div>
</div>
<div class="form-group row">
<button class="btn btn-primary mx-auto" type="submit">Submit form</button>
<button class="btn btn-primary mx-auto" type="submit">Enregistrer le tournoi</button>
</div>
</form>
......@@ -104,4 +82,16 @@
</div>
</div>
</div>
@else
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="alert alert-danger" role="alert">
Vous devez être connecté pour accéder à cette page.
</div>
</div>
</div>
</div>
@endauth
@endsection
......@@ -4,18 +4,30 @@
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-body">
@if (session('status'))
<div class="alert alert-success" role="alert">
{{ session('status') }}
</div>
@if (isset($tournaments) && !empty($tournaments))
<table class="table table-dark">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Nom</th>
<th scope="col">Jeu</th>
<th scope="col">Date</th>
</tr>
</thead>
<tbody>
@foreach($tournaments as $tournament)
<tr>
<th scope="row">{{$tournament->id_tournament}}</th>
<td>{{$tournament->description}}</td>
<td>{{$tournament->titre}}</td>
<td>{{$tournament->tournament_date}}</td>
</tr>
@endforeach
</tbody>
</table>
@endif
Bienvenue sur ma page d'accueil.
</div>
</div>
</div>
</div>
</div>
......
......@@ -19,9 +19,9 @@
<!-- Styles -->
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
</head>
<body>
<body class="bg-secondary">
<div id="app">
<nav class="navbar navbar-expand-md navbar-light bg-white shadow-sm">
<nav class="navbar navbar-expand-md navbar-dark bg-dark shadow-sm">
<div class="container">
<a class="navbar-brand" href="{{ url('/') }}">
{{ config('app.name', 'Laravel') }}
......@@ -32,12 +32,13 @@
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<!-- Left Side Of Navbar -->
@auth
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="{{ url('/form') }}">{{ __('Créer un tournoi') }}</a>
</li>
</ul>
@endauth
<!-- Right Side Of Navbar -->
<ul class="navbar-nav ml-auto">
<!-- Authentication Links -->
......
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ config('app.name', 'Laravel') }}</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@200;600&display=swap" rel="stylesheet">
<!-- Scripts -->
<script src="{{ asset('js/app.js') }}" defer></script>
<!-- Styles -->
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
</head>
<body>
<header>
<h1>@yield('Title')</h1>
</header>
<div id="page">
<article>
<p>@yield('content')</p>
</article>
</div>
<footer>
<p>Powered by <a href="https://laravel.com/">Laravel</a></p>
</footer>
</body>
</html>
@extends('layouts.app')
@section('Title', 'Page Title')
@section('content')
Du texte test.
@stop
\ No newline at end of file
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@200;600&display=swap" rel="stylesheet">
<!-- Styles -->
<style>
html, body {
background-color: #fff;
color: #636b6f;
font-family: 'Nunito', sans-serif;
font-weight: 200;
height: 100vh;
margin: 0;
}
.full-height {
height: 100vh;
}
.flex-center {
align-items: center;
display: flex;
justify-content: center;
}
.position-ref {
position: relative;
}
.top-right {
position: absolute;
right: 10px;
top: 18px;
}
.content {
text-align: center;
}
.title {
font-size: 84px;
}
.links > a {
color: #636b6f;
padding: 0 25px;
font-size: 13px;
font-weight: 600;
letter-spacing: .1rem;
text-decoration: none;
text-transform: uppercase;
}
.m-b-md {
margin-bottom: 30px;
}
</style>
</head>
<body>
<div class="flex-center position-ref full-height">
@if (Route::has('login'))
<div class="top-right links">
@auth
<a href="{{ url('/home') }}">Home</a>
@else
<a href="{{ route('login') }}">Login</a>
@if (Route::has('register'))
<a href="{{ route('register') }}">Register</a>
@endif
@endauth
</div>
@endif
<div class="content">
<div class="title m-b-md">
Laravel
</div>
<div class="links">
<a href="https://laravel.com/docs">Docs</a>
<a href="https://laracasts.com">Laracasts</a>
<a href="https://laravel-news.com">News</a>
<a href="https://blog.laravel.com">Blog</a>
<a href="https://nova.laravel.com">Nova</a>
<a href="https://forge.laravel.com">Forge</a>
<a href="https://vapor.laravel.com">Vapor</a>
<a href="https://github.com/laravel/laravel">GitHub</a>
</div>
</div>
</div>
</body>
</html>
......@@ -13,22 +13,16 @@ use Illuminate\Support\Facades\Route;
|
*/
Route::get('/', function () {
return view('home');
});
/*
Route::get('/vue2', 'MonControleur@index');
Route::get('/{firstname}/{name}', function ($firstname, $name) {
return "Koukou $firstname $name";
Route::get('/', 'TournamentController@displayTournaments');
Route::get('/home', function () {
return redirect('/');
});
*/
Auth::routes();
Route::get('/home', 'HomeController@index')->name('home');
Route::get('/form', 'TournamentController@index');
//Routes de test
Route::get('/formtest', 'TournamentController@createTournament');
Route::post('/form', 'TournamentController@createTournament')->name('createTournament');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment