PHP Classes

API Voucher PHP School Management System: Manage school activities, courses and students

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 66 All time: 10,365 This week: 59Up
Version License PHP version Categories
api-voucher 1.0.0The PHP License5PHP 5, Content management, Business
Description 

Author

This package can manage school activities, courses, and students.

It implements an application that provides a Web interface to allow users to perform several operations to manage the activities of a school.

Currently, it can manage the school units, available courses, student customers, advertisers, and professions.

The comments and the code use Portuguese words.

Picture of adriano123456
  Performance   Level  
Name: adriano123456 <contact>
Classes: 5 packages by
Country: Brazil Brazil
Age: 36
All time rank: 3516276 in Brazil Brazil
Week rank: 26 Up3 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 1x

Example

<?php

#http://localhost.promo/
#http://localhost.promo/?unidade=diadema
#http://localhost.promo/?unidade=diadema&div=1
#http://requirejs.org/docs/start.html
require_once 'Autoloader.php';
require_once
'api/library/PHPMailer-master/send.php';
require_once
'Helper.php';
$db = new Conn("localhost", "promo_cadastro", "root", "");

//$latitude = $xml->result->geometry->location->lat;

/**
 * Instanciamento de das classes
 */
$cliente = new Cliente();
$divulgador = new Divulgador();
$unidade = new Unidade();
$curso = new Curso();
$profissao = new Profissao();
$template = new Template();
$mail = new SendMail();
$helper = new Helper();
$geo = new Geolocalizacao();
$objCliente = new ServiceCliente ($db, $cliente );
$objDivulgador = new ServiceDivulgador($db, $divulgador);
$objUnidade = new ServiceUnidade ($db, $unidade );
$objCurso = new ServiceCurso ($db, $curso );
$objProfissao = new ServiceProfissao ($db, $profissao );
$objMail = new ServiceSendMail ($mail, $sndmail, $template);

