skip to Main Content

403 Laravel Auth

Why does a 403 error occur when I log in and am forwarded to a route? However, if I enter the URL manually, the URL will be accessible This is a middleware role with identification 1, it should be accessible…

VIEW QUESTION

Laravel – AppModelsCardsAPI cannot use mtgsdkCard – it is not a trait

When requesting https://github.com/MagicTheGathering/mtg-sdk-php my application throws an error: AppModelsCardsAPI cannot use mtgsdkCard - it is not a trait My model: namespace AppModels; use IlluminateDatabaseEloquentFactoriesHasFactory; use IlluminateDatabaseEloquentModel; use mtgsdkCard as SDKCard; class CardsAPI extends Model { use HasFactory, SDKCard; public function…

VIEW QUESTION

Laravel – One million records Insert

How to insert a million records into the database so that the system does not hang, and then twist the message that the page does not respond $rangeNumber = collect(range($validatedDate['from'], $validatedDate['to'])); $collectData = []; foreach ($rangeNumber as $number){ $collectData []…

VIEW QUESTION
Back To Top
Search