|
1 | 1 | # deepl-php-lib
|
2 | 2 |
|
3 |
| -[](https://travis-ci.org/Baby-Markt/deepl-php-lib) |
4 |
| -[](https://packagist.org/packages/babymarkt/deepl-php-lib) |
5 |
| -[](https://packagist.org/packages/babymarkt/deepl-php-lib) |
| 3 | +[![Latest Version on Packagist][ico-version]][link-packagist] |
| 4 | +[![Software License][ico-license]](LICENSE.md) |
| 5 | +[![Build Status][ico-travis]][link-travis] |
| 6 | +[![Coverage Status][ico-scrutinizer]][link-scrutinizer] |
| 7 | +[![Quality Score][ico-code-quality]][link-code-quality] |
| 8 | +[![Total Downloads][ico-downloads]][link-downloads] |
6 | 9 |
|
7 | 10 | Simple PHP Library for DeepL API. You can translate one or multiple text strings (up to 50) per request.
|
8 | 11 |
|
9 |
| -## Installation |
| 12 | +## Install |
10 | 13 |
|
11 | 14 | Use composer if you want to use this library in your project.
|
12 | 15 |
|
@@ -46,34 +49,40 @@ foreach ($translations as $translation) {
|
46 | 49 | }
|
47 | 50 | ```
|
48 | 51 |
|
49 |
| -## Run PHPUnit Tests |
| 52 | +## Testing |
50 | 53 |
|
51 |
| -Clone the repository. |
| 54 | +Run PHPUnit Tests. |
52 | 55 |
|
53 | 56 | ```bash
|
54 |
| -git clone [email protected]:Baby-Markt/deepl-php-lib.git |
| 57 | +composer test |
55 | 58 | ```
|
56 | 59 |
|
57 |
| -Create phpunit.xml from dist file. |
| 60 | +Run Check-Style. |
58 | 61 |
|
59 | 62 | ```bash
|
60 |
| -cp phpunit.xml.dist phpunit.xml |
| 63 | +composer cs |
61 | 64 | ```
|
62 | 65 |
|
63 |
| -Install composer dependencies. |
| 66 | +## Credits |
64 | 67 |
|
65 |
| -```bash |
66 |
| -composer install |
67 |
| -``` |
| 68 | +- [arkadiusjonczek][link-author] |
| 69 | +- [All Contributors][link-contributors] |
68 | 70 |
|
69 |
| -Now, run PHPUnit Tests. |
| 71 | +## License |
70 | 72 |
|
71 |
| -```bash |
72 |
| -vendor/bin/phpunit |
73 |
| -``` |
| 73 | +The MIT License (MIT). Please see [License File](LICENSE.md) for more information. |
74 | 74 |
|
75 |
| -Or use composer. |
| 75 | +[ico-version]: https://img.shields.io/packagist/v/babymarkt/deepl-php-lib.svg?style=flat-square |
| 76 | +[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square |
| 77 | +[ico-travis]: https://img.shields.io/travis/Baby-Markt/deepl-php-lib/master.svg?style=flat-square |
| 78 | +[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/babymarkt/deepl-php-lib.svg?style=flat-square |
| 79 | +[ico-code-quality]: https://img.shields.io/scrutinizer/g/babymarkt/deepl-php-lib.svg?style=flat-square |
| 80 | +[ico-downloads]: https://img.shields.io/packagist/dt/babymarkt/deepl-php-lib.svg?style=flat-square |
76 | 81 |
|
77 |
| -```bash |
78 |
| -composer test |
79 |
| -``` |
| 82 | +[link-packagist]: https://packagist.org/packages/babymarkt/deepl-php-lib |
| 83 | +[link-travis]: https://travis-ci.org/Baby-Markt/deepl-php-lib |
| 84 | +[link-scrutinizer]: https://scrutinizer-ci.com/g/babymarkt/deepl-php-lib/code-structure |
| 85 | +[link-code-quality]: https://scrutinizer-ci.com/g/babymarkt/deepl-php-lib |
| 86 | +[link-downloads]: https://packagist.org/packages/babymarkt/deepl-php-lib |
| 87 | +[link-author]: https://github.com/arkadiusjonczek |
| 88 | +[link-contributors]: ../../contributors |
0 commit comments