Download the PHP package markwinters/explorewithai-widget without Composer

On this page you can find all versions of the php package markwinters/explorewithai-widget. 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 explorewithai-widget

Explore With AI Widget

Packagist Version Packagist Downloads jsDelivr

A lightweight, framework-agnostic JavaScript widget that adds an "Explore With AI" button to any website. Visitors can open the current page in ChatGPT, Claude, Gemini, Perplexity, Copilot, Grok, DeepSeek, Meta AI, Mistral, and more.

→ Live Demo & Docs

Installation

Add one script tag:

That's it. The widget appears as a floating button in the bottom-right corner.

Composer (PHP projects)

Then serve or copy the bundled file from vendor/markwinters/explorewithai-widget/dist/explore-ai.min.js, e.g. in a Laravel Blade view:

Configuration

Use data-* attributes on the script tag:

Options

Attribute Values Default Description
data-theme light, dark, auto auto Color theme
data-position bottom-right, bottom-left, top-right, top-left bottom-right Button position
data-label any string Explore With AI Button label text
data-providers comma-separated provider IDs all Visible providers
data-compact true or omitted — Icon-only circular button. Auto-enabled on mobile.

Providers

ID Name Prompt pre-fill
chatgpt ChatGPT ✅
claude Claude ✅
grok Grok ✅
perplexity Perplexity ✅
gemini Gemini ❌ (opens app homepage)
copilot Microsoft Copilot ❌ (opens app homepage)
deepseek DeepSeek ❌ (opens app homepage)
meta Meta AI ❌ (opens app homepage)
mistral Mistral ❌ (opens app homepage)

Only providers with native URL parameter support are shown by default. The others are available if explicitly added via data-providers but will open the app's homepage without a pre-filled prompt.

JavaScript API

Browser Support

Chrome, Edge, Safari, Firefox — last two major versions.

License

MIT


All versions of explorewithai-widget with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
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 markwinters/explorewithai-widget contains the following files

Loading the files please wait ...