diff --git a/app/controllers/Answers.php b/app/controllers/AnswerController.php
similarity index 96%
rename from app/controllers/Answers.php
rename to app/controllers/AnswerController.php
index 6ba2100..3482afa 100644
--- a/app/controllers/Answers.php
+++ b/app/controllers/AnswerController.php
@@ -5,7 +5,7 @@ namespace app\controllers;
use app\models\Answer;
use app\models\Upvote;
-class Answers {
+class AnswerController {
public function actionAddAnswer($answer,$question_id,$user_id)
{
return Answer::create(['answer'=>$answer,'question_id'=>$question_id,'user_id'=>$user_id]);
diff --git a/app/controllers/Questions.php b/app/controllers/QuestionController.php
similarity index 88%
rename from app/controllers/Questions.php
rename to app/controllers/QuestionController.php
index c94821f..4695860 100644
--- a/app/controllers/Questions.php
+++ b/app/controllers/QuestionController.php
@@ -3,7 +3,7 @@ namespace app\controllers;
use app\models\Question;
-class Questions{
+class QuestionController{
public function actionCreateQuestion($question,$user_id)
{
return Question::create(['question'=>$question,'user_id'=>$user_id]);
@@ -11,7 +11,7 @@ class Questions{
public function actionGetQuestionsWithAnswers()
{
- return Question::with('Answers')->get()->toArray();
+ return Question::with('AnswerController')->get()->toArray();
}
public function actionGetQuestionsWithUsers()
diff --git a/app/controllers/UserController.php b/app/controllers/UserController.php
index f545545..0b63046 100644
--- a/app/controllers/UserController.php
+++ b/app/controllers/UserController.php
@@ -8,12 +8,17 @@ use app\models\User;
use http\Encoding\Stream\Debrotli;
use Illuminate\Contracts\View\View;
use Illuminate\Support\Facades\DB;
+use Illuminate\Database\Eloquent\SoftDeletes;
class UserController {
public function actionCreate(): void
{
- Debug::dd("create");
- //return User::create(['username'=>$username,'email'=>$email,'password'=>$password]);
+ require "app/views/userCreate.php";
+ }
+
+ public function actionAdd(): void
+ {
+ User::create($_REQUEST);
}
public function actionQuestionCount($user_id)
@@ -23,7 +28,6 @@ class UserController {
public function actionIndex(): void
{
- Debug::dd("list");
foreach (User::all() as $user)
{
echo $user->username . "
";
@@ -32,12 +36,36 @@ class UserController {
public function actionView($id): void
{
- Debug::dd($id);
echo User::where('id', '=', $id)->get();
-// $user = User::where('id', '=', 13)->get();
+ echo User::where('id', '=', $id)->first() . "
";
-// echo $user->username . "
";
-// echo $user->email . "
";
-// echo $user->created_at . "
";
+ $user = User::find($id);
+ echo $user->id . "
";
+ echo $user->username . "
";
+ echo $user->email . "
";
+ echo $user->password . "
";
+ echo $user->created_at . "
";
+ echo $user->updated_at . "
";
}
+
+ public function actionUpdate(): void
+ {
+ Debug::prn("Update");
+ require "app/views/userUpdate.php";
+ }
+
+ public function actionEdit(): void
+ {
+ $user = User::find($_REQUEST['id']);
+ $user->username = $_REQUEST['username'];
+ $user->email = $_REQUEST['email'];
+ $user->password = $_REQUEST['password'];
+ $user->save();
+ }
+
+ public function actionDelete($id): void
+ {
+ User::find($id)->delete();
+ }
+
}
\ No newline at end of file
diff --git a/app/models/Answer.php b/app/models/Answer.php
index 9c41a0d..3b87c46 100644
--- a/app/models/Answer.php
+++ b/app/models/Answer.php
@@ -4,7 +4,7 @@ namespace app\models;
use \Illuminate\Database\Eloquent\Model;
class Answer extends Model {
- protected $table = 'Answers';
+ protected $table = 'AnswerController';
protected $fillable = ['answer','user_id','question_id'];
public function upvotes()
diff --git a/app/models/User.php b/app/models/User.php
index 59d5da1..10c79df 100644
--- a/app/models/User.php
+++ b/app/models/User.php
@@ -5,4 +5,5 @@ use \Illuminate\Database\Eloquent\Model;
class User extends Model {
protected $table = 'Users';
protected $fillable = ['username', 'email', 'password'];
+ protected $dates = ['deleted at'];
}
diff --git a/app/views/userCreate.php b/app/views/userCreate.php
new file mode 100644
index 0000000..ca97968
--- /dev/null
+++ b/app/views/userCreate.php
@@ -0,0 +1,19 @@
+
\ No newline at end of file
diff --git a/app/views/userUpdate.php b/app/views/userUpdate.php
new file mode 100644
index 0000000..2fb939f
--- /dev/null
+++ b/app/views/userUpdate.php
@@ -0,0 +1,24 @@
+
\ No newline at end of file
diff --git a/composer.json b/composer.json
index d4d1bdc..fe5504d 100644
--- a/composer.json
+++ b/composer.json
@@ -4,7 +4,8 @@
"type": "project",
"require": {
"illuminate/database": "^11.14",
- "craft-group/phroute": "^2.1"
+ "craft-group/phroute": "^2.1",
+ "ext-http": "*"
},
"autoload": {
"psr-4": {
diff --git a/composer.lock b/composer.lock
index 23c2b20..6383e5d 100644
--- a/composer.lock
+++ b/composer.lock
@@ -1404,5 +1404,5 @@
"prefer-lowest": false,
"platform": [],
"platform-dev": [],
- "plugin-api-version": "2.3.0"
+ "plugin-api-version": "2.6.0"
}
diff --git a/index.php b/index.php
index 062c196..afed8b5 100644
--- a/index.php
+++ b/index.php
@@ -7,33 +7,35 @@ require_once "vendor/autoload.php";
require 'bootstrap.php';
use app\controllers\MainController;
-use app\controllers\Users;
-use app\controllers\Questions;
-use app\controllers\Answers;
-use app\controllers\Posts;
+use app\controllers\UserController;
+use app\controllers\QuestionController;
+use app\controllers\AnswerController;
+use app\controllers\PostController;
+use app\helpers\Debug;
use Phroute\Phroute\RouteCollector;
$router = new RouteCollector();
-
$router->get('/', [MainController::class, 'actionIndex']);
$router->get('/example', [MainController::class, 'actionExample']);
$router->group(["prefix" => "admin"], function (RouteCollector $router){
$router->group(["prefix" => "user"], function (RouteCollector $router){
$router->get('/create', [\app\controllers\UserController::class, 'actionCreate']);
- $router->get('/update', [\app\controllers\UserController::class, 'actionCreate']);
+ $router->get('/update', [\app\controllers\UserController::class, 'actionUpdate']);
+ $router->get('/delete/{id}', [\app\controllers\UserController::class, 'actionDelete']);
$router->get('/', [\app\controllers\UserController::class, 'actionIndex']);
$router->get('/{id}', [\app\controllers\UserController::class, 'actionView']);
- $router->post("/", []);
+ $router->post("/", [\app\controllers\UserController::class, 'actionAdd']);
+ $router->post("/edit", [\app\controllers\UserController::class, 'actionEdit']);
});
$router->group(["prefix" => "post"], function (RouteCollector $router){
$router->get('/', [\app\controllers\PostController::class, 'actionIndex']);
});
});
-$router->get('/allQuestions', [Questions::class, 'actionViewAllQuestions']);
+$router->get('/allQuestions', [QuestionController::class, 'actionViewAllQuestions']);
-$router->get('/allAnswers', [Answers::class, 'actionViewAllAnswers']);
+$router->get('/allAnswers', [AnswerController::class, 'actionViewAllAnswers']);
$dispatcher = new Phroute\Phroute\Dispatcher($router->getData());
diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php
index 351cc2f..fff9c4f 100644
--- a/vendor/composer/autoload_classmap.php
+++ b/vendor/composer/autoload_classmap.php
@@ -6,12 +6,16 @@ $vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);
return array(
- 'Attribute' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/Attribute.php',
'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
- 'JsonException' => $vendorDir . '/symfony/polyfill-php73/Resources/stubs/JsonException.php',
- 'Normalizer' => $vendorDir . '/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php',
- 'PhpToken' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/PhpToken.php',
- 'Stringable' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/Stringable.php',
- 'UnhandledMatchError' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php',
- 'ValueError' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/ValueError.php',
+ 'DateError' => $vendorDir . '/symfony/polyfill-php83/Resources/stubs/DateError.php',
+ 'DateException' => $vendorDir . '/symfony/polyfill-php83/Resources/stubs/DateException.php',
+ 'DateInvalidOperationException' => $vendorDir . '/symfony/polyfill-php83/Resources/stubs/DateInvalidOperationException.php',
+ 'DateInvalidTimeZoneException' => $vendorDir . '/symfony/polyfill-php83/Resources/stubs/DateInvalidTimeZoneException.php',
+ 'DateMalformedIntervalStringException' => $vendorDir . '/symfony/polyfill-php83/Resources/stubs/DateMalformedIntervalStringException.php',
+ 'DateMalformedPeriodStringException' => $vendorDir . '/symfony/polyfill-php83/Resources/stubs/DateMalformedPeriodStringException.php',
+ 'DateMalformedStringException' => $vendorDir . '/symfony/polyfill-php83/Resources/stubs/DateMalformedStringException.php',
+ 'DateObjectError' => $vendorDir . '/symfony/polyfill-php83/Resources/stubs/DateObjectError.php',
+ 'DateRangeError' => $vendorDir . '/symfony/polyfill-php83/Resources/stubs/DateRangeError.php',
+ 'Override' => $vendorDir . '/symfony/polyfill-php83/Resources/stubs/Override.php',
+ 'SQLite3Exception' => $vendorDir . '/symfony/polyfill-php83/Resources/stubs/SQLite3Exception.php',
);
diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php
index 0450836..e90cd22 100644
--- a/vendor/composer/autoload_static.php
+++ b/vendor/composer/autoload_static.php
@@ -8,14 +8,10 @@ class ComposerStaticInitfe2a84e2cd498dd89c8e792659f7a55c
{
public static $files = array (
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
- '6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php',
- 'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
- '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
- '8825ede83f2f289127722d4e842cf7e8' => __DIR__ . '/..' . '/symfony/polyfill-intl-grapheme/bootstrap.php',
- 'e69f7f6ee287b969198c3c9d6777bd38' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/bootstrap.php',
+ '662a729f963d39afe703c9d9b7ab4a8c' => __DIR__ . '/..' . '/symfony/polyfill-php83/bootstrap.php',
+ '60799491728b879e74601d83e38b2cad' => __DIR__ . '/..' . '/illuminate/collections/helpers.php',
+ '2203a247e6fda86070a5e4e07aed533a' => __DIR__ . '/..' . '/symfony/clock/Resources/now.php',
'a1105708a18b76903365ca1c4aa61b02' => __DIR__ . '/..' . '/symfony/translation/Resources/functions.php',
- '0d59ee240a4cd96ddbb4ff164fccea4d' => __DIR__ . '/..' . '/symfony/polyfill-php73/bootstrap.php',
- 'b6b991a57620e2fb6b2f66f03fe9ddc2' => __DIR__ . '/..' . '/symfony/string/Resources/functions.php',
'72579e7bd17821bb1321b87411366eae' => __DIR__ . '/..' . '/illuminate/support/helpers.php',
);
@@ -30,17 +26,11 @@ class ComposerStaticInitfe2a84e2cd498dd89c8e792659f7a55c
),
'S' =>
array (
- 'Symfony\\Polyfill\\Php80\\' => 23,
- 'Symfony\\Polyfill\\Php73\\' => 23,
+ 'Symfony\\Polyfill\\Php83\\' => 23,
'Symfony\\Polyfill\\Mbstring\\' => 26,
- 'Symfony\\Polyfill\\Intl\\Normalizer\\' => 33,
- 'Symfony\\Polyfill\\Intl\\Grapheme\\' => 31,
- 'Symfony\\Polyfill\\Ctype\\' => 23,
'Symfony\\Contracts\\Translation\\' => 30,
- 'Symfony\\Contracts\\Service\\' => 26,
'Symfony\\Component\\Translation\\' => 30,
- 'Symfony\\Component\\String\\' => 25,
- 'Symfony\\Component\\Console\\' => 26,
+ 'Symfony\\Component\\Clock\\' => 24,
),
'P' =>
array (
@@ -65,6 +55,10 @@ class ComposerStaticInitfe2a84e2cd498dd89c8e792659f7a55c
'Carbon\\Doctrine\\' => 16,
'Carbon\\' => 7,
),
+ 'B' =>
+ array (
+ 'Brick\\Math\\' => 11,
+ ),
);
public static $prefixDirsPsr4 = array (
@@ -76,49 +70,25 @@ class ComposerStaticInitfe2a84e2cd498dd89c8e792659f7a55c
array (
0 => __DIR__ . '/../..' . '/app',
),
- 'Symfony\\Polyfill\\Php80\\' =>
+ 'Symfony\\Polyfill\\Php83\\' =>
array (
- 0 => __DIR__ . '/..' . '/symfony/polyfill-php80',
- ),
- 'Symfony\\Polyfill\\Php73\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/polyfill-php73',
+ 0 => __DIR__ . '/..' . '/symfony/polyfill-php83',
),
'Symfony\\Polyfill\\Mbstring\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/polyfill-mbstring',
),
- 'Symfony\\Polyfill\\Intl\\Normalizer\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer',
- ),
- 'Symfony\\Polyfill\\Intl\\Grapheme\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/polyfill-intl-grapheme',
- ),
- 'Symfony\\Polyfill\\Ctype\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/polyfill-ctype',
- ),
'Symfony\\Contracts\\Translation\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/translation-contracts',
),
- 'Symfony\\Contracts\\Service\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/service-contracts',
- ),
'Symfony\\Component\\Translation\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/translation',
),
- 'Symfony\\Component\\String\\' =>
+ 'Symfony\\Component\\Clock\\' =>
array (
- 0 => __DIR__ . '/..' . '/symfony/string',
- ),
- 'Symfony\\Component\\Console\\' =>
- array (
- 0 => __DIR__ . '/..' . '/symfony/console',
+ 0 => __DIR__ . '/..' . '/symfony/clock',
),
'Psr\\SimpleCache\\' =>
array (
@@ -138,7 +108,10 @@ class ComposerStaticInitfe2a84e2cd498dd89c8e792659f7a55c
),
'Illuminate\\Support\\' =>
array (
- 0 => __DIR__ . '/..' . '/illuminate/support',
+ 0 => __DIR__ . '/..' . '/illuminate/collections',
+ 1 => __DIR__ . '/..' . '/illuminate/conditionable',
+ 2 => __DIR__ . '/..' . '/illuminate/macroable',
+ 3 => __DIR__ . '/..' . '/illuminate/support',
),
'Illuminate\\Database\\' =>
array (
@@ -164,17 +137,25 @@ class ComposerStaticInitfe2a84e2cd498dd89c8e792659f7a55c
array (
0 => __DIR__ . '/..' . '/nesbot/carbon/src/Carbon',
),
+ 'Brick\\Math\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/brick/math/src',
+ ),
);
public static $classMap = array (
- 'Attribute' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Attribute.php',
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
- 'JsonException' => __DIR__ . '/..' . '/symfony/polyfill-php73/Resources/stubs/JsonException.php',
- 'Normalizer' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php',
- 'PhpToken' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/PhpToken.php',
- 'Stringable' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Stringable.php',
- 'UnhandledMatchError' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php',
- 'ValueError' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/ValueError.php',
+ 'DateError' => __DIR__ . '/..' . '/symfony/polyfill-php83/Resources/stubs/DateError.php',
+ 'DateException' => __DIR__ . '/..' . '/symfony/polyfill-php83/Resources/stubs/DateException.php',
+ 'DateInvalidOperationException' => __DIR__ . '/..' . '/symfony/polyfill-php83/Resources/stubs/DateInvalidOperationException.php',
+ 'DateInvalidTimeZoneException' => __DIR__ . '/..' . '/symfony/polyfill-php83/Resources/stubs/DateInvalidTimeZoneException.php',
+ 'DateMalformedIntervalStringException' => __DIR__ . '/..' . '/symfony/polyfill-php83/Resources/stubs/DateMalformedIntervalStringException.php',
+ 'DateMalformedPeriodStringException' => __DIR__ . '/..' . '/symfony/polyfill-php83/Resources/stubs/DateMalformedPeriodStringException.php',
+ 'DateMalformedStringException' => __DIR__ . '/..' . '/symfony/polyfill-php83/Resources/stubs/DateMalformedStringException.php',
+ 'DateObjectError' => __DIR__ . '/..' . '/symfony/polyfill-php83/Resources/stubs/DateObjectError.php',
+ 'DateRangeError' => __DIR__ . '/..' . '/symfony/polyfill-php83/Resources/stubs/DateRangeError.php',
+ 'Override' => __DIR__ . '/..' . '/symfony/polyfill-php83/Resources/stubs/Override.php',
+ 'SQLite3Exception' => __DIR__ . '/..' . '/symfony/polyfill-php83/Resources/stubs/SQLite3Exception.php',
);
public static function getInitializer(ClassLoader $loader)
diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php
index c0e9fec..d1a2c9c 100644
--- a/vendor/composer/installed.php
+++ b/vendor/composer/installed.php
@@ -3,13 +3,22 @@
'name' => 'illuminate-example/eloquent',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '2f2310e7392f49d7373cef2a0847c49c5e217217',
+ 'reference' => '2c199f1ce1c1c8d41078cda014e5289dffb7dc13',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'dev' => true,
),
'versions' => array(
+ 'brick/math' => array(
+ 'pretty_version' => '0.12.1',
+ 'version' => '0.12.1.0',
+ 'reference' => 'f510c0a40911935b77b86859eb5223d58d660df1',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../brick/math',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
'carbonphp/carbon-doctrine-types' => array(
'pretty_version' => '3.2.0',
'version' => '3.2.0.0',
@@ -40,52 +49,79 @@
'illuminate-example/eloquent' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '2f2310e7392f49d7373cef2a0847c49c5e217217',
+ 'reference' => '2c199f1ce1c1c8d41078cda014e5289dffb7dc13',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'dev_requirement' => false,
),
+ 'illuminate/collections' => array(
+ 'pretty_version' => 'v11.14.0',
+ 'version' => '11.14.0.0',
+ 'reference' => '358fd6dcce6927ee9d7cf520fa619f4597020d52',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../illuminate/collections',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
+ 'illuminate/conditionable' => array(
+ 'pretty_version' => 'v11.14.0',
+ 'version' => '11.14.0.0',
+ 'reference' => '362dd761b9920367bca1427a902158225e9e3a23',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../illuminate/conditionable',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
'illuminate/container' => array(
- 'pretty_version' => 'v7.30.6',
- 'version' => '7.30.6.0',
- 'reference' => '06456a2ea5656c2f1ebda37039ce14c1bfc973b3',
+ 'pretty_version' => 'v11.14.0',
+ 'version' => '11.14.0.0',
+ 'reference' => '280405e0b577504b97feae0e7c7f5399816ccff1',
'type' => 'library',
'install_path' => __DIR__ . '/../illuminate/container',
'aliases' => array(),
'dev_requirement' => false,
),
'illuminate/contracts' => array(
- 'pretty_version' => 'v7.30.6',
- 'version' => '7.30.6.0',
- 'reference' => '2449f2ea949ddf995a3dcffe5e21c768cf7d6478',
+ 'pretty_version' => 'v11.14.0',
+ 'version' => '11.14.0.0',
+ 'reference' => 'eb8ccfbc5905c5631712d157cccdd7bc9db692e0',
'type' => 'library',
'install_path' => __DIR__ . '/../illuminate/contracts',
'aliases' => array(),
'dev_requirement' => false,
),
'illuminate/database' => array(
- 'pretty_version' => 'v7.30.6',
- 'version' => '7.30.6.0',
- 'reference' => 'e26b023f23c08968950470189e108e30f2e3b7ba',
+ 'pretty_version' => 'v11.14.0',
+ 'version' => '11.14.0.0',
+ 'reference' => '6576f6fcc871a6ad173b6e246e8d2c63cd7cfe1a',
'type' => 'library',
'install_path' => __DIR__ . '/../illuminate/database',
'aliases' => array(),
'dev_requirement' => false,
),
+ 'illuminate/macroable' => array(
+ 'pretty_version' => 'v11.14.0',
+ 'version' => '11.14.0.0',
+ 'reference' => 'e1cb9e51b9ed5d3c9bc1ab431d0a52fe42a990ed',
+ 'type' => 'library',
+ 'install_path' => __DIR__ . '/../illuminate/macroable',
+ 'aliases' => array(),
+ 'dev_requirement' => false,
+ ),
'illuminate/support' => array(
- 'pretty_version' => 'v7.30.6',
- 'version' => '7.30.6.0',
- 'reference' => 'c7b42acd009c94a3f8b749a65f6835db90174d58',
+ 'pretty_version' => 'v11.14.0',
+ 'version' => '11.14.0.0',
+ 'reference' => 'a8f299ed76d52fc048decada3571628e65fa5c41',
'type' => 'library',
'install_path' => __DIR__ . '/../illuminate/support',
'aliases' => array(),
'dev_requirement' => false,
),
'nesbot/carbon' => array(
- 'pretty_version' => '2.72.5',
- 'version' => '2.72.5.0',
- 'reference' => 'afd46589c216118ecd48ff2b95d77596af1e57ed',
+ 'pretty_version' => '3.6.0',
+ 'version' => '3.6.0.0',
+ 'reference' => '39c8ef752db6865717cc3fba63970c16f057982c',
'type' => 'library',
'install_path' => __DIR__ . '/../nesbot/carbon',
'aliases' => array(),
@@ -107,9 +143,9 @@
),
),
'psr/container' => array(
- 'pretty_version' => '1.1.2',
- 'version' => '1.1.2.0',
- 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea',
+ 'pretty_version' => '2.0.2',
+ 'version' => '2.0.2.0',
+ 'reference' => 'c71ecc56dfe541dbd90c5360474fbc405f8d5963',
'type' => 'library',
'install_path' => __DIR__ . '/../psr/container',
'aliases' => array(),
@@ -118,66 +154,30 @@
'psr/container-implementation' => array(
'dev_requirement' => false,
'provided' => array(
- 0 => '1.0',
- ),
- ),
- 'psr/log-implementation' => array(
- 'dev_requirement' => false,
- 'provided' => array(
- 0 => '1.0|2.0',
+ 0 => '1.1|2.0',
),
),
'psr/simple-cache' => array(
- 'pretty_version' => '1.0.1',
- 'version' => '1.0.1.0',
- 'reference' => '408d5eafb83c57f6365a3ca330ff23aa4a5fa39b',
+ 'pretty_version' => '3.0.0',
+ 'version' => '3.0.0.0',
+ 'reference' => '764e0b3939f5ca87cb904f570ef9be2d78a07865',
'type' => 'library',
'install_path' => __DIR__ . '/../psr/simple-cache',
'aliases' => array(),
'dev_requirement' => false,
),
- 'symfony/console' => array(
- 'pretty_version' => 'v5.4.41',
- 'version' => '5.4.41.0',
- 'reference' => '6473d441a913cb997123b59ff2dbe3d1cf9e11ba',
- 'type' => 'library',
- 'install_path' => __DIR__ . '/../symfony/console',
- 'aliases' => array(),
+ 'spatie/once' => array(
'dev_requirement' => false,
+ 'replaced' => array(
+ 0 => '*',
+ ),
),
- 'symfony/deprecation-contracts' => array(
- 'pretty_version' => 'v3.5.0',
- 'version' => '3.5.0.0',
- 'reference' => '0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1',
+ 'symfony/clock' => array(
+ 'pretty_version' => 'v7.1.1',
+ 'version' => '7.1.1.0',
+ 'reference' => '3dfc8b084853586de51dd1441c6242c76a28cbe7',
'type' => 'library',
- 'install_path' => __DIR__ . '/../symfony/deprecation-contracts',
- 'aliases' => array(),
- 'dev_requirement' => false,
- ),
- 'symfony/polyfill-ctype' => array(
- 'pretty_version' => 'v1.30.0',
- 'version' => '1.30.0.0',
- 'reference' => '0424dff1c58f028c451efff2045f5d92410bd540',
- 'type' => 'library',
- 'install_path' => __DIR__ . '/../symfony/polyfill-ctype',
- 'aliases' => array(),
- 'dev_requirement' => false,
- ),
- 'symfony/polyfill-intl-grapheme' => array(
- 'pretty_version' => 'v1.30.0',
- 'version' => '1.30.0.0',
- 'reference' => '64647a7c30b2283f5d49b874d84a18fc22054b7a',
- 'type' => 'library',
- 'install_path' => __DIR__ . '/../symfony/polyfill-intl-grapheme',
- 'aliases' => array(),
- 'dev_requirement' => false,
- ),
- 'symfony/polyfill-intl-normalizer' => array(
- 'pretty_version' => 'v1.30.0',
- 'version' => '1.30.0.0',
- 'reference' => 'a95281b0be0d9ab48050ebd988b967875cdb9fdb',
- 'type' => 'library',
- 'install_path' => __DIR__ . '/../symfony/polyfill-intl-normalizer',
+ 'install_path' => __DIR__ . '/../symfony/clock',
'aliases' => array(),
'dev_requirement' => false,
),
@@ -190,46 +190,19 @@
'aliases' => array(),
'dev_requirement' => false,
),
- 'symfony/polyfill-php73' => array(
+ 'symfony/polyfill-php83' => array(
'pretty_version' => 'v1.30.0',
'version' => '1.30.0.0',
- 'reference' => 'ec444d3f3f6505bb28d11afa41e75faadebc10a1',
+ 'reference' => 'dbdcdf1a4dcc2743591f1079d0c35ab1e2dcbbc9',
'type' => 'library',
- 'install_path' => __DIR__ . '/../symfony/polyfill-php73',
- 'aliases' => array(),
- 'dev_requirement' => false,
- ),
- 'symfony/polyfill-php80' => array(
- 'pretty_version' => 'v1.30.0',
- 'version' => '1.30.0.0',
- 'reference' => '77fa7995ac1b21ab60769b7323d600a991a90433',
- 'type' => 'library',
- 'install_path' => __DIR__ . '/../symfony/polyfill-php80',
- 'aliases' => array(),
- 'dev_requirement' => false,
- ),
- 'symfony/service-contracts' => array(
- 'pretty_version' => 'v3.5.0',
- 'version' => '3.5.0.0',
- 'reference' => 'bd1d9e59a81d8fa4acdcea3f617c581f7475a80f',
- 'type' => 'library',
- 'install_path' => __DIR__ . '/../symfony/service-contracts',
- 'aliases' => array(),
- 'dev_requirement' => false,
- ),
- 'symfony/string' => array(
- 'pretty_version' => 'v6.4.9',
- 'version' => '6.4.9.0',
- 'reference' => '76792dbd99690a5ebef8050d9206c60c59e681d7',
- 'type' => 'library',
- 'install_path' => __DIR__ . '/../symfony/string',
+ 'install_path' => __DIR__ . '/../symfony/polyfill-php83',
'aliases' => array(),
'dev_requirement' => false,
),
'symfony/translation' => array(
- 'pretty_version' => 'v6.4.8',
- 'version' => '6.4.8.0',
- 'reference' => 'a002933b13989fc4bd0b58e04bf7eec5210e438a',
+ 'pretty_version' => 'v7.1.1',
+ 'version' => '7.1.1.0',
+ 'reference' => 'cf5ae136e124fc7681b34ce9fac9d5b9ae8ceee3',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/translation',
'aliases' => array(),
@@ -251,9 +224,9 @@
),
),
'voku/portable-ascii' => array(
- 'pretty_version' => '1.6.1',
- 'version' => '1.6.1.0',
- 'reference' => '87337c91b9dfacee02452244ee14ab3c43bc485a',
+ 'pretty_version' => '2.0.1',
+ 'version' => '2.0.1.0',
+ 'reference' => 'b56450eed252f6801410d810c8e1727224ae0743',
'type' => 'library',
'install_path' => __DIR__ . '/../voku/portable-ascii',
'aliases' => array(),