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

Details about --with-translations on create:controller #28

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions console-scaffolding.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ The `create:controller` command generates a controller, configuration and view f

php artisan create:controller Acme.Blog Posts

> Note: to keep it simple for newcomers, the controller generated view files are using static words that you may want to translate in your plugin.
> You can use the option `--with-translations` to generate those files using the core's translation keys.
> ```
> php artisan create:controller Acme.Blog Posts --with-translations
> ```

<a name="scaffold-create-formwidget"></a>
### Create a FormWidget

Expand Down