Download the PHP package boostech/cte without Composer

On this page you can find all versions of the php package boostech/cte. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package cte

Boostech CTe

Este pacote tem o objetivo de abstrair métodos que permitam ao desenvolvedor manipular arquivos XML provenientes de um CT-e

🚀 Começando

Os passos a seguir descreverão a instalação do pacote e a sua utilização

📋 Pré-requisitos

Este pacote foi desenvolvido com as seguintes tecnologias:

🔧 Instalação

1) Acesse a pasta do projeto na qual você deseja instalar o pacote (lembre-se dos pré-requisitos) 2) Execute o comando:

4) Será criada a pasta vendor/boostech/cte 5) Edite o arquivo //config/app.php e adicione a linha Boostech\Cte\Providers\CteServiceProvider::class dentro da tag providers

5) Dentro da raiz do diretório do seu projeto, execute os comandos:

7) Serão criadas duas tabelas no seu banco de dados:

📦 Desenvolvimento

Para utilizar o pacote, siga o seguinte exemplo:

1) Salve alguns XML's de CT-e's autorizadas em um determinado diretório 2) Crie no seu projeto um Controller chamado TesteController 3) Adicione o seguinte método a este controller

4) Crie uma rota para o método 'Route::get('/teste', [App\Http\Controllers\TesteController::class, 'teste'])->name('teste.teste');' 5) Acesse a rota http://localhost:8000/teste através do seu browser 6) O sistema realizará a importação dos XML's e caso dê tudo certo, a seguinte mensagem será apresentada: XML's importados! 7) Acesse as tabelas boostech_cte_hctex e boostech_cte_hctei e confira se estão preenchidas

📌 Versão

Versão 1.0.0

✒️ Autores

📄 Licença

MIT


All versions of cte with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package boostech/cte contains the following files

Loading the files please wait ....