Skip to content

Wrong Model Namespace on executing the transformer command #194

@SachinBahukhandi

Description

@SachinBahukhandi

Hi,
Upon generating the Transformer using the command:

php artisan make:transformer UserTransformer

I could see in the documentation that:

assume the models live directly in the app folder

But Going as per Laravel's documentation:

https://laravel.com/docs/8.x/eloquent#generating-model-classes

The directory is: app\Models.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions