Skip to content

Commit 08bceb1

Browse files
committed
Add badge swag
1 parent 9ada77a commit 08bceb1

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# gettext-context
22
Implementation of context functions for the PHP gettext extension
33

4+
![Packagist Version](https://img.shields.io/packagist/v/datalinx/gettext-context)
5+
![Packagist PHP Version Support](https://img.shields.io/packagist/php-v/datalinx/gettext-context)
46
![Coverage 100%](assets/coverage.svg)
7+
![Packagist License](https://img.shields.io/packagist/l/datalinx/gettext-context)
8+
![Packagist Downloads](https://img.shields.io/packagist/dt/datalinx/gettext-context)
59

610
## About
711
PHP still lacks full support for gettext, because it does not implement the context functions.
@@ -20,10 +24,12 @@ It can be used on lower versions of PHP, but you won't be able to install it wit
2024
\* It's not added to the `autoload` directive, since you might not need or want to always include it in runtime. If you want to always load it, just add the source file to your `composer.json` autoload files list:
2125

2226
```json
23-
"autoload": {
24-
"files": [
25-
"vendor/datalinx/gettext-context/src/gettext-context.php"
26-
]
27+
{
28+
"autoload": {
29+
"files": [
30+
"vendor/datalinx/gettext-context/src/gettext-context.php"
31+
]
32+
}
2733
}
2834
```
2935

0 commit comments

Comments
 (0)