PHPackages                             my-monitor/ping-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. my-monitor/ping-sdk

ActiveLibrary

my-monitor/ping-sdk
===================

0.0.2(8y ago)014PHP

Since Jan 29Pushed 8y ago1 watchersCompare

[ Source](https://github.com/my-monitor/PingSdk)[ Packagist](https://packagist.org/packages/my-monitor/ping-sdk)[ RSS](/packages/my-monitor-ping-sdk/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

PingSdk
=======

[](#pingsdk)

this is a simple package to use uptime service in [MyMonitor/Servers-Mointor](https://google.com) project

Usage
-----

[](#usage)

to ping any service just use the PingSdkFacade class like below example

```
// $images->optimize();
\MyMonitor\PingSdk\PingSdkFacade::ping('');
```

**Note:** it will throw an HttpNotFoundException if the **Ping Key** is not valid

Installation
------------

[](#installation)

You can install this package via composer using this command:

```
composer require my-monitor/ping-sdk

```

then in `app.php` provideres array add service provider

```
    //
    MyMonitor\PingSdk\PingSdkServiceProvider::class,
```

You can publish the config-file with:

```
php artisan vendor:publish --provider="MyMonitor\PingSdk\PingSdkServiceProvider::class"

```

This is the contents of the published config file:

```
