@@ -131,10 +131,10 @@ php artisan vendor:publish --provider="Lukasss93\Larex\LarexServiceProvider" --t
131
131
The ` larex:export <exporter> ` command exports CSV strings to a specific location based on the selected exporter.
132
132
133
133
| Exporter | Default | Description |
134
- | ------------| --------- | ----------------------------------------------------|
135
- | laravel | Yes | Export data from CSV to Laravel localization files |
136
- | json: group | No | Export data from CSV to JSON by group |
137
- | json: lang | No | Export data from CSV to JSON by language |
134
+ | ------------| : -------: | ----------------------------------------------------|
135
+ | laravel | ✅ | Export data from CSV to Laravel localization files |
136
+ | json: group | ❌ | Export data from CSV to JSON by group |
137
+ | json: lang | ❌ | Export data from CSV to JSON by language |
138
138
139
139
##### How to create an exporter:
140
140
@@ -145,11 +145,11 @@ The `larex:export <exporter>` command exports CSV strings to a specific location
145
145
146
146
The ` larex:import <importer> ` command imports the strings of the selected importer, into the CSV.
147
147
148
- | Importer | Default | Description |
149
- | ------------| ---------| ----------------------------------------------------|
150
- | laravel | Yes | Import data from Laravel localization files to CSV |
151
- | json: group | No | Import data from JSON by group to CSV |
152
- | json: lang | No | Import data from JSON by language to CSV |
148
+ | Importer | Default | Description |
149
+ | ------------| : ---------: | ----------------------------------------------------|
150
+ | laravel | ✅ | Import data from Laravel localization files to CSV |
151
+ | json: group | ❌ | Import data from JSON by group to CSV |
152
+ | json: lang | ❌ | Import data from JSON by language to CSV |
153
153
154
154
##### How to create an importer:
155
155
@@ -162,17 +162,18 @@ Larex provides a linting system by using the `php artisan larex:lint` command to
162
162
163
163
##### Available linters:
164
164
165
- | Linter | Enabled by default | Description |
166
- | ---------------------------| --------------------| ---------------------------------------------------|
167
- | ValidHeaderLinter | Yes | Validate the header structure |
168
- | ValidLanguageCodeLinter | Yes | Validate the language codes in the header columns |
169
- | DuplicateKeyLinter | Yes | Find duplicated keys |
170
- | ConcurrentKeyLinter | Yes | Find concurrent keys |
171
- | NoValueLinter | Yes | Find missing values |
172
- | DuplicateValueLinter | Yes | Find duplicated values in the same row |
173
- | UntranslatedStringsLinter | No | Find untranslated strings |
174
- | UntranslatedStringsLinter | No | Find unused strings |
175
- | ValidHtmlValueLinter | No | Check valid html values |
165
+ | Linter | Enabled<br >by default | Description |
166
+ | ---------------------------| :---------------------:| ---------------------------------------------------|
167
+ | ValidHeaderLinter | ✅ | Validate the header structure |
168
+ | ValidLanguageCodeLinter | ✅ | Validate the language codes in the header columns |
169
+ | DuplicateKeyLinter | ✅ | Find duplicated keys |
170
+ | ConcurrentKeyLinter | ✅ | Find concurrent keys |
171
+ | NoValueLinter | ✅ | Find missing values |
172
+ | DuplicateValueLinter | ✅ | Find duplicated values in the same row |
173
+ | UntranslatedStringsLinter | ❌ | Find untranslated strings |
174
+ | UntranslatedStringsLinter | ❌ | Find unused strings |
175
+ | ValidHtmlValueLinter | ❌ | Check valid html values |
176
+ | SameParametersLinter | ❌ | Check same parameters in each language |
176
177
177
178
You can enable/disable any linter you want by comment/uncomment it inside the larex config.
178
179
@@ -193,19 +194,19 @@ composer test
193
194
194
195
## 🔰 Version Support
195
196
196
- | Larex | L5.8 | L6.x | L7.x | L8.x | L9.x |
197
- | ------------------ | ------ | ------ | ------ | ------ | ------ |
198
- | ^1.0 | ✅ | ✅ | ✅ | ✅ | ❌ |
199
- | ^1.2 | ; ^2.0 | ❌ | ✅ | ✅ | ✅ | ❌ |
200
- | ^3.0 | ❌ | ❌ | ✅ | ✅ | ❌ |
201
- | ^4.0 | ❌ | ❌ | ❌ | ✅ | ✅ |
202
-
203
- | Larex | PHP7.2 | PHP7.3 | PHP7.4 | PHP8.0 | PHP8.1 |
204
- | ------------------ | -------- | -------- | -------- | -------- | -------- |
205
- | ^1.0 | ✅ | ✅ | ✅ | ❌ | ❌ |
206
- | ^1.6 | ; ^2.0 | ❌ | ✅ | ✅ | ✅ | ✅ |
207
- | ^3.0 | ❌ | ❌ | ✅ | ✅ | ✅ |
208
- | ^4.0 | ❌ | ❌ | ❌ | ✅ | ✅ |
197
+ | Larex | L5.8 | L6.x | L7.x | L8.x | L9.x |
198
+ | : ----------------: | : ----: | : ----: | : ----: | : ----: | : ----: |
199
+ | ^1.0 | ✅ | ✅ | ✅ | ✅ | ❌ |
200
+ | ^1.2 | ; ^2.0 | ❌ | ✅ | ✅ | ✅ | ❌ |
201
+ | ^3.0 | ❌ | ❌ | ✅ | ✅ | ❌ |
202
+ | ^4.0 | ❌ | ❌ | ❌ | ✅ | ✅ |
203
+
204
+ | Larex | PHP7.2 | PHP7.3 | PHP7.4 | PHP8.0 | PHP8.1 |
205
+ | : ----------------: | : ------: | : ------: | : ------: | : ------: | : ------: |
206
+ | ^1.0 | ✅ | ✅ | ✅ | ❌ | ❌ |
207
+ | ^1.6 | ; ^2.0 | ❌ | ✅ | ✅ | ✅ | ✅ |
208
+ | ^3.0 | ❌ | ❌ | ✅ | ✅ | ✅ |
209
+ | ^4.0 | ❌ | ❌ | ❌ | ✅ | ✅ |
209
210
210
211
211
212
## 📃 Changelog
0 commit comments