Download the PHP package clearanalytics/filament-clearanalytics without Composer

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

Filament ClearAnalytics

PHP Filament

Display your ClearAnalytics.eu web-analytics inside a Filament panel — a dedicated Analytics dashboard plus a set of plug-and-play widgets (visitors, pageviews, bounce rate, top pages, referrers, devices, e-commerce revenue, goals and more).

It talks to the official ClearAnalytics REST API, so your panel never touches raw tracking data — it just reads aggregated stats over HTTPS.

Inspired by bezhanSalleh/filament-google-analytics, but powered by ClearAnalytics instead of Google Analytics. Supports Filament v4 and v5.

Features

Requirements

Installation

Optionally publish the config and translations:

Installing from a local checkout (development) Add a path repository to your app's `composer.json`, then require the package: The symlink means edits to the package are reflected in your app immediately.

Configuration

Add your API token (and, optionally, a default site) to .env:

Register the plugin in your panel provider:

That's it — an Analytics item appears in your panel navigation.

Per-panel configuration

Everything in the config file can be overridden fluently:

Showing widgets on your own dashboard

By default the widgets live on the dedicated Analytics page. To also show a subset on the panel's main dashboard, set register_on_dashboard => true and flip the per-widget booleans in config/clear-analytics.php (widgets array), or call ->registerOnDashboard()->widgets(['top_pages' => true, ...]).

You can also drop any widget into your own page manually:

Widgets rendered outside the dedicated dashboard use the default period and site from your config.

How it works

All data comes from the ClearAnalytics REST API (/api/v1). The ClearAnalytics\Filament\ClearAnalytics service wraps each endpoint, authenticates with your Bearer token, caches responses, and unwraps the { "data": ... } envelope. You can use it directly too:

Testing

Credits

A product of Coding Agency — custom software from Meppel, the Netherlands.

License

MIT.


All versions of filament-clearanalytics with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
filament/filament Version ^4.0 || ^5.0
illuminate/contracts Version ^11.0 || ^12.0 || ^13.0
illuminate/http Version ^11.0 || ^12.0 || ^13.0
illuminate/support Version ^11.0 || ^12.0 || ^13.0
spatie/laravel-package-tools Version ^1.16
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 clearanalytics/filament-clearanalytics contains the following files

Loading the files please wait ...