changes
This commit is contained in:
@ -174,6 +174,7 @@ return [
|
||||
Bibhuti\Installer\Providers\LaravelInstallerServiceProvider::class,
|
||||
Brian2694\Toastr\ToastrServiceProvider::class,
|
||||
Spatie\Permission\PermissionServiceProvider::class,
|
||||
Jorenvh\Share\Providers\ShareServiceProvider::class,
|
||||
|
||||
|
||||
])->toArray(),
|
||||
@ -191,6 +192,7 @@ return [
|
||||
|
||||
'aliases' => Facade::defaultAliases()->merge([
|
||||
'Toastr' => Brian2694\Toastr\Facades\Toastr::class,
|
||||
'Share' => Jorenvh\Share\ShareFacade::class,
|
||||
])->toArray(),
|
||||
|
||||
];
|
||||
|
57
config/laravel-share.php
Normal file
57
config/laravel-share.php
Normal file
@ -0,0 +1,57 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Services
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Specify the base uri for each service.
|
||||
|
|
||||
|
|
||||
|
|
||||
*/
|
||||
|
||||
'services' => [
|
||||
'facebook' => [
|
||||
'uri' => 'https://www.facebook.com/sharer/sharer.php?u=',
|
||||
],
|
||||
'twitter' => [
|
||||
'uri' => 'https://twitter.com/intent/tweet',
|
||||
'text' => 'Default share text',
|
||||
],
|
||||
'linkedin' => [
|
||||
'uri' => 'https://www.linkedin.com/sharing/share-offsite', // oud: http://www.linkedin.com/shareArticle
|
||||
'extra' => ['mini' => 'true'],
|
||||
],
|
||||
'whatsapp' => [
|
||||
'uri' => 'https://wa.me/?text=',
|
||||
'extra' => ['mini' => 'true'],
|
||||
],
|
||||
'pinterest' => [
|
||||
'uri' => 'https://pinterest.com/pin/create/button/?url=',
|
||||
],
|
||||
'reddit' => [
|
||||
'uri' => 'https://www.reddit.com/submit',
|
||||
'text' => 'Default share text',
|
||||
],
|
||||
'telegram' => [
|
||||
'uri' => 'https://telegram.me/share/url',
|
||||
'text' => 'Default share text',
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Font Awesome
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Specify the version of Font Awesome that you want to use.
|
||||
| We support version 4 and 5.
|
||||
|
|
||||
|
|
||||
*/
|
||||
|
||||
'fontAwesomeVersion' => 5,
|
||||
];
|
Reference in New Issue
Block a user