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

[Refactoring] refactor generators #37

Merged
merged 6 commits into from Dec 10, 2019
Merged

Conversation

amranidev
Copy link
Contributor

Refactor Field, model-form and base-form generators using the laravel GeneratorCommand

Why?

  1. No more of No such of file or directory error, if the directory doesn't exists, it will be created automatically.

  2. The namespaces will be customisable, it is easier to change the namespaces of the classes in the future (better than hardcoding the namespaces in the stubs).

  3. It will be easier to add more generators in the future.

  4. Commands classes look bit cleaner.

@mlantz mlantz merged commit ddac0dd into GrafiteInc:master Dec 10, 2019
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

Successfully merging this pull request may close these issues.

None yet

2 participants