From 3576ed698db1213a5b56afb09edea4e1e3381fd1 Mon Sep 17 00:00:00 2001 From: Mohamed Said Date: Mon, 4 Jul 2016 20:45:04 +0200 Subject: [PATCH] update docs --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index d82539f..46c4066 100644 --- a/README.md +++ b/README.md @@ -146,6 +146,14 @@ php artisan langman:remove package::users.name It'll remove that key from all language files. +### Renaming a key + +``` +php artisan langman:rename users.name full_name +``` + +This will rename `users.name` to be `users.full_name`, the console will output a list of files where the key used to exist. + ## Notes `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.