Download the PHP package bold-web/statamic-ai-assistant without Composer

On this page you can find all versions of the php package bold-web/statamic-ai-assistant. 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 statamic-ai-assistant

Statamic Ai Assistant

Control Panel addon for Statamic 6.5+: AI text generation and refactoring via custom fieldtypes and Bard, plus optional DeepL translation tools.

Requirements

Supported API

Features

How to Install

Install with Composer. Current releases target Statamic 6.5+. If you are on Statamic 5, require ^1 so Composer stays on the compatible major:

How to Use

The plugin use per default Infomaniak API, a Swiss solution🇨🇭 respecting the data of your users and the planet. However if you want to switch to a faster generation with a US based company this plugin also comes with Groq API support.

Infomaniak API

  1. Create an Infomaniak account and generate an API token with access to your AI Tools. Define it in your .env file as
  2. Go to your dashboard computing->AI tools and define the INFOMANIAK_PRODUCT_ID in your .env file (or use their API to get the product id: https://developer.infomaniak.com/docs/api/get/1/ai)

    tips for GET request: Just use postman with your api key in the Authorization header 'Bearer your-api-key' to get the product id

Groq API

  1. Create a groq account and generate an API key. Define it in your .env file as
  2. Add STATAMIC_AI_ASSISTANT_PROVIDER_NAME='groq' in your .env file to use groq

Translations (DeepL)

Breaking change: Translation features (Bard DeepL actions, bulk translation, and related Control Panel tools) require a DeepL API key. Add DEEPL_API_KEY to your .env as described below. If you upgrade from an older release, configure DeepL or turn translations off with STATAMIC_AI_ASSISTANT_TRANSLATIONS=false.

Bulk translation, Bard field translation, and related CP tools use DeepL (not the LLM provider above).

  1. Create a DeepL API account and copy your API authentication key.
  2. Add it to your application .env file:

  3. After installing or updating the addon, publish config if you need to customize language mapping or English/Portuguese variants:

The key is read from config/deepl.php (DEEPL_API_KEY). Optional overrides in .env (see config/deepl.php after publishing):

You can disable translation features entirely with:

Linked entries depth (admin-only)

When an entry references other entries (entries/link fields, Bard entry links, nested replicator data), the translator can recursively create or update localized siblings so IDs point to the correct language. Editors do not choose this in the UI — it is controlled by configuration.

Higher values increase DeepL usage and runtime (more entries may be created in one run). See config/statamic-ai-assistant.php (linked_entries_max_depth) for the full comment block.

Customization in your .env file

Upgrade Request

If you face issues or have improvements ideas do not hesitate to send us an email at [email protected]. We’ll read all emails, but please understand that this package is maintained as a side project for us, so we may not get back to you directly. Thank you for your understanding ❤️


All versions of statamic-ai-assistant with dependencies

PHP Build Version
Package Version
Requires statamic/cms Version ^6.5
lucianotonet/groq-laravel Version ^0.0.10
deeplcom/deepl-php Version ^1.9
smalot/pdfparser Version ^2.0
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 bold-web/statamic-ai-assistant contains the following files

Loading the files please wait ...