Download the PHP package edrisranjbar/filament-product-analytics without Composer

On this page you can find all versions of the php package edrisranjbar/filament-product-analytics. 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-product-analytics

Filament Product Analytics

Product usage analytics inside your Laravel SaaS admin panel. Store events in your own database, associate them with users and tenants, and explore usage without adding a hosted analytics service.

Public beta. MIT licensed. The free package includes tracking, a dashboard, and an event explorer with date and event filters. Planned Pro edition

Screenshots

Install

Install the free beta from Packagist:

Use Laravel 12 or 13. Install Filament 4 or 5 in the host application before registering the plugin. Compatibility is exercised by the repository's CI matrix; consult its results for each combination.

Required authorization

Both pages are denied by default. Define the viewProductAnalytics gate in your application's service provider using your actual permissions:

In a Filament tenant panel, all dashboard and explorer queries are restricted to the current tenant's model type and ID, and membership is checked on every query. A missing tenant returns no events. A non-tenant panel shows application-wide analytics to gate-authorized users; reserve it for your internal administrators. The user model must implement Filament's normal panel and tenant access contracts.

Track events

Authenticated actors and the current Filament tenant are resolved automatically when available. Explicit context overrides resolution. A null context currently falls back to automatic resolution; disable the corresponding config option when anonymous tracking is required. Scalar IDs use the type scalar; for Filament tenant isolation, pass the tenant model instead.

Event names contain 1–191 characters. Properties accept JSON-compatible arrays and scalar values, not objects or resources. Sensitive keys in the configured list are removed recursively and case-insensitively before queue dispatch. This is a key denylist, not a guarantee that arbitrary personal data or secrets in free text will be removed. Send only the fields you need.

Queue

Queued persistence is enabled by default and uses Laravel's configured connection. With a sync connection it executes immediately. For asynchronous persistence, configure a queue and run its worker:

Set PRODUCT_ANALYTICS_QUEUE=false for direct persistence. Retries of the same event UUID are idempotent. Calling track() twice generates two distinct events. Tracking/storage failures propagate; applications decide how to handle unavailable infrastructure. Dispatch after your business transaction commits when events depend on committed records.

Dashboard and explorer

Publish configuration with php artisan vendor:publish --tag=product-analytics-config. A custom event model must retain the package schema and casts; both reads and writes use that model's table and connection.

Development

Tests use Orchestra Testbench and SQLite locally. CI also exercises MySQL and PostgreSQL and multiple framework versions. See demo setup.

Beta boundaries

No automatic resource tracking, funnels, retention/cohorts, scheduled reports, or revenue calculations yet. Database retention and cleanup are managed by the host application. Start with selected business events; high-volume performance has not been benchmarked. The package makes no claim of compatibility beyond the tested matrix.

Planned Pro edition

This version is completely free. A separate Pro extension is planned, with crypto payments once the paid features and checkout are ready. No payment is required for this beta, and Pro is not yet on sale. Tell us which paid workflow you need.


All versions of filament-product-analytics with dependencies

PHP Build Version
Package Version
Requires laravel/framework Version ^12.0|^13.0
php Version ^8.2
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 edrisranjbar/filament-product-analytics contains the following files

Loading the files please wait ...