PHPackages                             entanet/entanet-insights - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. entanet/entanet-insights

ActiveExtension[API Development](/categories/api)

entanet/entanet-insights
========================

A package to send data to the entaqa app for visualization of project issues.

015PHP

Since Aug 30Pushed 6y ago5 watchersCompare

[ Source](https://github.com/Entanet/entanet-insights)[ Packagist](https://packagist.org/packages/entanet/entanet-insights)[ RSS](/packages/entanet-entanet-insights/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

**Entanet Insights**
====================

[](#entanet-insights)

This is a package designed to lint over your projects code and provide insight on how things could be improved with visual data and traces of where lines could be improved in your code. This will cover: **Code**, **Complexity**, **Architecture** and **Style**.

The package purpose is to be installed on your apps, and after running an artisan command it will pluck and format data, and then send the data to the "entaqa" app where the data can be visualised and updated.

Installing
==========

[](#installing)

Require the Entanet Insights package

```
composer require entanet/entanet-insights --dev

```

Add the following to the config/app.php providers array

```
Superbalist\LaravelPubSub\PubSubServiceProvider::class

```

Publish the insights commands

```
php artisan vendor:publish --provider="NunoMaduro\PhpInsights\Application\Adapters\Laravel\InsightsServiceProvider"

php artisan vendor:publish --provider="Entanet\Insights\InsightsServiceProvider"

```

Ensure the command is available:

```
app/console/commands/EntanetInsights.php

```

Now Register that command in

```
app/console/commands/Kernel.php

```

Register as (At the top):

```
use Entanet\Insights\EntanetInsights;

```

And then add this to the $commands array:

```
/**
     * The Artisan commands provided by your application.
     *
     * @var array
     */
    protected $commands = [
        EntanetInsights::class
    ];

```

Ensure your env contains valid Kafka credentials and Kafka is set up on your machine or within the container you're using.

```
KAFKA_BROKERS=kafka.broker.com
PUBSUB_CONNECTION=kafka
KAFKA_CONSUMER=ryan

```

Usage
=====

[](#usage)

Table of Contents
-----------------

[](#table-of-contents)

### Running

[](#running)

- [entaqa-app](#entaqa-app)
- [Listening](#listening)
- [Sending Scores](#sending-scores)

#### Entaqa App

[](#entaqa-app)

Pull down the entaqa app from --repo--. Within the project route, run:

```
docker-compose up --build -d

```

and navigate to

```
localhost:8080

```

This app uses Google auth for sign in.

#### Listening

[](#listening)

To listen from the EntaQA app for scores, run:

```
docker-compose exec entaqa-app php artisan scores:listen

```

#### Sending Scores

[](#sending-scores)

Please ensure you have your "app name" set within your config/app.php file and your APP\_NAME in your env.

After setting this run:

```
php artisan config:clear

```

This is responsible for naming the project within entaqa. Stick to repository naming conventions without spaces in, snake, camel and kebab case are all fine.

From within the project you have installed entanet-insights on, run

```
php artisan entanet:insights

```

You should see "Data Sent!" as a confirmation.

Now, if you refresh your entaqa app, your app will be there with visual data on how to improve it, and if you click the widgets for Code, Complexity, Architecture or Style, you can drill down into specific insight on how to improve your app from that particular stand point.

Enjoy!

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a63f790da330037f4fbfa56da6b325675cec3f20c79f9446462fafbf143fbfc3?d=identicon)[tom-lloyd-entanet](/maintainers/tom-lloyd-entanet)

---

Top Contributors

[![EntaQARR](https://avatars.githubusercontent.com/u/31692030?v=4)](https://github.com/EntaQARR "EntaQARR (5 commits)")

### Embed Badge

![Health badge](/badges/entanet-entanet-insights/health.svg)

```
[![Health](https://phpackages.com/badges/entanet-entanet-insights/health.svg)](https://phpackages.com/packages/entanet-entanet-insights)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
