Skip to content

Commit 167122b

Browse files
committed
Update README.md
1 parent 3312eb8 commit 167122b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ Your module controllers (by default go into the `Http/Controllers` folder) shoul
4848
## Creating Modules
4949
To create a new module, you can use the artisan command
5050
```
51-
php artisan modules:make {id} {name} [--url={url}]
51+
php artisan modules:make {id} [{name}] [--url={url}]
5252
```
53-
Values of `id`, `name`, and `url` are strings, and the URL part is optional and will be used to generate make the
54-
URLs of the module more human friendly.
53+
Values of `id`, `name`, and `url` are strings. The name and URL parts are optional. URL will be used to generate the
54+
URLs of the module more human friendly. Name is used for human identification and readability only.
5555
5656
This command will create the basic folder structure inside the modules folder, along with the base module and a sample
5757
routes (inside `Http/routes.php`), controller (inside `Http/Controllers/`), and view (inside `Views`).

0 commit comments

Comments
 (0)