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

feat: support generate types via sail and outside of docker container #27

Open
WataruNishimura opened this issue May 4, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@WataruNishimura
Copy link
Contributor

Summary

When generating, utilize sail artisan instead of php artisan outside of the Sail container to echo model JSON. Within the Docker container, we can invoke php artisan model:show if Sail is being used. However, outside the Docker container, calling artisan model:show via PHP is not possible; we need to use sail.

Could I try this issue? If it's ok, I will create PR.

Solution

  • add sail option
  • if sail option is enabled, use sail artisan instead of php artisan
@7nohe
Copy link
Owner

7nohe commented May 4, 2024

@WataruNishimura Of course! I appreciate your help.

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

No branches or pull requests

2 participants