Skip to content

Commit

Permalink
Update README (v2) (#1477)
Browse files Browse the repository at this point in the history
  • Loading branch information
koriym committed Sep 14, 2023
1 parent cc88b23 commit 8aa11f3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://img.shields.io/travis/zircote/swagger-php/master.svg?style=flat-square)](https://travis-ci.org/zircote/swagger-php)
[![build](https://github.com/zircote/swagger-php/actions/workflows/build.yml/badge.svg?branch=2.x)](https://github.com/zircote/swagger-php/actions/workflows/build.yml)
[![Total Downloads](https://img.shields.io/packagist/dt/zircote/swagger-php.svg?style=flat-square)](https://packagist.org/packages/zircote/swagger-php)
[![License](https://img.shields.io/badge/license-Apache-blue.svg?style=flat-square)](LICENSE-2.0.txt)

Expand All @@ -16,13 +16,13 @@ Generate interactive [Swagger](http://swagger.io) documentation for your RESTful
## Installation (with [Composer](https://getcomposer.org))

```sh
composer require zircote/swagger-php
composer require zircote/swagger-php ^2
```

For cli usage from anywhere install swagger-php globally and make sure to place the `~/.composer/vendor/bin` directory in your PATH so the `swagger` executable can be located by your system.

```sh
composer global require zircote/swagger-php
composer global require zircote/swagger-php ^2
```

## Usage
Expand Down Expand Up @@ -119,5 +119,3 @@ To run both unittests and linting execute:
```bash
composer test
```

[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/zircote/swagger-php/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

0 comments on commit 8aa11f3

Please sign in to comment.