PHPackages                             kadena-php/laravel - 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. kadena-php/laravel

ActiveLibrary[API Development](/categories/api)

kadena-php/laravel
==================

Laravel Client for use with the Kadena Pact API

v0.1.0(3y ago)223MITPHPPHP ^8.1.0

Since Jan 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/kadena-php/laravel)[ Packagist](https://packagist.org/packages/kadena-php/laravel)[ Docs](https://github.com/kadena-php/laravel)[ RSS](/packages/kadena-php-laravel/feed)WikiDiscussions main Synced 1mo ago

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

Kadena Laravel Client
=====================

[](#kadena-laravel-client)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a9ef774db8e2d285c185d3b45cd3f4aad3d7c4d0791fd86779d308c6a5ff2ff5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b6164656e612d7068702f6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kadena-php/laravel)[![Total Downloads](https://camo.githubusercontent.com/dfd8871f4ddfbf65fb555eedbd0fb402a9884dc911d7a16ad1cba56ed0be4a62/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b6164656e612d7068702f6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kadena-php/laravel)

This package includes a simple-to-use client to communicate with the Pact API.

> **Note:** This repository only contains the integration code of the Kadena PHP client for Laravel. If you want to use the Kadena PHP client in a framework-agnostic way, take a look at the kadena-php/client repository.

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

[](#installation)

Via Composer

```
composer require kadena-php/laravel
```

You can configure the Kadena API base URL by configuring your `env`:

```
KADENA_API_BASE_URL=http://localhost:8000
```

Optionally, you can also publish the config file:

```
php artisan vendor:publish --tag=kadena-config
```

Usage
-----

[](#usage)

For usage examples, see the [kadena-php/client](https://github.com/kadena-php/client) repository before starting to use the Laravel integration.

This package contains three convenience Facades. Their usage are largely similar to the classes documented in the client package:

### Client Facade

[](#client-facade)

```
Kadena\Laravel\Facades\Client

```

Usage

```
$response = Client::local($signedCommand);
```

### Command Facade

[](#command-facade)

```
Kadena\Laravel\Facades\Command

```

Usage

```
$command = Command::withExecutePayload($payload)
    ->withMetadata($metadata)
    ->make();
```

To see all options, see the Command Factory documentation in the client repository.

### Metadata Facade

[](#metadata-facade)

```
Kadena\Laravel\Facades\Metadata

```

Usage

```
$metadata = Metadata::make();
```

To see all options, see the Metadata Factory documentation in the client repository. When not specifying any options like the example above, the options set in the `kadena.php` config will be used.

### Config

[](#config)

An example of the default config:

```
return [
    'api' => [
        'base_url' => env('KADENA_API_BASE_URL', 'http://localhost:8888'),
    ],
    'meta' => [
        'ttl' => 7200,
        'gasLimit' => 10000,
        'chainId' => '0',
        'gasPrice' => 1e-8,
        'sender' => ''
    ],
];
```

Change log
----------

[](#change-log)

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

Testing
-------

[](#testing)

```
./vendor/bin/phpunit
```

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

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security-related issues, please send an [email](mailto:hergen.dillema@gmail.com) instead of using the issue tracker.

Credits
-------

[](#credits)

- [Hergen Dillema](https://github.com/hergend)
- [All Contributors](../../contributors)

License
-------

[](#license)

MIT. Please see the [license file](license.md) for more information.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.8% 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 ~1 days

Total

4

Last Release

1225d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/66e3e5ddb7ac36dd1858b7ca40280233c9ecf05b5d0040353af7308c6f482259?d=identicon)[HergenD](/maintainers/HergenD)

---

Top Contributors

[![HergenD](https://avatars.githubusercontent.com/u/32772820?v=4)](https://github.com/HergenD "HergenD (7 commits)")[![leandervdo](https://avatars.githubusercontent.com/u/25489186?v=4)](https://github.com/leandervdo "leandervdo (2 commits)")

---

Tags

kadenakdalaravelpactphplaravelKadena

###  Code Quality

TestsPHPUnit

Code StyleECS

### Embed Badge

![Health badge](/badges/kadena-php-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/kadena-php-laravel/health.svg)](https://phpackages.com/packages/kadena-php-laravel)
```

###  Alternatives

[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k34.0M112](/packages/darkaonline-l5-swagger)[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k12.2M45](/packages/knuckleswtf-scribe)[vemcogroup/laravel-weather

Weather package for Laravel to use different providers to get weather info

5525.0k](/packages/vemcogroup-laravel-weather)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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