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

Can only be run by console #31

Closed
gramos0327 opened this issue Apr 29, 2020 · 2 comments
Closed

Can only be run by console #31

gramos0327 opened this issue Apr 29, 2020 · 2 comments

Comments

@gramos0327
Copy link

It is possible that the command can be executed directly in a controller?

Example:

Artisan::call('laracrud:model Test');

When running from a controller:
The command "laracrud:model" does not exist.

@digitaldreams
Copy link
Owner

It's a command line tool. Command will be registered via ServiceProvider class when application run in console.

@gramos0327
Copy link
Author

Thank you.

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

2 participants