PHP code example of genericmilk / docudoodle
1. Go to this page and download the library: Download genericmilk/docudoodle 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/ */
genericmilk / docudoodle example snippets
'openai_api_key' => env('OPENAI_API_KEY', ''),
'claude_api_key' => env('CLAUDE_API_KEY', ''),
'gemini_api_key' => env('GEMINI_API_KEY', ''),
'azure_endpoint' => env('AZURE_OPENAI_ENDPOINT', ''),
'azure_api_key' => env('AZURE_OPENAI_API_KEY', ''),
'azure_deployment' => env('AZURE_OPENAI_DEPLOYMENT', ''),
'azure_api_version' => env('AZURE_OPENAI_API_VERSION', '2023-05-15'),
'default_model' => env('DOCUDOODLE_MODEL', 'gpt-4o-mini'),
'default_api_provider' => env('DOCUDOODLE_API_PROVIDER', 'openai'),
'ollama_host' => env('OLLAMA_HOST', 'localhost'),
'ollama_port' => env('OLLAMA_PORT', '11434'),
'max_tokens' => env('DOCUDOODLE_MAX_TOKENS', 10000),
'default_extensions' => ['php', 'yaml', 'yml'],
'default_skip_dirs' => ['vendor/', 'node_modules/', 'tests/', 'cache/', '/wildcard/*/path/'],
php artisan docudoodle:generate
php artisan vendor:publish --tag=docudoodle-config
php artisan docudoodle:generate
php artisan docudoodle:generate --jira
php artisan docudoodle:generate --confluence
php artisan docudoodle:generate --jira --confluence --no-files
php artisan test