if (isset(
$_GET['unidade'])) {
   
# Condi??o de tratamento do REQUEST divulgador
   
$div = @$_GET['div'] != '' ? $_GET['div'] : 0;
   
$div = isset($_POST['divulgador']) ? $_POST['divulgador'] : $div;

   
# Retorna p?gina em branco
   
$divulgador->setId($div);
   
$inputDivulgador = $objDivulgador->select();
   
$unidade->setAlias($helper->sanitizeString($_GET['unidade']));
   
$inputUnidade = $objUnidade->findByAlias();

   
# Variaveis para montar o endereco
   
$end_page['telefone'] = $inputUnidade[0]['telefone'];
   
$end_page['cep' ] = $inputUnidade[0]['cep' ];
   
$end_page['endereco'] = $inputUnidade[0]['endereco'];
   
$end_page['bairro' ] = $inputUnidade[0]['bairro' ];
   
$end_page['cidade' ] = $inputUnidade[0]['cidade' ];
   
$end_page['estado' ] = $inputUnidade[0]['estado' ];

   
# Pega a latitude
   
$geo->setEndereco(utf8_decode("{$end_page['endereco']} - {$end_page['bairro']} - {$end_page['estado']}"));
   
$geo->setLocalizacao();
   
$end_page['latitude' ] = $geo->getLatitude();
   
$end_page['longitude'] = $geo->getLongitude();
   
$end_page['geo_key' ] = $geo->key;

   
# Caso o formul?rio tenha sido executado
   
if (isset($_GET['action'])) {
        if (
$_POST) {
           
$nome = isset($_POST['nome' ]) ? $_POST['nome' ] : NULL;
           
$email = isset($_POST['email' ]) ? $_POST['email' ] : NULL;
           
$telefone = isset($_POST['telefone' ]) ? $_POST['telefone' ] : NULL;
           
$curso = isset($_POST['curso' ]) ? $_POST['curso' ] : NULL;
           
$especializacao = isset($_POST['especializacao']) ? $_POST['especializacao'] : NULL;
           
$profissao = isset($_POST['profissao' ]) ? $_POST['profissao' ] : NULL;
           
$periodo = isset($_POST['periodo' ]) ? $_POST['periodo' ] : NULL;
           
$unidade = isset($_POST['unidade' ]) && is_numeric($_POST['unidade']) ? $_POST['unidade'] : NULL;
           
$divulgador_id = isset($_POST['divulgador' ]) && is_numeric($_POST['divulgador']) ? $_POST['divulgador'] : 0;
           
$strCurso = "<option value=\"\">Escolha um curso</option>";
            foreach (
$objCurso->show('padrao') as $value):
               
$select = ($value['id'] == $curso) ? " selected=\"selected\"" : "";
               
$strCurso .= "<option value=\"{$value['id']}\"{$select}>" . utf8_encode($value['nome']) . "</option>";
            endforeach;
           
$strEspecializacao = "<option value=\"\">Escolha uma especializa??o</option>";
            foreach (
$objCurso->show('especializacao') as $value):
               
$select = ($value['id'] == $especializacao) ? " selected=\"selected\"" : "";
               
$strEspecializacao .= "<option value=\"{$value['id']}\"{$select}>" . utf8_encode($value['nome']) . "</option>";
            endforeach;
           
$strProfissao = "<option value=\"\">Escolha uma profiss?o</option>";
            foreach (
$objProfissao->show() as $value):
               
$select = ($value['id'] == $profissao) ? " selected=\"selected\"" : "";
               
$strProfissao .= "<option value=\"{$value['id']}\"{$select}>" . utf8_encode($value['nome']) . "</option>";
            endforeach;

           
# Confere se todos os campos foram preenchidos
           
$arrError = array();
            if (
$nome == NULL) { $arrError[] = "Preencha o campo <strong>nome</strong><br/>"; }
            if (
$email == NULL) {
               
$arrError[] = "Preencha o campo <strong>e-mail</strong><br/>";
            } else if (
filter_var($email, FILTER_VALIDATE_EMAIL) === FALSE) {
               
$arrError[] = "Insira um <strong>e-mail</strong> v?lido!<br/>";
            } else if (
count($objCliente->findEmail($email)) > 0) {
               
$arrError[] = "O e-mail <strong>{$email}</strong> j? foi cadastrado!<br/>";
            }
            if (
$telefone == NULL) { $arrError[] = "Preencha o campo <strong>telefone</strong><br/>"; }
            if (
$curso == NULL) { $arrError[] = "Selecione um <strong>curso</strong><br/>"; }
            if (
$especializacao == NULL) { $arrError[] = "Selecione um <strong>especializa??o</strong><br/>"; }
            if (
$profissao == NULL) { $arrError[] = "Selecione uma <strong>profiss?o</strong><br/>"; }
            if (
$periodo == NULL) { $arrError[] = "Escolha um <strong>per?odo</strong><br/>"; }

           
# Se ocorreu algum erro
           
if (count($arrError) > 0) {
               
$strMsg = NULL;
                foreach (
$arrError as $value):
                   
$strMsg .=$value;
                endforeach;
               
$page = $template->getCadastro();
               
$page = str_replace("%ERROR-MSG%", "<h3>Erro no preenchimento do formul?rio!</h3>" . $strMsg, $page);
               
$page = str_replace("%UNIDADE-ALIAS%", $inputUnidade[0]['alias'], $page );
               
$page = str_replace("%UNIDADE-ID%", $inputUnidade[0]['id' ], $page );
               
$page = str_replace("%DIVULGADOR-ID%", $divulgador_id, $page );
               
$page = str_replace("%NOME%", $nome, $page );
               
$page = str_replace("%EMAIL%", $email, $page );
               
$page = str_replace("%TELEFONE%", $telefone, $page );
               
$page = str_replace("%CURSO-SELECT%", $strCurso, $page );
               
$page = str_replace("%ESPECIALIZACAO-SELECT%", $strEspecializacao, $page );
               
$page = str_replace("%PROFISSAO-SELECT%", $strProfissao, $page );
               
$page = str_replace("%CHECKED-M%", ($periodo == "M") ? 'checked="checked"' : "", $page );
               
$page = str_replace("%CHECKED-T%", ($periodo == "T") ? 'checked="checked"' : "", $page );
               
$page = str_replace("%CHECKED-N%", ($periodo == "N") ? 'checked="checked"' : "", $page );
                echo
$page;
            } else {
               
# Ent?o salva o cadastro
               
$cadDate = date('Y-m-d');
               
$valDate = date('Y-m-d', strtotime($cadDate . ' + 7 days'));
               
$cliente->setNome ( utf8_decode($nome) )
                        ->
setEmail ( $email )
                        ->
setTelefone ( $telefone )
                        ->
setUnidadeId ( $unidade )
                        ->
setDivulgadorId ( $divulgador_id )
                        ->
setCursoId ( $curso )
                        ->
setEspecializacaoId( $especializacao )
                        ->
setProfissaoId ( $profissao )
                        ->
setPeriodo ( $periodo )
                        ->
setDate ( $cadDate )
                        ->
setVencimento ( $valDate );
               
$clienteId = $objCliente->save();

               
# Insere o voucher no cadastro
               
$codVoucher = $helper->voucherCodigo($clienteId, $inputUnidade[0]['sigla']);
               
$codVoucher = isset($codVoucher) ? $codVoucher : $inputUnidade[0]['sigla'] . "-ND" . $clienteId;
               
$cliente->setId($clienteId)
                        ->
setCodVoucher($codVoucher);
               
$objCliente->update();

               
# Seta e dispara e-mails
               
$rstCurso = $objCurso->find($curso);
               
$rstEspecializacao = $objCurso->find($especializacao);
               
$rstProfissao = $objProfissao->find($profissao);
               
$msgContent = array();
               
$msgContent['divulgador_email'] = count($inputDivulgador) > 0 ? $inputDivulgador[0]['email'] : NULL;
               
$msgContent['endereco' ] = $end_page;
               
$msgContent['nome' ] = $nome;
               
$msgContent['email' ] = $email;
               
$msgContent['telefone' ] = $telefone;
               
$msgContent['periodo' ] = $periodo;
               
$msgContent['curso' ] = $rstCurso[0]['nome'];
               
$msgContent['especializacao' ] = $rstEspecializacao[0]['nome'];
               
$msgContent['profissao' ] = $rstProfissao[0]['nome'];
               
$msgContent['voucher' ] = $codVoucher;
               
$msgContent['validade' ] = $helper->dataBr($valDate);
               
#$mail->setMailTo($inputUnidade[0]['email'] ) # envio p/ unidade
               
$mail->setMailTo("sdcomputadores@gmail.com" ) # envo p/ teste
                       
->setMailFrom("adriano.costa@grupolaunic.com.br" ) # remetente
                       
->setMailCc($email ) # cop. cliente # destinat?rio
                       
->setMailBcc("php.sql5@gmail.com" ) # cop. oculta
                       
->setMailSubject("Cadastro Voucher: " . $codVoucher)
                        ->
setMailMsg($msgContent);
               
$objMail->send();
               
$voucherPage = $template->getVoucher();
               
$voucherPage = str_replace("%NOME%", $nome, $voucherPage);
               
$voucherPage = str_replace("%CODIGO-VOUCHER%", $codVoucher, $voucherPage);
               
$voucherPage = str_replace("%LONGITUDE%", $end_page['longitude'], $voucherPage);
               
$voucherPage = str_replace("%LATITUDE%", $end_page['latitude' ], $voucherPage);
               
$voucherPage = str_replace("%CURSO%", utf8_encode($rstCurso[0]['nome']), $voucherPage);

               
# Para o Designer remover em produ??o
                # Begin
                # Retorna a confirma??o de envio
               
echo $voucherPage;
                echo
"<pre>";
               
print_r($end_page);
                echo
"</pre>";
               
# End
           
}
        }
    } else {
# Ent?o retorna o formul?rio limpo
       
$strCurso = "<option value=\"\">Escolha um curso</option>";
        foreach (
$objCurso->show('padrao') as $curso):
           
$strCurso .= "<option value=\"{$curso['id']}\">" . utf8_encode($curso['nome']) . "</option>";
        endforeach;
       
$strEspecializacao = "<option value=\"\">Escolha um curso</option>";
        foreach (
$objCurso->show('especializacao') as $curso):
           
$strEspecializacao .= "<option value=\"{$curso['id']}\">" . utf8_encode($curso['nome']) . "</option>";
        endforeach;
       
$strProfissao = "<option value=\"\">Escolha uma profiss?o</option>";
        foreach (
$objProfissao->show() as $value):
           
$strProfissao .= "<option value=\"{$value['id']}\">" . utf8_encode($value['nome']) . "</option>";
        endforeach;
       
$page = $template->getCadastro();
       
$page = str_replace("%ERROR-MSG%", "", $page);
       
$page = str_replace("%UNIDADE-ALIAS%", $inputUnidade[0]['alias'], $page);
       
$page = str_replace("%UNIDADE-ID%", $inputUnidade[0]['id'], $page);
       
$page = str_replace("%NOME%", "", $page);
       
$page = str_replace("%EMAIL%", "", $page);
       
$page = str_replace("%TELEFONE%", "", $page);
       
$page = str_replace("%CURSO-SELECT%", $strCurso, $page);
       
$page = str_replace("%ESPECIALIZACAO-SELECT%", $strEspecializacao, $page);
       
$page = str_replace("%PROFISSAO-SELECT%", $strProfissao, $page);
       
$page = str_replace("%CHECKED-M%", 'checked="checked"', $page);
       
$page = str_replace("%CHECKED-T%", "", $page);
       
$page = str_replace("%CHECKED-N%", "", $page);
       
$page = str_replace("%DIVULGADOR-ID%", isset($inputDivulgador[0]['id']) ? $inputDivulgador[0]['id'] : 0, $page);
        echo
$page;
    }
}else {
    echo
"<h1>Erro:</h1>";
    echo
"<h3>Nenhuma unidade foi informada!</h3>";
   
/*
      echo "<p>Por favor, selecione uma unidade da lista abaixo:</p>";
      foreach ($objUnidade->show() as $unidade):
      echo "<a href=\"?unidade={$unidade['alias']}\">" . utf8_encode($unidade['nome']) . "</a><br/>";
      endforeach;
     */
}
?>


