Skip to content

Commit b21f7aa

Browse files
committed
added missing files and badges before publish the first version
1 parent 7705098 commit b21f7aa

File tree

4 files changed

+45
-1
lines changed

4 files changed

+45
-1
lines changed

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
language: php
2+
sudo: false
3+
4+
php:
5+
- 7.2
6+
- 7.3
7+
8+
before_install:
9+
- composer install
10+
11+
script:
12+
- composer test

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
6+
and this project adheres to [Semantic Versioning](http://semver.org/).
7+
8+
## 1.0.0 - 2019-11-05
9+
First version

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# JS Scanner
22

3+
[![Latest Version on Packagist][ico-version]][link-packagist]
4+
[![Software License][ico-license]](LICENSE)
5+
[![Build Status][ico-travis]][link-travis]
6+
[![Quality Score][ico-scrutinizer]][link-scrutinizer]
7+
[![Total Downloads][ico-downloads]][link-downloads]
8+
39
Created by Oscar Otero <http://oscarotero.com> <[email protected]> (MIT License)
410

511
Javascript code scanner to use with [gettext/gettext](https://github.com/php-gettext/Gettext)
@@ -37,3 +43,20 @@ foreach ($jsScanner->getTranslations() as $translations) {
3743
$generator->generateFile($translations, "locales/{$domain}.po");
3844
}
3945
```
46+
47+
---
48+
49+
Please see [CHANGELOG](CHANGELOG.md) for more information about recent changes and [CONTRIBUTING](CONTRIBUTING.md) for contributing details.
50+
51+
The MIT License (MIT). Please see [LICENSE](LICENSE) for more information.
52+
53+
[ico-version]: https://img.shields.io/packagist/v/gettext/js-scanner.svg?style=flat-square
54+
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
55+
[ico-travis]: https://img.shields.io/travis/php-gettext/JS-Scanner/master.svg?style=flat-square
56+
[ico-scrutinizer]: https://img.shields.io/scrutinizer/g/php-gettext/JS-Scanner.svg?style=flat-square
57+
[ico-downloads]: https://img.shields.io/packagist/dt/gettext/js-scanner.svg?style=flat-square
58+
59+
[link-packagist]: https://packagist.org/packages/gettext/js-scanner
60+
[link-travis]: https://travis-ci.org/php-gettext/JS-Scanner
61+
[link-scrutinizer]: https://scrutinizer-ci.com/g/php-gettext/JS-Scanner
62+
[link-downloads]: https://packagist.org/packages/gettext/js-scanner

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"require": {
2121
"php": "^7.2",
22-
"gettext/gettext": "dev-v5-dev",
22+
"gettext/gettext": "^5.0.0",
2323
"mck89/peast": "^1.9"
2424
},
2525
"require-dev": {

0 commit comments

Comments
 (0)