Skip to content

Instantly share code, notes, and snippets.

View dlopez525's full-sized avatar

Daniel López Sánchez dlopez525

View GitHub Profile
<?php
use Carbon\Carbon;
use GuzzleHttp\Client as GuzzleClient;
use GuzzleHttp\Exception\ClientException;
class SunatGenerateToken
{
protected $sunatClientId;
protected $sunatClientSecret;
protected $username;