Skip to content

Commit eb0f3f9

Browse files
authored
Update README.md
1 parent d432cc3 commit eb0f3f9

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

README.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@
2222

2323
* [ISO Standards](#iso-standards)
2424
* [Installation](#installation)
25-
* [Installation modes](#installation-modes)
26-
* [Libraries with included database update](#libraries-with-included-database-update)
27-
* [Library with manual database update](#library-with-manual-database-update)
2825
* [Translation drivers](#translation-drivers)
2926
* [Gettext extension driver](#gettext-extension-driver)
3027
* [Locale configuration](#locale-configuration)
@@ -51,22 +48,17 @@
5148

5249
## Installation
5350

54-
* [Installation models](#installation-models)
55-
* [Libraries with included database update](#libraries-with-included-database-update)
56-
* [Library with manual database update](#library-with-manual-database-update)
57-
58-
### Installation modes
59-
6051
You may use this library in different modes:
52+
6153
* `sokil/php-isocodes` (this library) - install library without database and messages and setup
62-
periodic updates of database and messages bt yourself with cron or inside CI/CD pipeline with `./bin/update_iso_codes_db.sh`
54+
periodic updates of database and messages by yourself with cron or inside CI/CD pipeline with `./bin/update_iso_codes_db.sh`
6355
* [sokil/php-isocodes-db-only](https://github.com/sokil/php-isocodes-db-only) - if you do not need internationalisation, use
6456
this library. Database already inside. To update database just periodically update this library.
6557
* [sokil/php-isocodes-db-i18n](https://github.com/sokil/php-isocodes-db-i18n) - if you need internationalisation, use
6658
this library. Database and messages already inside. To update database
6759
just periodically update this library.
6860

69-
### Libraries with included database update
61+
### Library with included database and localization
7062

7163
To install [library with database and i18n](https://github.com/sokil/php-isocodes-db-i18n):
7264

@@ -78,6 +70,8 @@ To install [library with database and i18n](https://github.com/sokil/php-isocode
7870
composer require sokil/php-isocodes-db-i18n
7971
```
8072

73+
### Library with included database and without localization
74+
8175
You may also install [library with only database](https://github.com/sokil/php-isocodes-db-only) (no i18n will be available):
8276

8377
[![Latest Stable Version](https://poser.pugx.org/sokil/php-isocodes-db-only/v/stable.png)](https://packagist.org/packages/sokil/php-isocodes-db-only)
@@ -88,17 +82,18 @@ You may also install [library with only database](https://github.com/sokil/php-i
8882
composer require sokil/php-isocodes-db-only
8983
```
9084

91-
### Library with manual database update
85+
### Library without database and localization, requires manual database installation and updates
9286

9387
You can install library through Composer:
88+
9489
```
9590
composer require sokil/php-isocodes
9691
```
9792

9893
Database and gettext files located in related packages inside `databases` and `messages` directories.
9994
This packages periodically updated with package version increment.
10095

101-
If you want to update database more often, use script `./bin/update_iso_codes_db.sh`.
96+
If you want to update database, use script `./bin/update_iso_codes_db.sh`.
10297
Call this script by cron, during deploy process or when build your docker image.
10398

10499
```

0 commit comments

Comments
 (0)