/*
* Package Service Providers...
*/
Mkohei\LaravelGoogleSheetsNotificationChannel\GoogleSheetsServiceProvider::class,
use Mkohei\LaravelGoogleSheetsNotificationChannel\GoogleSheetsChannel;
use Mkohei\LaravelGoogleSheetsNotificationChannel\GoogleSheetsMessage;
use Illuminate\Notifications\Notification;
class ProjectCreated extends Notification
{
public function via($notifiable)
{
return [GoogleSheetsChannel::class];
}
public function toGoogleSheets($notifiable)
{
return TreasureDataMessage::create()
->data(['value1', 'value2'])
->accessToken('your-access-token')
->spreadsheetId('id');
}
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.