-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4cf8d25
commit 6c4d917
Showing
3 changed files
with
41 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
language: php | ||
|
||
php: | ||
- 5.3 | ||
- 5.4 | ||
- 7.0 | ||
- 7.1 | ||
|
||
before_install: | ||
- composer self-update | ||
|
||
install: | ||
- composer install --quiet --no-interaction --prefer-dist | ||
- composer dumpautoload -o | ||
|
||
script: | ||
- vendor/bin/phpunit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# gravatar-php | ||
|
||
![Travis CI](https://travis-ci.org/sveneisenschmidt/gravatar-php.svg?branch=master) [![Latest Stable Version](https://poser.pugx.org/se/gravatar-php/v/stable)](https://packagist.org/packages/se/gravatar-php) [![Total Downloads](https://poser.pugx.org/se/gravatar-php/downloads)](https://packagist.org/packages/se/gravatar-php) [![Latest Unstable Version](https://poser.pugx.org/se/gravatar-php/v/unstable)](https://packagist.org/packages/se/gravatar-php) [![License](https://poser.pugx.org/se/gravatar-php/license)](https://packagist.org/packages/se/gravatar-php) | ||
|
||
## Installation | ||
|
||
#### Inside your composer-powered project | ||
```bash | ||
composer require se/gravatar-php | ||
composer install | ||
``` | ||
|
||
## Tests | ||
|
||
```bash | ||
vendor/bin/phpunit | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,28 @@ | ||
{ | ||
"name": "se/gravatar-php", | ||
"description": "PHP 5.3 Library for Gravatar (gravatar.com)", | ||
"description": "PHP library for generating Gravatar urls (gravatar.com)", | ||
"keywords": ["gravatar"], | ||
"homepage": "https://github.com/sveneisenschmidt/gravatar-php", | ||
"type": "library", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Sven Eisenschmidt", | ||
"email": "[email protected]" | ||
} | ||
{ | ||
"name": "Sven Eisenschmidt", | ||
"email": "[email protected]" | ||
}, | ||
{ | ||
"name": "Michael Heap", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"autoload": { | ||
"psr-0": { | ||
"Gravatar": "src" | ||
} | ||
}, | ||
"require": { | ||
"php": "^7.0" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^4.8", | ||
"twig/twig": "^2.4" | ||
|