PHPackages                             jaimesantosweb/laravelmicrostrategyintegration - 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. jaimesantosweb/laravelmicrostrategyintegration

ActiveLibrary[API Development](/categories/api)

jaimesantosweb/laravelmicrostrategyintegration
==============================================

An API that connect to MicrostrategyLibrary API to get report results

01PHP

Since Mar 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/JaimeSantosWeb/laravelmicrostrategyintegration)[ Packagist](https://packagist.org/packages/jaimesantosweb/laravelmicrostrategyintegration)[ RSS](/packages/jaimesantosweb-laravelmicrostrategyintegration/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Microstrategy Integration
=================================

[](#laravel-microstrategy-integration)

An API that connects to the Microstrategy Library API to fetch report results.

Version Notes
-------------

[](#version-notes)

This is still an incomplete version of the lib, API. Error returns from requests in case of problems with the request are not yet 100% developed, and the headers and metrics of the reports are still not returned in the getInstanceNoPrompt and getReport functions.

Installation
------------

[](#installation)

To install this library in your Laravel project, you can run the following Composer command:

```
composer require JaimeSantosWeb/laravelmicrostrategyintegration
```

After installation, you will need to configure the authentication credentials.

To do this, publish the configuration file:

```
php artisan vendor:publish --tag=laravelmicrostrategyintegration
```

and then change the endpoint in the generated file /config/strategy.php

After installation, you can configure the authentication credentials in your .env environment file.

Usage Examples
--------------

[](#usage-examples)

AHere are some examples of how you can use this library in your Laravel project:

use App\\LaravelMicrostrategyIntegration\\Controllers\\StrategyController;

### With Prompt

[](#with-prompt)

```
Sauth($usuario,$senha);
        $instanceID= $strategy->getInstance($reportId);
        $strategy->sendPrompt($reportId,$instanceID,$prompt);
        $instanceID= $strategy->getReport($reportId, $instanceID);
        $strategy->logout();

        return view('welcome', compact('instanceID'));

}
```

### Without Prompt

[](#without-prompt)

```
Sauth($usuario,$senha);
        $instanceID= $strategy->getInstanceNoPrompt($reportId);
        $strategy->logout();

        return view('welcome', compact('instanceID'));

}
```

Configuration
-------------

[](#configuration)

Before using this library, make sure to configure the following environment variables in your .env file:

- \*\* MICROSTRATEGY\_API\_USERNAME=seu\_usuario
- \*\* MICROSTRATEGY\_API\_PASSWORD=sua\_senha
- \*\* MICROSTRATEGY\_PROJECT\_ID=seu\_projeto\_id

Replace the values your\_username, your\_password, and your\_project\_id with the corresponding values from your Microstrategy API instance. This way, you can use them within the project.

Facilitating Data Reading
-------------------------

[](#facilitating-data-reading)

It is highly recommended to transform the data into JSON format before working with it in any instance. To do this, encode the functions' return values to JSON:

```
json_encode($instanceID)
```

Dependencias
------------

[](#dependencias)

This library depends on the following libraries and Laravel versions:

- \*\* PHP &gt;= 8.1
- \*\* Laravel Framework &gt;= 10.10
- \*\* GuzzleHTTP &gt;= 7.2

###  Health Score

12

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity19

Early-stage or recently created project

 Bus Factor1

Top contributor holds 80% 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/6b4556c416ff5cd8d3c688e22254a6aa3f5008bb43b4228ce0a2b39db6882c8e?d=identicon)[JaimeSantosWeb](/maintainers/JaimeSantosWeb)

---

Top Contributors

[![JaimeSantosWeb](https://avatars.githubusercontent.com/u/163778561?v=4)](https://github.com/JaimeSantosWeb "JaimeSantosWeb (4 commits)")[![EventimJaimeSantos](https://avatars.githubusercontent.com/u/141954645?v=4)](https://github.com/EventimJaimeSantos "EventimJaimeSantos (1 commits)")

### Embed Badge

![Health badge](/badges/jaimesantosweb-laravelmicrostrategyintegration/health.svg)

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

###  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)
