Support the ongoing development of Laravel.io →
posted 8 years ago
Eloquent
Last updated 2 years ago.
0

You have to tell it where to place the new class, ie.

php artisan make:model models/your-model-name
0

its the 4.2 documentation sigh

0

you need to add the model folder to the command...

0

jay4yam said:

you need to add the model folder to the command...

true, but standard its just right in the app folder, while the docs said there was a models folder, but i was looking at the 4.2 docs... i'm following the standards and let my models in the app folder itself...

Last updated 8 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

BartHuis barthuis Joined 19 May 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.