Details

App de Voucher

Esse aplicativo foi desenvolvido para ser utilizado como uma única requisição de página, para ser executado em CMS, tais como WordPress, Joomla, etc...

Arquivo index.php

É aqui que toda ação principal do App ocorre, pois é através dela que são feitas as requisições de classes e métodos que irão gerar conteúdo de interação para o usuário.

Implementação

>Na index.php, altere de $mail->setMailTo("xpto@gmail.com") para $mail->setMailTo($inputUnidade[0]['email'])

>No arquivo library/PHPMailer-master/send.php, altere a senha no atributo $sndmail->Password para autenticação no serivdor de e-mail;

>Na index.php é criado o array $end_page que contém os dados da unidade (telefone, cep, endereco, bairro, cidade, estado, latitude, longitude, geo_key)


  Files folder image Files (141)  
File Role Description
Files folder imageapi (1 file, 3 directories)
Plain text file Autoloader.php Class Class source
Plain text file Helper.php Class Class source
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file info.php Aux. Auxiliary script
Accessible without login Plain text file readme.md Doc. Documentation

  Files folder image Files (141)  /  api  
File Role Description
Files folder imagecore (21 files)
Files folder imagelibrary (1 directory)
Files folder imageview (4 files)
  Accessible without login Plain text file promo_cadastro.sql Data Auxiliary data

  Files folder image Files (141)  /  api  /  core  
