PHP code example of thedarsideofit / afip-bundle
1. Go to this page and download the library: Download thedarsideofit/afip-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
thedarsideofit / afip-bundle example snippets
public function registerBundles()
{
$bundles = array(
new Thedarsideofit\AfipBundle\AfipBundle(),
);
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
class DefaultController extends Controller {
{
/**
* @Route("/app", name="app")
*/
public function index()
{
die($this->get('afipservice')->getWS()->RegisterScopeTen->GetServerStatus());
}
}