No explanation for app/Models
directory in v8?
#40142
-
Hi, I'm recently upgrading my Laravel app from v7 to v8, and I noticed that the scaffolding now contains the What is worse is that that when I moved model class files into |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
If I'm not mistaken, there's no reason to change anything. I think the "make:model" command will check to see if you have an "app/models" directory, and if so, it will place models there, otherwise it will place them in the "app" directory as in previous versions. I assume there was no reason to mention in the upgrade guide since it's not necessary to change anything. |
Beta Was this translation helpful? Give feedback.
If I'm not mistaken, there's no reason to change anything. I think the "make:model" command will check to see if you have an "app/models" directory, and if so, it will place models there, otherwise it will place them in the "app" directory as in previous versions.
I assume there was no reason to mention in the upgrade guide since it's not necessary to change anything.