PHPackages                             javaabu/boli-api - 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. javaabu/boli-api

ActiveLibrary[API Development](/categories/api)

javaabu/boli-api
================

PHP SDK for Ministry of Economic Development's Boli System

v1.3.0(2mo ago)0691[1 issues](https://github.com/Javaabu/boli-api/issues)MITPHPPHP ^7.2 || ^8.0CI passing

Since Jun 22Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/Javaabu/boli-api)[ Packagist](https://packagist.org/packages/javaabu/boli-api)[ Docs](https://github.com/Javaabu/boli-api)[ RSS](/packages/javaabu-boli-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (6)Used By (0)

Boli API
========

[](#boli-api)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7c90b1b0f47787d451d36b9adab196838a49719b323a4d4138e6742fced2b696/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6176616162752f626f6c692d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/javaabu/boli-api)[![Test Status](../../actions/workflows/run-tests.yml/badge.svg)](../../actions/workflows/run-tests.yml)[![Code Coverage Badge](./.github/coverage.svg)](./.github/coverage.svg)[![Total Downloads](https://camo.githubusercontent.com/726186ef2f84cc662d2a9798ffb9835c65aef1e8bd26a1ac665026c530c6e52c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6176616162752f626f6c692d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/javaabu/boli-api)

PHP SDK for Ministry of Economic Development's [Boli System](https://business.egov.mv/)

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the Boli API credentials](#setting-up-the-boli-api-credentials)
- [Usage](#usage)
    - [Available Methods](#available-methods)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)
- [Disclaimer](#disclaimer)

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

[](#installation)

You can install the package via composer:

```
composer require javaabu/boli-api
```

**Laravel 5.5** and above uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.

After updating composer, add the ServiceProvider to the providers array in config/app.php

```
// config/app.php
'providers' => [
    ...
    Javaabu\Boli\BoliServiceProvider::class,
],
```

Optionally add the facade.

```
// config/app.php
'aliases' => [
    ...
    'Boli' => Javaabu\Boli\Facades\Boli::class,
],
```

### Setting up the Boli API credentials

[](#setting-up-the-boli-api-credentials)

Add your Boli Username, Password, and Url (optional) to your `config/services.php`:

```
// config/services.php
...
'boli' => [
    'username' => env('BOLI_USERNAME'), // Boli API username
    'password' => env('BOLI_PASSWORD'), // Boli API password
    'url' => env('BOLI_API_URL'), // optional, use only if you need to override the default,
                                  // defaults to https://api-business.egov.mv/WebApi/api/
],
...
```

Usage
-----

[](#usage)

Using the App container:

```
$boli = App::make('boli');
$entity = $boli->getBusinessEntity('C-0933/2017');
```

Using the Facade

```
use Boli;

$entity = Boli::getBusinessEntity('C-0933/2017');
```

### Available Methods

[](#available-methods)

```
Boli::getBusiness($business_registration_number); // for business entities + business names
Boli::getBusinessEntity($business_registration_number);
Boli::getProduct($product_registration_number);
Boli::getBusinessName($business_name_registration_number);
Boli::getImportLicense($import_license_number);
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Javaabu Pvt. Ltd.](https://github.com/javaabu)
- [Mohamed Jailam](http://github.com/muhammedjailam)
- [Arushad Ahmed (@dash8x)](http://arushad.org)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Disclaimer
----------

[](#disclaimer)

This package is not in any way officially affiliated with Maldives Ministry of Economic Development. The "Boli" name has been used under fair use.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance83

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.5% 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.

###  Release Activity

Cadence

Every ~335 days

Total

5

Last Release

84d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6671720?v=4)[Arushad Ahmed](/maintainers/dash8x)[@dash8x](https://github.com/dash8x)

![](https://avatars.githubusercontent.com/u/31658513?v=4)[Javaabu](/maintainers/javaabu)[@Javaabu](https://github.com/Javaabu)

---

Top Contributors

[![dash8x](https://avatars.githubusercontent.com/u/6671720?v=4)](https://github.com/dash8x "dash8x (21 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/javaabu-boli-api/health.svg)

```
[![Health](https://phpackages.com/badges/javaabu-boli-api/health.svg)](https://phpackages.com/packages/javaabu-boli-api)
```

###  Alternatives

[skagarwal/google-places-api

Google Places Api

1913.0M8](/packages/skagarwal-google-places-api)[dcblogdev/laravel-microsoft-graph

A Laravel Microsoft Graph API (Office365) package

168285.5k1](/packages/dcblogdev-laravel-microsoft-graph)[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

102589.1k3](/packages/vluzrmos-slack-api)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1344.8k1](/packages/jasara-php-amzn-selling-partner-api)[grantholle/powerschool-api

A Laravel package to make interacting with PowerSchool less painful.

1715.6k1](/packages/grantholle-powerschool-api)

PHPackages © 2026

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