LaravelPackages.net
Acme Inc.
Toggle sidebar
hxsd/ding

ding ding laravel package

17
5
v1.0.1
About hxsd/ding

hxsd/ding is a Laravel package for ding ding laravel package. It currently has 5 GitHub stars and 17 downloads on Packagist (latest version v1.0.1). Install it with composer require hxsd/ding. Discover more Laravel packages by hxsd or browse all Laravel packages to compare alternatives.

Last updated

ding ding laravel packages

Requirements

  • PHP >= 7.0.0
  • Laravel >= 5.5.0

Installation

This package requires PHP 7+ and Laravel 5.5

First, install laravel 5.5

composer require hxsd/ding

add the ServiceProvider to the providers array in config/app.php

\HXSD\Ding\Providers\DingProvider::class,

add this to your facades in app.php

'Ding' => \HXSD\Ding\Facades\Ding::class,

Then run these commands to publish assets and config:

php artisan vendor:publish --provider="HXSD\Ding\Providers\DingProvider"

Configurations

The file config/ding.php contains an array of configurations, you can find the default configurations in there.

'auth_info' => [
    // ding CorpId
    'corp_id' => '',

    // Company secret key
    'corp_secret' => '',

    // sso secret key
    'sso_secret' => '',

    // channel secret key
    'channel_secret' => '',
],

Star History Chart