We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39d0024 commit 1e92bfdCopy full SHA for 1e92bfd
README.md
@@ -52,6 +52,30 @@ The `syncLangFiles()` function is a Laravel helper provided by this package. Use
52
53
---
54
55
+### 🧠 How to Use
56
+
57
+```php
58
+// Load and sync a single translation file
59
+syncLangFiles('auth');
60
61
+// Load and sync multiple translation files
62
+syncLangFiles(['auth', 'validation', 'pagination']);
63
+```
64
65
+---
66
67
+### ✅ Supported Inputs
68
69
+The `syncLangFiles()` function supports:
70
71
+* A **string**: For a single translation file
72
+ → `syncLangFiles('auth')`
73
74
+* An **array of strings**: For multiple translation files
75
+ → `syncLangFiles(['auth', 'validation'])`
76
77
78
79
### 🧪 How It Works
80
81
Suppose you have the following language file:
0 commit comments