ask a question about Laravel parsing, or Nginx parsing path. first of all, let s talk about the source of the problem. Since we are recently working on a laravel-based directory indexing program, one of the requirements is to show the file at the end o...
I am currently working on a web site based on php + mariadb , but recently I want to change the web site to laravel traffic , but it is impossible to achieve it in the short term. so I want to ask the great gods how can I change the code to achieve t...
public function roles() { return $this->hasOne( App Models Role )->where( type ,$this->type); } $this- > type can t get any value? Why is that? The value of $this- > attributes is also an empty array. Why? ...
learn to see a table corresponding to a model but if I have a lot of tables make the corresponding multi-model, of course, also OK but I basically do the same thing on every model can I use one model for multiple tables? is it possible to comm...