Skip to content

Commit

Permalink
Add badges
Browse files Browse the repository at this point in the history
  • Loading branch information
faytekin committed May 30, 2022
1 parent b7acb6a commit 948f61b
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 1 deletion.
1 change: 1 addition & 0 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
preset: laravel
23 changes: 23 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
language: php

php:
- 7.4
- 8.0
- 8.1

env:
matrix:
- COMPOSER_FLAGS="--prefer-lowest"
- COMPOSER_FLAGS=""

before_script:
- travis_retry composer self-update
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source

script:
- composer validate
- composer test:coverage

after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# OneSignal Notifications Channel for Laravel

[![Latest Version on Packagist](https://img.shields.io/packagist/v/macellan/onesignal.svg?style=flat-square)](https://packagist.org/packages/macellan/onesignal)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
[![Build Status](https://img.shields.io/travis/macellan/onesignal/main.svg?style=flat-square)](https://travis-ci.org/macellan/onesignal)
[![StyleCI](https://github.styleci.io/repos/463069750/shield?branch=main)](https://github.styleci.io/repos/463069750?branch=main)
[![Quality Score](https://img.shields.io/scrutinizer/g/macellan/onesignal.svg?style=flat-square)](https://scrutinizer-ci.com/g/macellan/onesignal)
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/macellan/onesignal/main.svg?style=flat-square)](https://scrutinizer-ci.com/g/macellan/onesignal/?branch=main)
[![Total Downloads](https://img.shields.io/packagist/dt/macellan/onesignal.svg?style=flat-square)](https://packagist.org/packages/macellan/onesignal)


This package makes it easy to send push notifications using [OneSignal](https://onesignal.com/) with Laravel 8.0+ and 9.0+

This plugin sends notifications only with OneSignal Player ID.
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"scripts": {
"test": "vendor/bin/phpunit",
"check-style": "phpcs -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests",
"fix-style": "phpcbf -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests"
"fix-style": "phpcbf -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests",
"test:coverage": "phpunit --coverage-text --coverage-clover=coverage.clover"
},
"extra": {
"laravel": {
Expand Down

0 comments on commit 948f61b

Please sign in to comment.