PHPackages                             ahmadrivaldi-arv/mekarisign - 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. ahmadrivaldi-arv/mekarisign

ActiveLibrary

ahmadrivaldi-arv/mekarisign
===========================

PHP library for www.mekarisign.com

v0.1.0-beta.4(1y ago)017[1 issues](https://github.com/ahmadrivaldi-arv/mekarisign/issues)[4 PRs](https://github.com/ahmadrivaldi-arv/mekarisign/pulls)MITPHPPHP ^8.2CI passing

Since Nov 4Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/ahmadrivaldi-arv/mekarisign)[ Packagist](https://packagist.org/packages/ahmadrivaldi-arv/mekarisign)[ Docs](https://github.com/ahmadrivaldi-arv/mekarisign)[ GitHub Sponsors](https://github.com/Ahmdrv)[ RSS](/packages/ahmadrivaldi-arv-mekarisign/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (13)Versions (10)Used By (0)

PHP library for [www.mekarisign.com](http://www.mekarisign.com)
===============================================================

[](#php-library-for-wwwmekarisigncom)

[![Latest Version on Packagist](https://camo.githubusercontent.com/fc9ed87c83597b547c415550e0cfa2da080db763ddde34c6cc7c344f59afbf2e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61686d6164726976616c64692d6172762f6d656b6172697369676e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ahmadrivaldi-arv/mekarisign)[![GitHub Tests Action Status](https://camo.githubusercontent.com/eb54458ff89c17ed8f1cfdfac2a43e7b257b896aa8067f4668dfc343f2b168e3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f61686d6164726976616c64692d6172762f6d656b6172697369676e2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/ahmadrivaldi-arv/mekarisign/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/6192bff7ac06ac6e3c3a1a962b9c48b5edd438fbd4e51a802d0dc7ee71d3c45f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f61686d6164726976616c64692d6172762f6d656b6172697369676e2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/ahmadrivaldi-arv/mekarisign/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/53e2c672124c7747740af929c7b872d687022185bc896189852681e861f8a834/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f61686d6164726976616c64692d6172762f6d656b6172697369676e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ahmadrivaldi-arv/mekarisign)

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

[](#installation)

You can install the package via composer:

```
composer require ahmadrivaldi-arv/mekarisign
```

You can publish the config file with:

```
php artisan vendor:publish --tag="mekarisign-config"
```

This is the contents of the published config file:

```
return [

    /**
     * The base URL for the MekariSign API.
     *
     * This configuration option sets the base URL for the MekariSign API.
     * It uses the `env` function to retrieve the value from the environment
     * variable `MEKARISIGN_BASE_URL`. If the environment variable is not set,
     * it defaults to 'https://sandbox-api.mekari.com/v2/esign/v1'.
     *
     */
    'base_url' => env('MEKARISIGN_BASE_URL', 'https://sandbox-api.mekari.com/v2/esign/v1'),

    /**
     * Configuration file for MekariSign integration.
     *
     * This file contains the configuration settings for the MekariSign service.
     *
     * The client ID for the MekariSign service, retrieved from the environment variable 'MEKARISIGN_CLIENT_ID'.
     */
    'client_id' => env('MEKARISIGN_CLIENT_ID'),

    /**
     * The client secret for the MekariSign API.
     *
     * This value is retrieved from the environment configuration using the key 'MEKARISIGN_CLIENT_SECRET'.
     * Ensure that the environment variable is set correctly in your .env file.
     */
    'client_secret' => env('MEKARISIGN_CLIENT_SECRET'),

    /**
     * The client secret for the MekariSign service.
     *
     * This value is retrieved from the environment variable 'MEKARISIGN_CLIENT_SECRET'.
     * It is used to authenticate requests to the MekariSign API.
     *
     */
    'template_id' => env('MEKARISIGN_TEMPLATE_ID'),

    /**
     * Configuration for MekariSign signer name.
     *
     * This value is retrieved from the environment variable 'MEKARISIGN_SIGNER_NAME'.
     * It is used to specify the name of the signer in the MekariSign service.
     *
     */
    'signer_name' => env('MEKARISIGN_SIGNER_NAME'),

    /**
     * The email address of the signer.
     *
     * This configuration option retrieves the signer's email address from the environment
     * variable 'MEKARISIGN_SIGNER_EMAIL'. It is used to identify the signer in the MekariSign
     * service.
     *
     */
    'signer_email' => env('MEKARISIGN_SIGNER_EMAIL'),

    /**
     * The callback URL for MekariSign.
     *
     * This URL is used by MekariSign to send callback requests to your application.
     * The value is retrieved from the environment variable 'MEKARISIGN_CALLBACK_URL'.
     *
     */
    'callback_url' => env('MEKARISIGN_CALLBACK_URL')
];
```

Usage
-----

[](#usage)

see [Mekari Sign Documentation](https://documenter.getpostman.com/view/21582074/2s93K1oecc#5e54a637-aede-40f4-b07e-aa89e9ac146e) for the payloads

```
use Ahmdrv\MekariSign\Facades\MekariSign;
use Ahmdrv\MekariSign\Services\DocumentRequest;
use Ahmdrv\MekariSign\Services\Signer;
use Ahmdrv\MekariSign\Services\Annotation;

$annotation = Annotation::make()
			->setPage(1)
			->setPosition(61, 442)
			->setElementSize(160, 52)
			->setCanvasSize(768, 542);

$signer = Signer::make('Name of the Signer')
    ->setEmail('signer@example.com')
    ->setAnnotation($annotation);

$request = DocumentRequest::make($filename)
    ->setContent($content)
    ->setTemplate($templateId)
    ->addSigner($signer)
    ->toArray();

$response = MekariSign::requestPsreSign($request);

// get document id from response
$docId = $response->getDocumentId();
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Ahmad Rivaldi](https://github.com/ahmadrivaldi-arv)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance72

Regular maintenance activity

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 73% 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 ~39 days

Total

5

Last Release

397d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/45459dfc318e5c14fd9fdbad8221a122a4876ca593f69fc5e13291b3ec6cacfb?d=identicon)[ahmadrivaldi-arv](/maintainers/ahmadrivaldi-arv)

---

Top Contributors

[![ahmadrivaldi-arv](https://avatars.githubusercontent.com/u/61643790?v=4)](https://github.com/ahmadrivaldi-arv "ahmadrivaldi-arv (27 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")

---

Tags

laravelAhmdrvmekarisign

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/ahmadrivaldi-arv-mekarisign/health.svg)

```
[![Health](https://phpackages.com/badges/ahmadrivaldi-arv-mekarisign/health.svg)](https://phpackages.com/packages/ahmadrivaldi-arv-mekarisign)
```

###  Alternatives

[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[spatie/laravel-prometheus

Export Laravel metrics to Prometheus

2651.3M6](/packages/spatie-laravel-prometheus)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[scalar/laravel

Render your OpenAPI-based API reference

6183.9k2](/packages/scalar-laravel)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)

PHPackages © 2026

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