File Role Description
  Plain text file Cliente.php Class Class source
  Plain text file Conn.php Class Class source
  Plain text file Curso.php Class Class source
  Plain text file Divulgador.php Class Class source
  Plain text file Geolocalizacao.php Class Class source
  Plain text file ICliente.php Class Class source
  Plain text file IConn.php Class Class source
  Plain text file ICurso.php Class Class source
  Plain text file IDivulgador.php Class Class source
  Plain text file IProfissao.php Class Class source
  Plain text file ISendMail.php Class Class source
  Plain text file IUnidade.php Class Class source
  Plain text file Profissao.php Class Class source
  Plain text file SendMail.php Class Class source
  Plain text file ServiceCliente.php Class Class source
  Plain text file ServiceCurso.php Class Class source
  Plain text file ServiceDivulgador.php Class Class source
  Plain text file ServiceProfissao.php Class Class source
  Plain text file ServiceSendMail.php Class Class source
  Plain text file ServiceUnidade.php Class Class source
  Plain text file Unidade.php Class Class source

  Files folder image Files (141)  /  api  /  library  
File Role Description
Files folder imagePHPMailer-master (12 files, 5 directories)

  Files folder image Files (141)  /  api  /  library  /  PHPMailer-master  
File Role Description
Files folder imagedocs (7 files)
Files folder imageexamples (12 files, 3 directories)
Files folder imageextras (5 files)
Files folder imagelanguage (39 files)
Files folder imagetest (8 files)
  Accessible without login Plain text file .scrutinizer.yml Data Auxiliary data
  Accessible without login Plain text file .travis.yml Data Auxiliary data
  Accessible without login Plain text file changelog.md Data Auxiliary data
  Plain text file class.phpmailer.php Class Class source
  Plain text file class.pop3.php Class Class source
  Plain text file class.smtp.php Class Class source
  Accessible without login Plain text file composer.json Data Auxiliary data
  Accessible without login Plain text file LICENSE Lic. License text
  Accessible without login Plain text file PHPMailerAutoload.php Aux. Auxiliary script
  Accessible without login Plain text file README.md Example Example script
  Accessible without login Plain text file test.php Example Example script
  Accessible without login Plain text file travis.phpunit.xml.dist Data Auxiliary data

  Files folder image Files (141)  /  api  /  library  /  PHPMailer-master  /  docs  
