Download the PHP package tibemolde/ai-summary without Composer

On this page you can find all versions of the php package tibemolde/ai-summary. 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 ai-summary

AI Summary Plugin for Craft CMS

AI-powered content summarization field for Craft CMS. Automatically generate concise article summaries using OpenAI's GPT models with a single click, directly from your entry editor.

Craft CMS Version

Features

Requirements

Installation

1. Install via Composer

2. Install the Plugin

Navigate to Settings → Plugins in your Craft control panel and click Install next to "AI Summary".

Alternatively, install via command line:

3. Configure OpenAI API

Add your OpenAI API credentials to your .env file:

Note: The gpt-4o-mini model is recommended for cost-effectiveness. Other options include gpt-4, gpt-4-turbo, or gpt-3.5-turbo.

Configuration

Create an AI Summary Field

  1. Navigate to Settings → Fields in your Craft control panel
  2. Click New field
  3. Set the Field Type to "AI Summary"
  4. Configure the field settings:
    • Name: e.g., "Article Summary"
    • Handle: e.g., articleSummary
    • Output Format: Choose between:
      • Plain Text: Single paragraph summary
      • Bullet List: HTML list with key points
  5. Click Save

Add Field to Section

  1. Navigate to Settings → Sections
  2. Select your section (e.g., Blog, Articles, News)
  3. Click on your Entry Type
  4. Go to the Field Layout tab
  5. Drag the "AI Summary" field into your layout
  6. Click Save

Usage

Generating a Summary

  1. Create or edit an entry that contains content to summarize
  2. Ensure your entry has content in text/rich text fields
  3. Locate the AI Summary field in your entry
  4. Click the "Generate Summary" button
  5. Wait a few seconds while the AI processes your content
  6. Review the generated summary
  7. Edit if needed (summaries are fully editable)
  8. Save your entry

Output Formats

Plain Text

Generates a concise paragraph summarizing the main points:

Bullet List

Generates an HTML list with key points:

Best Practices

Displaying Summaries in Templates

Plain Text Summary

Bullet List Summary

Note: Use the |raw filter for bullet list format to render HTML properly.

Meta Description

Use AI summaries for SEO meta descriptions:

Troubleshooting

"Failed to generate summary"

Possible causes:

Solutions:

  1. Verify OPENAI_API_KEY in your .env file
  2. Ensure your entry has content in text fields
  3. Check your OpenAI API usage limits
  4. Review Craft logs: storage/logs/web.log

"No content found to summarize"

Solution: Add content to your entry's text/rich text fields before clicking "Generate Summary".

Cache Issues

If you're not seeing updated summaries after changing content:

Solution: Clear Craft's cache:

Or use a different content variation to trigger a new summary generation.

Support

License

Proprietary - All rights reserved

Credits

Developed by TIBE Molde


All versions of ai-summary with dependencies

PHP Build Version
Package Version
Requires craftcms/cms Version ^4.0.0 || ^5.0.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 tibemolde/ai-summary contains the following files

Loading the files please wait ...