Skip to content
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.

Commit

Permalink
updated Composer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaishiyoku committed Nov 14, 2020
1 parent 2410583 commit 918cd86
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 23 deletions.
38 changes: 19 additions & 19 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,44 +8,44 @@
"php": "^7.3",
"ext-json": "*",
"ext-pdo": "*",
"bensampo/laravel-enum": "3.0.0",
"bensampo/laravel-enum": "3.1.0",
"davejamesmiller/laravel-breadcrumbs": "5.3.2",
"doctrine/dbal": "2.11.0",
"fideloper/proxy": "4.4.0",
"fruitcake/laravel-cors": "2.0.2",
"doctrine/dbal": "2.12.0",
"fideloper/proxy": "4.4.1",
"fruitcake/laravel-cors": "2.0.3",
"glorand/laravel-model-settings": "4.0.0",
"guzzlehttp/guzzle": "7.1.0",
"guzzlehttp/guzzle": "7.2.0",
"kaishiyoku/hera-rss-crawler": "0.8.0",
"kaishiyoku/laravel-cli-create-user": "2.4.1",
"kaishiyoku/laravel-cli-create-user": "3.1.0",
"kaishiyoku/laravel-color-validation": "1.5.0",
"kaishiyoku/laravel-menu": "4.5.2",
"kaishiyoku/laravel-recharts": "0.6.0",
"kaishiyoku/laravel-recharts": "0.7.2",
"khill/php-duration": "1.0.6",
"laracasts/flash": "3.2",
"laravel/framework": "8.6.0",
"laravel/helpers": "1.3.0",
"laravel/horizon": "5.1.0",
"laravel/tinker": "2.4.2",
"laravel/ui": "3.0.0",
"laravel/framework": "8.14.0",
"laravel/helpers": "1.4.0",
"laravel/horizon": "5.4.0",
"laravel/tinker": "2.5.0",
"laravel/ui": "3.1.0",
"laravelcollective/html": "6.2.0",
"pda/pheanstalk": "4.0.2",
"pda/pheanstalk": "4.0.3",
"predis/predis": "1.1.6",
"ramsey/uuid": "4.1.1",
"sentry/sentry-laravel": "1.9.0",
"sentry/sentry-laravel": "2.2.0",
"spatie/flysystem-dropbox": "1.2.2",
"spatie/laravel-backup": "6.11.2",
"spatie/laravel-backup": "6.11.6",
"watson/rememberable": "5.0.0",
"yab/laravel-scout-mysql-driver": "3.0.0"
},
"require-dev": {
"barryvdh/laravel-debugbar": "3.5.1",
"barryvdh/laravel-ide-helper": "2.8.1",
"facade/ignition": "2.3.7",
"facade/ignition": "2.5.1",
"fzaninotto/faker": "1.9.1",
"mockery/mockery": "1.4.2",
"nunomaduro/collision": "5.0.2",
"nunomaduro/larastan": "0.6.4",
"phpunit/phpunit": "^9.0"
"nunomaduro/collision": "5.1.0",
"nunomaduro/larastan": "0.6.9",
"phpunit/phpunit": "^9.3"
},
"autoload": {
"psr-4": {
Expand Down
14 changes: 10 additions & 4 deletions config/createuser.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
use Ramsey\Uuid\Uuid;

return [

/*
* Whether or not the Opis Closure serialization is enabled
*/
'enable_serialization' => true,

/*
* The class name of the user model to be used.
*/
Expand All @@ -26,9 +32,9 @@
'password' => [
'validation_rules' => 'string|min:6',
'secret' => true,
'modifier_fn' => function ($value) {
'modifier_fn' => \Opis\Closure\serialize(function ($value) {
return Hash::make($value);
},
}),
],
'is_active' => [
'validation_rules' => 'boolean',
Expand All @@ -42,11 +48,11 @@
],
],

'post_creation_fn' => function (\App\Models\User $user) {
'post_creation_fn' => \Opis\Closure\serialize(function ($user) {
$user->api_token = Uuid::uuid4();
$user->save();

return \App\Http\Controllers\Auth\RegisterController::createDefaultCategory($user);
},
}),

];

0 comments on commit 918cd86

Please sign in to comment.