Download the PHP package versatecnologiaoficial/cadsus-client without Composer

On this page you can find all versions of the php package versatecnologiaoficial/cadsus-client. 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 cadsus-client

Versa Tecnologia CADSUS Client

Pacote privado PHP 8.2+ para integração com CADSUS/CNS-PDQ. O núcleo não depende de Laravel, models ou banco de dados da aplicação consumidora.

Estado atual

O pacote executa autenticação HTTP/mTLS, reutiliza o JWT em cache, constrói e valida mensagens HL7, consulta pelo SoapClient e converte respostas em DTOs. Aplicações distribuídas devem fornecer implementações compartilhadas de TokenStoreInterface e LockInterface.

O desenho aprovado usa:

Instalação para desenvolvimento

A suíte usa apenas o vendor/autoload.php do próprio pacote; rode composer install na raiz do pacote antes de composer test.

Laravel

O Versatecnologia\Cadsus\CadsusClientServiceProvider é opcional. Registre-o em bootstrap/providers.php e publique a configuração:

O provider também registra CadsusClient (e CadsusClientInterface) como singleton no container.

API pública

O pacote não recebe nem persiste models locais. A aplicação é responsável por selecionar o tenant, autorizar a consulta e mapear o resultado para suas entidades.

Contrato oficial

O WSDL está em resources/contracts/wsdl; os caminhos relativos para resources/contracts/schema foram preservados. resources/contracts/manifest.php registra os hashes SHA-256 aprovados.

Para atualizar o manifesto após uma atualização intencional e revisada:

Consulte docs/contract-update.md antes de substituir qualquer artefato.

Segurança

Nunca registre token, certificado, senha, CPF, CNS, nome, nascimento, endereço ou XML SOAP integral. Não habilite trace em produção. O certificado usado na autenticação deve ser o mesmo vinculado à credencial aprovada pelo DATASUS.

Mais detalhes em docs/security.md.


All versions of cadsus-client with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
ext-dom Version *
ext-json Version *
ext-libxml Version *
ext-openssl Version *
ext-soap Version *
guzzlehttp/guzzle Version ^7.8
psr/log Version ^2.0 || ^3.0
psr/simple-cache Version ^2.0 || ^3.0
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 versatecnologiaoficial/cadsus-client contains the following files

Loading the files please wait ...