Download the PHP package brunoquiodetto/ai-text-humanizer-api without Composer

On this page you can find all versions of the php package brunoquiodetto/ai-text-humanizer-api. 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 ai-text-humanizer-api

🤖 AI Text Humanizer API

Latest Stable Version Total Downloads License PHP Version

Uma API REST moderna para humanização de textos e chamados usando inteligência artificial. Transforme comunicação técnica e formal em mensagens empáticas e humanizadas.

✨ Características

🚀 Instalação Rápida

🚀 Instalação e Configuração

Pré-requisitos

1. Clone ou baixe o projeto

2. Configure a API Key

  1. Copie o arquivo de configuração de exemplo:

  2. Edite o arquivo config/config.php e substitua SEU_OPENROUTER_API_KEY_AQUI pela sua API key do OpenRouter:

3. Configure o servidor web

Configure seu servidor web para apontar o DocumentRoot para a pasta public/.

4. Como obter sua API Key do OpenRouter

  1. Acesse OpenRouter
  2. Crie uma conta ou faça login
  3. Vá para a seção "API Keys"
  4. Gere uma nova API key
  5. Copie a key e cole no arquivo config/config.php

⚠️ IMPORTANTE: Nunca compartilhe sua API key publicamente ou faça commit dela no Git!

Estrutura do Projeto

Endpoints Disponíveis

1. Humanizador de Texto (POST /humanize)

Humaniza textos de chamados técnicos, tornando-os mais claros e profissionais.

Parâmetros:

Exemplo de requisição:

Exemplo de resposta:

2. Health Check (GET /health)

Verifica o status da API.

Resposta:

Códigos de Status HTTP

Formato das Respostas

Sucesso

Erro

Segurança

🧪 Como Testar a API

Método 1: Testando Localmente via Interface Web

O projeto já inclui scripts automáticos para inicialização do servidor em ambiente de desenvolvimento. Basta executar o comando de start disponível no seu gerenciador de dependências ou IDE. Consulte a documentação do projeto ou o arquivo package.json/composer.json para detalhes sobre os comandos disponíveis.

  1. Acesse http://seu-servidor/teste.html no navegador
  2. Preencha o formulário com um texto para humanizar
  3. Clique em "🚀 Testar API"
  4. Veja o resultado na tela

Método 2: cURL (Terminal)

Método 3: Postman ou Insomnia

  1. URL: POST http://seu-servidor/humanize
  2. Headers: Content-Type: application/json
  3. Body (JSON):

Método 4: JavaScript (Frontend)

🔧 Solução de Problemas

Erro: "API Key inválida"

Erro: "Arquivo de configuração não encontrado"

Erro: "Endpoint não encontrado"

Erro: "CORS"


All versions of ai-text-humanizer-api with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-curl Version *
ext-json Version *
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 brunoquiodetto/ai-text-humanizer-api contains the following files

Loading the files please wait ...