1. Go to this page and download the library: Download fruivita/corporate 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/ */
fruivita / corporate example snippets
use FruiVita\Corporate\Facades\Corporate;
Corporate::import($file_path);
use FruiVita\Corporate\Facades\Corporate;
/**
* @param string $file_path full path do arquivo XML
*
* @throws \FruiVita\Corporate\Exceptions\FileNotReadableException
* @throws \FruiVita\Corporate\Exceptions\UnsupportedFileTypeException
*
* @return void
*/
Corporate::import($file_path);