Skip to content

Commit

Permalink
Merge pull request #37 from vinkla/attributes
Browse files Browse the repository at this point in the history
Add .gitattributes file
  • Loading branch information
Spomky committed Nov 15, 2015
2 parents e350134 + ce222ca commit afee0b2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
* text=auto

/doc export-ignore
/tests export-ignore
/.coveralls.yml export-ignore
/.scrutinizer.yml export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.travis.yml export-ignore
/phpunit.xml.dist export-ignore
/README.md export-ignore
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ It has been successfully tested using `PHP 5.5.9`, `PHP 5.6`, `PHP 7` and `HHVM`
The preferred way to install this library is to rely on Composer:

```sh
composer require "spomky-labs/otphp" "~6.0.0"
composer require spomky-labs/otphp
```

Install and exclude non-essential files for production:

```sh
composer require spomky-labs/otphp --prefer-dist
```

## TOTP or HOTP?
Expand All @@ -53,7 +59,7 @@ use OTPHP\TOTP;
$totp = new TOTP();
```

or
or

```php
use OTPHP\HOTP;
Expand Down

0 comments on commit afee0b2

Please sign in to comment.