mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 20:17:24 +08:00
update laravel to v12 and filament to v3.3
This commit is contained in:
+8
-10
@@ -19,7 +19,7 @@
|
||||
"files": []
|
||||
},
|
||||
"require": {
|
||||
"php": "^8.2",
|
||||
"php": ">=8.2 <8.5",
|
||||
"ext-bcmath": "*",
|
||||
"ext-curl": "*",
|
||||
"ext-gd": "*",
|
||||
@@ -36,13 +36,13 @@
|
||||
"ext-zip": "*",
|
||||
"calebporzio/sushi": "^2.5",
|
||||
"elasticsearch/elasticsearch": "^7.16",
|
||||
"filament/filament": "^3.2",
|
||||
"flowframe/laravel-trend": "^0.3",
|
||||
"filament/filament": "^3.3",
|
||||
"flowframe/laravel-trend": "^0.4",
|
||||
"geoip2/geoip2": "~2.0",
|
||||
"google/auth": "1.44.0",
|
||||
"imdbphp/imdbphp": "^8.0",
|
||||
"irazasyed/telegram-bot-sdk": "^3.11",
|
||||
"laravel/framework": "^11.0",
|
||||
"laravel/framework": "^12.0",
|
||||
"laravel/passport": "^12.0",
|
||||
"laravel/sanctum": "^4.0",
|
||||
"laravel/tinker": "^2.5",
|
||||
@@ -55,15 +55,13 @@
|
||||
"stichoza/google-translate-php": "^5.2"
|
||||
},
|
||||
"require-dev": {
|
||||
"crowdin/crowdin-api-client": "^1.18",
|
||||
"fakerphp/faker": "^1.9.1",
|
||||
"fakerphp/faker": "^1.23",
|
||||
"kitloong/laravel-migrations-generator": "^7.0",
|
||||
"laravel-lang/lang": "^15.10",
|
||||
"laravel-lang/publisher": "^16.0",
|
||||
"mockery/mockery": "^1.4.2",
|
||||
"nunomaduro/collision": "^8.1",
|
||||
"phpunit/phpunit": "^10.0",
|
||||
"spatie/laravel-ignition": "^2.0"
|
||||
"mockery/mockery": "^1.6",
|
||||
"nunomaduro/collision": "^8.6",
|
||||
"phpunit/phpunit": "^11.0"
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
|
||||
Generated
+1023
-1408
File diff suppressed because it is too large
Load Diff
@@ -1327,7 +1327,7 @@ function get_snatch_info($torrentId, $userId)
|
||||
/**
|
||||
* 完整的 Laravel 事件, 在 php 端有监听者的需要触发. 同样会执行 publish_model_event()
|
||||
*/
|
||||
function fire_event(string $name, \Illuminate\Database\Eloquent\Model $model, \Illuminate\Database\Eloquent\Model $oldModel = null): void
|
||||
function fire_event(string $name, \Illuminate\Database\Eloquent\Model $model, ?\Illuminate\Database\Eloquent\Model $oldModel = null): void
|
||||
{
|
||||
if (!isset(\App\Enums\ModelEventEnum::$eventMaps[$name])) {
|
||||
throw new \InvalidArgumentException("Event $name is not a valid event enumeration");
|
||||
|
||||
@@ -128,6 +128,7 @@ return array (
|
||||
'login_secret_lifetime' => '10',
|
||||
'login_secret_deadline' => '2021-02-03 18:55:46',
|
||||
'login_secret' => '8e19c6a796602bda113fb2f5bc9da2b0',
|
||||
'use_challenge_response_authentication' =>'yes',
|
||||
),
|
||||
'authority' =>
|
||||
array (
|
||||
@@ -454,4 +455,7 @@ return array (
|
||||
'is_invite_pre_email_and_username' => 'No',
|
||||
'access_admin_class_min' => User::CLASS_ADMINISTRATOR,
|
||||
],
|
||||
'permission' => [
|
||||
'user_token_allowed' => \App\Repositories\TokenRepository::listUserTokenPermissions(false),
|
||||
],
|
||||
);
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+2
-2
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+12
-12
File diff suppressed because one or more lines are too long
+29
-29
File diff suppressed because one or more lines are too long
+29
-29
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
function i({state:a,splitKeys:n}){return{newTag:"",state:a,createTag:function(){if(this.newTag=this.newTag.trim(),this.newTag!==""){if(this.state.includes(this.newTag)){this.newTag="";return}this.state.push(this.newTag),this.newTag=""}},deleteTag:function(t){this.state=this.state.filter(e=>e!==t)},reorderTags:function(t){let e=this.state.splice(t.oldIndex,1)[0];this.state.splice(t.newIndex,0,e),this.state=[...this.state]},input:{["x-on:blur"]:"createTag()",["x-model"]:"newTag",["x-on:keydown"](t){["Enter",...n].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.createTag())},["x-on:paste"](){this.$nextTick(()=>{if(n.length===0){this.createTag();return}let t=n.map(e=>e.replace(/[/\-\\^$*+?.()|[\]{}]/g,"\\$&")).join("|");this.newTag.split(new RegExp(t,"g")).forEach(e=>{this.newTag=e,this.createTag()})})}}}}export{i as default};
|
||||
function i({state:a,splitKeys:n}){return{newTag:"",state:a,createTag:function(){if(this.newTag=this.newTag.trim(),this.newTag!==""){if(this.state.includes(this.newTag)){this.newTag="";return}this.state.push(this.newTag),this.newTag=""}},deleteTag:function(t){this.state=this.state.filter(e=>e!==t)},reorderTags:function(t){let e=this.state.splice(t.oldIndex,1)[0];this.state.splice(t.newIndex,0,e),this.state=[...this.state]},input:{"x-on:blur":"createTag()","x-model":"newTag","x-on:keydown"(t){["Enter",...n].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.createTag())},"x-on:paste"(){this.$nextTick(()=>{if(n.length===0){this.createTag();return}let t=n.map(e=>e.replace(/[/\-\\^$*+?.()|[\]{}]/g,"\\$&")).join("|");this.newTag.split(new RegExp(t,"g")).forEach(e=>{this.newTag=e,this.createTag()})})}}}}export{i as default};
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+6
-6
File diff suppressed because one or more lines are too long
+3
-3
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user