Skip to content

Commit 3576ed6

Browse files
committed
update docs
1 parent 8b05d92 commit 3576ed6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,14 @@ php artisan langman:remove package::users.name
146146

147147
It'll remove that key from all language files.
148148

149+
### Renaming a key
150+
151+
```
152+
php artisan langman:rename users.name full_name
153+
```
154+
155+
This will rename `users.name` to be `users.full_name`, the console will output a list of files where the key used to exist.
156+
149157
## Notes
150158

151159
`langman:sync`, `langman:missing`, `langman:trans`, and `langman:remove` will update your language files by writing them completely, meaning that any comments or special styling will be removed, so I recommend you backup your files.

0 commit comments

Comments
 (0)