PHP code example of brunoquiodetto / ai-text-humanizer-api

1. Go to this page and download the library: Download brunoquiodetto/ai-text-humanizer-api 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/ */

    

brunoquiodetto / ai-text-humanizer-api example snippets


   'api_key' => 'sk-or-v1-sua-api-key-aqui',
   
bash
   # Windows
   copy config\config.example.php config\config.php
   
   # Linux/Mac
   cp config/config.example.php config/config.php
   

api/
├── public/
│   ├── index.php          # Ponto de entrada da API
│   └── .htaccess          # Configuração do Apache
├── src/
│   ├── controllers/       # Controladores da API
│   │   └── humanizercontroller.php
│   ├── services/          # Serviços
│   │   └── openrouterservice.php
│   ├── utils/            # Utilitários
│   │   └── promptloader.php
│   └── bootstrap.php     # Arquivo de inicialização
└── config/
    ├── config.php        # Configurações gerais
    └── prompts/          # Arquivos de prompt
        └── HumanizadordeChamado.yaml