Download the PHP package matondojk/filament-data-copilot without Composer

On this page you can find all versions of the php package matondojk/filament-data-copilot. 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 filament-data-copilot

Filament Data Copilot

Filament Data Copilot is a powerful AI-driven assistant for Filament PHP that allows you to chat with your database. Turn plain natural language into precise SQL queries, interactive charts, textual insights, and automated PDF reports directly inside your Filament Admin Panel.

Table of Contents

Features

Supported AI Providers

Powered by the robust Laravel AI SDK, this package supports multiple Large Language Models out-of-the-box:

Installation

You can install the package via composer:

Publish and run the migrations:

(Optional) Publish the config file:

(Optional) Publish the translations:

Usage

Register the plugin in your Filament Panel Provider (usually app/Providers/Filament/AdminPanelProvider.php):

Once registered, the Data Copilot and its Settings pages will appear in your Filament navigation menu.

Scheduling Reports

This package allows users to schedule reports directly from the interface to be sent via email on a daily, weekly, or monthly basis.

To ensure these scheduled emails are actually processed and sent out automatically, you must register the package's console command in your application's scheduler (typically located in routes/console.php):

Note: Make sure your server's Cron is properly configured to run php artisan schedule:run every minute as per the official Laravel documentation.

Configuration

Before making your first query, you must set up the AI context:

  1. Navigate to the Settings page in your Filament panel.
  2. Select your preferred base language and currency.
  3. Select your AI Provider (e.g., OpenAI) and paste your API Key.
  4. Allowed Models: Select which Eloquent Models (Tables) the AI is authorized to read. The AI will strictly be blocked from accessing any table not selected here.
  5. Business Context: Provide a short description of your business to give the AI context for better insights.

Prompt Examples

Because the package is completely multi-language, you can prompt the AI in any language you want. Here are some examples of what you can type into the Data Copilot:

Sales & Revenue

"Show me the total revenue generated grouped by product category for the last 6 months."

"Show the total sales made per month this year, grouped by order status."

Operations & Logistics

"Present the temporal evolution of purchases and sales on a daily basis. Show total bought, total sold, and the variation. Identify trends between inventory replacement and sales rhythm."

Customers

"Who were the top 5 customers that purchased the most in our store by total value in the last quarter?"

Security

If you discover any security-related issues, please use the issue tracker directly.

License

The MIT License (MIT). Please see License File for more information.


All versions of filament-data-copilot with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
filament/filament Version ^5.0
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
laravel/ai Version ^0.10
barryvdh/laravel-dompdf Version ^2.0|^3.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 matondojk/filament-data-copilot contains the following files

Loading the files please wait ...