File Role Description
  Accessible without login Plain text file Callback_function_notes.txt Doc. Documentation
  Accessible without login Plain text file DomainKeys_notes.txt Doc. Documentation
  Accessible without login HTML file extending.html Doc. Documentation
  Accessible without login HTML file faq.html Doc. Documentation
  Accessible without login Plain text file generatedocs.sh Data Auxiliary data
  Accessible without login Plain text file Note_for_SMTP_debugging.txt Doc. Documentation
  Accessible without login Plain text file pop3_article.txt Doc. Documentation

  Files folder image Files (141)  /  api  /  library  /  PHPMailer-master  /  examples  
File Role Description
Files folder imageimages (2 files)
Files folder imagescripts (5 files)
Files folder imagestyles (20 files)
  Plain text file code_generator.phps Class Class source
  Accessible without login HTML file contents.html Doc. Documentation
  Accessible without login Plain text file exceptions.phps Example Example script
  Accessible without login Plain text file gmail.phps Example Example script
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login Plain text file LGPLv3.txt Doc. Documentation
  Accessible without login Plain text file mail.phps Example Example script
  Accessible without login Plain text file mailing_list.phps Example Example script
  Accessible without login Plain text file pop_before_smtp.phps Example Example script
  Accessible without login Plain text file sendmail.phps Example Example script
  Accessible without login Plain text file smtp.phps Example Example script
  Accessible without login Plain text file smtp_no_auth.phps Example Example script

  Files folder image Files (141)  /  api  /  library  /  PHPMailer-master  /  examples  /  images  
File Role Description
  Accessible without login Image file phpmailer.png Icon Icon image
  Accessible without login Image file phpmailer_mini.png Icon Icon image

  Files folder image Files (141)  /  api  /  library  /  PHPMailer-master  /  examples  /  scripts  
