Skip to content

Commit

Permalink
Merge pull request #15 from CodeMonkeysRu/cleanup
Browse files Browse the repository at this point in the history
Dropped php5.5 support, added ci checks for tests and cs
  • Loading branch information
iVariable authored Jan 8, 2017
2 parents ea58c8f + 3187063 commit c32e240
Show file tree
Hide file tree
Showing 12 changed files with 1,499 additions and 63 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
nbproject
.idea
vendor
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
language: php
php:
- "5.6"
- "7.0"
- "7.1"
install: composer install
script:
- vendor/bin/phpunit
- vendor/bin/phpcs --standard=PSR2 library/ tests/
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
Google Cloud Messaging (GCM) PHP Server Library
--------------------------------------------

A PHP library for sending messages to devices registered through Google Cloud Messaging.
A PHP library for sending messages to devices registered through Google Cloud Messaging
[![Build Status](https://travis-ci.org/CodeMonkeysRu/GCMMessage.svg?branch=master)](https://travis-ci.org/CodeMonkeysRu/GCMMessage)

See:
http://developer.android.com/guide/google/gcm/index.html
Expand Down Expand Up @@ -131,6 +132,7 @@ $sender = new GCM\Sender("YOUR GOOGLE API KEY", false, "/path/to/cacert.crt");

ChangeLog
----------------------
* v0.4 - Code cleanup, PHP5.5 support dropped
* v0.3 - Content-available added (https://github.com/CodeMonkeysRu/GCMMessage/pull/11)
* v0.2 - Notifications added
* v0.1 - Initial release
Expand Down
52 changes: 30 additions & 22 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,32 @@
{
"name": "codemonkeys-ru/gcm-message",
"type": "library",
"description": "Google Cloud Messaging (GCM) PHP Server Library",
"keywords": ["GCM", "push message", "android"],
"authors": [
{
"name": "Vladimir Savenkov",
"email": "[email protected]",
"homepage": "http://ivariable.ru",
"role": "Developer"
}
],
"license": "MIT",
"require": {
"php": ">=5.3.2"
},
"minimum-stability": "dev",
"autoload": {
"psr-0": {
"CodeMonkeysRu\\GCM": "library/"
}
}
"name": "codemonkeys-ru/gcm-message",
"minimum-stability": "stable",
"type": "library",
"description": "Google Cloud Messaging (GCM) PHP Server Library",
"keywords": [
"GCM",
"push message",
"android"
],
"authors": [
{
"name": "Vladimir Savenkov",
"email": "[email protected]",
"homepage": "https://github.com/iVariable",
"role": "Maintainer"
}
],
"license": "MIT",
"autoload": {
"psr-0": {
"CodeMonkeysRu\\GCM": "library/"
}
},
"require": {
"php": ">=5.6"
},
"require-dev": {
"squizlabs/php_codesniffer": "2.*",
"phpunit/phpunit": "5.7.*"
}
}
Loading

0 comments on commit c32e240

Please sign in to comment.