Skip to content

Commit

Permalink
edit changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Dec 28, 2017
1 parent 97aa8e9 commit 5c075d3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@

All notable changes to `ssl-certificate` will be documented in this file

## 1.12.0 - 2017-12-28

- add `getFingerprint()`

## 1.11.7 - 2017-11-08

- fixes for `containsDomain`: add literal and wildcard match for domains
- fixes for `containsDomain`: add literal and wildcard match for domains

## 1.11.6 - 2017-11-01

Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ $certificate->getAdditionalDomains(); // returns ["spatie.be", "www.spatie.be]

A domain name return with this method can start with `*` meaning it is valid for all subdomains of that domain.

### Getting the fingerprint

```php
$this->certificate->getFingerprint(); // returns a fingerprint for the certificate
```

### Getting the date when the certificate becomes valid

```php
Expand All @@ -100,6 +106,8 @@ $this->certificate->validFromDate(); // returns an instance of Carbon
$this->certificate->expirationDate(); // returns an instance of Carbon
```



### Determining if the certificate is still valid

Returns true if the current Date and time is between `validFromDate` and `expirationDate`.
Expand Down Expand Up @@ -166,7 +174,7 @@ The helper functions and tests were copied from the [Laravel Framework](https://

Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects [on our website](https://spatie.be/opensource).

Does your business depend on our contributions? Reach out and support us on [Patreon](https://www.patreon.com/spatie).
Does your business depend on our contributions? Reach out and support us on [Patreon](https://www.patreon.com/spatie).
All pledges will be dedicated to allocating workforce on maintenance and new awesome stuff.

## License
Expand Down

0 comments on commit 5c075d3

Please sign in to comment.