PHP code example of phnxco-solution / anthropic-laravel
1. Go to this page and download the library: Download phnxco-solution/anthropic-laravel 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/ */
phnxco-solution / anthropic-laravel example snippets
return [
];
$anthropic = new Phnx\Anthropic();
echo $anthropic->echoPhrase('Hello, Phnx!');
bash
php artisan vendor:publish --tag="anthropic-laravel-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="anthropic-laravel-config"
bash
php artisan vendor:publish --tag="anthropic-laravel-views"