PHP code example of noodleware / chattera

1. Go to this page and download the library: Download noodleware/chattera 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/ */

    

noodleware / chattera example snippets

sh
php artisan migrate
sh
php artisan vendor:publish --tag=chattera
ini
CHATTERA_OPEN_AI_TOKEN=your_openai_api_key_here
sh
php artisan chattera:add-context {context}
sh
php artisan chattera:send-report {frequency}
sh
php artisan chattera:send-report daily
php artisan chattera:send-report weekly
php artisan chattera:send-report monthly