File Role Description
  Accessible without login Plain text file shAutoloader.js Data Auxiliary data
  Accessible without login Plain text file shBrushPhp.js Data Auxiliary data
  Accessible without login Plain text file shCore.js Data Auxiliary data
  Accessible without login Plain text file shLegacy.js Data Auxiliary data
  Accessible without login Plain text file XRegExp.js Data Auxiliary data

  Files folder image Files (141)  /  api  /  library  /  PHPMailer-master  /  examples  /  styles  
File Role Description
  Accessible without login Plain text file shCore.css Data Auxiliary data
  Accessible without login Plain text file shCoreDefault.css Data Auxiliary data
  Accessible without login Plain text file shCoreDjango.css Data Auxiliary data
  Accessible without login Plain text file shCoreEclipse.css Data Auxiliary data
  Accessible without login Plain text file shCoreEmacs.css Data Auxiliary data
  Accessible without login Plain text file shCoreFadeToGrey.css Data Auxiliary data
  Accessible without login Plain text file shCoreMDUltra.css Data Auxiliary data
  Accessible without login Plain text file shCoreMidnight.css Data Auxiliary data
  Accessible without login Plain text file shCoreRDark.css Data Auxiliary data
  Accessible without login Plain text file shThemeAppleScript.css Data Auxiliary data
  Accessible without login Plain text file shThemeDefault.css Data Auxiliary data
  Accessible without login Plain text file shThemeDjango.css Data Auxiliary data
  Accessible without login Plain text file shThemeEclipse.css Data Auxiliary data
  Accessible without login Plain text file shThemeEmacs.css Data Auxiliary data
  Accessible without login Plain text file shThemeFadeToGrey.css Data Auxiliary data
  Accessible without login Plain text file shThemeMDUltra.css Data Auxiliary data
  Accessible without login Plain text file shThemeMidnight.css Data Auxiliary data
  Accessible without login Plain text file shThemeRDark.css Data Auxiliary data
  Accessible without login Plain text file shThemeVisualStudio.css Data Auxiliary data
  Accessible without login Image file wrapping.png Icon Icon image

  Files folder image Files (141)  /  api  /  library  /  PHPMailer-master  /  extras  
File Role Description
  Plain text file class.html2text.php Class Class source
  Plain text file EasyPeasyICS.php Class Class source
  Accessible without login Plain text file htmlfilter.php Aux. Auxiliary script
  Plain text file ntlm_sasl_client.php Class Class source
  Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (141)  /  api  /  library  /  PHPMailer-master  /  language  
File Role Description
  Accessible without login Plain text file phpmailer.lang-ar.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-be.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-br.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-ca.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-ch.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-cz.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-de.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-dk.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-el.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-eo.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-es.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-et.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-fa.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-fi.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-fo.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-fr.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-gl.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-he.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-hr.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-hu.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-it.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-ja.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-ka.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-lt.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-lv.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-nl.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-no.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-pl.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-pt.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-ro.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-ru.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-se.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-sk.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-sr.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-tr.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-uk.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-vi.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-zh.php Aux. Auxiliary script
  Accessible without login Plain text file phpmailer.lang-zh_cn.php Aux. Auxiliary script

  Files folder image Files (141)  /  api  /  library  /  PHPMailer-master  /  test  
File Role Description
  Accessible without login Plain text file bootstrap.php Aux. Auxiliary script
  Accessible without login Plain text file fakepopserver.sh Data Auxiliary data
  Accessible without login Plain text file fakesendmail.sh Data Auxiliary data
  Plain text file phpmailerLangTest.php Class Class source
  Plain text file phpmailerTest.php Class Class source
  Accessible without login Plain text file runfakepopserver.sh Data Auxiliary data
  Accessible without login Plain text file testbootstrap-dist.php Aux. Auxiliary script
  Accessible without login Plain text file test_callback.php Example Example script

  Files folder image Files (141)  /  api  /  view  
File Role Description
  Plain text file Cadastro.php Class Class source
  Plain text file Email.php Class Class source
  Plain text file Template.php Class Class source
  Plain text file Voucher.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:66
This week:0
All time:10,365
This week:59Up