Skip to content

Commit

Permalink
add structure files
Browse files Browse the repository at this point in the history
  • Loading branch information
youssef20000 authored and youssef20000 committed Apr 9, 2019
1 parent 2c80552 commit 10b0c8a
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 14 deletions.
44 changes: 30 additions & 14 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,33 @@
{
"name": "youssef20000/onesignal-php",
"description": "A php library to make you integrate onesignal push notification service easily in your php script",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Youssef Mahmoud",
"email": "youssef.afify122@gmail.com"
}
],
"minimum-stability": "dev",
"require": {
"php": "^7.1",
"ext-curl": "^7.1"
"name": "youssef20000/onesignal-php",
"description": "A php library to make you integrate onesignal push notification service easily in your php script",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Youssef Mahmoud",
"email": "youssef.afify122@gmail.com"
}
],
"minimum-stability": "dev",
"autoload": {
"psr-4": {
"Youssef\\OneSignal\\": "src/"
}
},
"require": {
"php": "^7.1",
"ext-curl": "^7.1",
"guzzlehttp/guzzle": "^6.2"
},
"extra": {
"laravel": {
"providers": [
"Youssef\\OneSignal\\OneSignalServiceProvider"
],
"aliases": {
"OneSignal": "Youssef\\OneSignal\\OneSignalFacade"
}
}
}
}
28 changes: 28 additions & 0 deletions src/OneSignalServiceProvider.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

namespace Youssef\OneSignal;

use Illuminate\Support\ServiceProvider;

class OneSignalServiceProvider extends ServiceProvider
{
/**
* Register services.
*
* @return void
*/
public function register()
{
//
}

/**
* Bootstrap services.
*
* @return void
*/
public function boot()
{
//
}
}

0 comments on commit 10b0c8a

Please # to comment.