Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

this dont work with php artisan app:name #25

Closed
Yorchi opened this issue Dec 26, 2015 · 3 comments
Closed

this dont work with php artisan app:name #25

Yorchi opened this issue Dec 26, 2015 · 3 comments

Comments

@Yorchi
Copy link

Yorchi commented Dec 26, 2015

rename my application and install the package, run the migrations I am having the error App\User not found, fix this good series, for those who use app: name.

Thanks

@gmsantos
Copy link

Config files affected by app:name are kind like hardcode on AppNameCommand, see:

https://github.com/laravel/framework/blob/7f62d81acb2001faafb21a32544464ebfc92476c/src/Illuminate/Foundation/Console/AppNameCommand.php

I don't thing it's a easy modification without extending this command. Also, app:name was designed to be one of the first things to do in your project.

@jonagoldman
Copy link

app:name is not supposed to modify external packages like this one.
The app namespace and user model should be configurable, related: #21

@JosephSilber
Copy link
Owner

I'm assuming you're using Laravel 5.2, which wasn't officially supported until now.

Support was just added in the 0.1.1 release. Does upgrading solve your issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants