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.
Download markwinters/explorewithai-widget
More information about markwinters/explorewithai-widget
Files in markwinters/explorewithai-widget
Package explorewithai-widget
Short Description A lightweight, framework-agnostic JavaScript widget that adds an "Explore With AI" button to any website.
License MIT
Homepage https://markwinters.github.io/explorewithai-widget/
Informations about the package explorewithai-widget
Explore With AI Widget
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.
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-providersbut 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